News:

Looking for documentation? Take a look on our wiki

Main Menu

display product_sku on browse and product details pages

Started by ezynet, December 13, 2015, 21:47:27 PM

Previous topic - Next topic

ezynet

I would like to display the product_sku on the browse and product details pages.  I have searched through these forums and all the variations i have found don't work for my installation of virtuemart.  I am using Joomla 3.4.5 with Virtuemart 3.0.12 and the template I am using is Protostar. Can someone please give me some clear instructions as to what code goes where and in what directory, document etc.  Thank you in advance.

GJC Web Design

on details-> components\com_virtuemart\views\category\tmpl\default.php

echo $this->product->product_sku;

on category products

components\com_virtuemart\sublayouts\products.php

echo $product->product_sku;

over ride both or do in your over rides if present

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