Welcome, Guest
Username: Password: Remember me

TOPIC: Product SKU in the category page

Product SKU in the category page 2 years 11 months ago #6689

  • aragraf
  • aragraf's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi. I want to add product SKU in the category page and i want that it shows during hover.
Help please. It's very urgently.
Thanks in advance.
The administrator has disabled public write access.

Re: Product SKU in the category page 2 years 11 months ago #6692

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You should edit file templates/ot_jewelry/html/com_virtuemart/category/default.php

and find this line(around line 255)
<?php echo JHTML::link ($product->link, $product->product_name); ?>

and add this code as below
<?php echo JHTML::link ($product->link, $product->product_name); ?>
<?php echo '<p>Product Sku: '.$product->product_sku.'</p>'; ?>
The administrator has disabled public write access.
Time to create page: 0.174 seconds