News:

Looking for documentation? Take a look on our wiki

Main Menu

Need help - Adding SKU to category page

Started by Krystopher Larouche, August 26, 2015, 01:12:12 AM

Previous topic - Next topic

Krystopher Larouche

Hi ,

I'm trying to add SKU after product name or before pricing ...

It need to be similair as this :




Thank you

GJC Web Design

make an over ride for your templates\YOUR_TEMPLATE\html\com_virtuemart\sublayouts\products.php

add
<?php // Product Sku
                    if (!empty($product->product_sku)) { ?>

                        <p class="product_sku">
                     <?php echo $product->product_sku; ?>
                     </p>

                        <?php } ?>

where ever u require it
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation