normal Product SKU in the category page

More
10 years 3 months ago #6689 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.

Please Log in or Create an account to join the conversation.

More

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
Hello,

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]

[img]...[/img]

Please Log in or Create an account to join the conversation.

Time to create page: 0.259 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam