SKU code in the categories

Hello,

It is possible that you are not putting the code in the correct file or, even if it is the correct file, you are not putting the code in the right place.

First, you would need to determine if the Joomla template you are using is adding its own Virtuemart templates. To find this out, go to templates/electronica_jamer/html and check if there is a directory named com_virtuemart. If so, check if there is another directory named productdetails inside. In that case, you’ll need to edit the default.php file here. Otherwise the file to edit would be components/com_virtuemart/views/productdetails/tmpl/default.php

In the file to be modified, look for a code of the type

// Product Price if ($this->show_prices and (empty($this->product->images) or $this->product->images->file_is_downloadable == 0)) { echo $this->loadTemplate(‘ showprices’); }

It doesn’t have to be this exactly because it may depend on the version of Virtuemart and the template you are using.

Just before this code you can put something like the following:

echo ‘Reference’.$this->product->product_sku;

AnswerQuote

Answered : 06/08/2012 2:02 pm

See also  I can't add the Packlink Pro module in the Tran...
Loading Facebook Comments ...
Loading Disqus Comments ...