Добавить артикул в категориях Virtuemart 2

Артикул в категориях Virtuemart 2

 

 

 сайт\components\com_virtuemart\views\category\tmpl\default.php

Вставляем

 

Код:

Артикул: <?php echo $product->product_sku ?>

 

Перед

 

Код:

<div class="product-price marginbottom12" id="productPrice{php:start} echo $product->virtuemart_product_id {php:end}">
               
               if ($this->show_prices == '1') {
                  if( $product->product_unit && VmConfig::get('vm_price_show_packaging_pricelabel')) {
                     echo "". JText::_('COM_VIRTUEMART_CART_PRICE_PER_UNIT').' ('.$product->product_unit."):";
                  }

Image