- Posts: 4
- Thank you received: 0
Product SKU in the category page
- Ara Podosyan
- Topic Author
- Offline
- Fresh Boarder
Less
More
10 years 3 months ago #6689
by Ara Podosyan
Product SKU in the category page was created by Ara Podosyan
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.
Help please. It's very urgently.
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Trung Duong
- Offline
- Administrator
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
10 years 3 months ago #6692 by Trung Duong
Replied by Trung Duong on topic Re: Product SKU in the category page
Hello,
You should edit file templates/ot_jewelry/html/com_virtuemart/category/default.php
and find this line(around line 255)
and add this code as below
You should edit file templates/ot_jewelry/html/com_virtuemart/category/default.php
and find this line(around line 255)
Code:
<?php echo JHTML::link ($product->link, $product->product_name); ?>
and add this code as below
Code:
<?php echo JHTML::link ($product->link, $product->product_name); ?>
<?php echo '<p>Product Sku: '.$product->product_sku.'</p>'; ?>
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
Time to create page: 0.259 seconds