normal add SKU to product page...

More
12 years 2 days ago #899 by funtours funtours
hi I buy the OT KID (very nice).
I need to add the Product SKU to the product page how can I do it? thanks
The following user(s) said Thank You: makcim makcimov

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

More
11 years 10 months ago #1233 by funtours funtours
:( please help

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

More
11 years 10 months ago - 11 years 10 months ago #1234 by Linh Robert
Hi,
sorry I forgot you so long :-)

You can edit file /templates/ot_kid/html/com_virtuemart/productdetails/default.php and find the place where you want to show SKU, for example we put the SKU above the price:
then we find this
Code:
// Product Price if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) { echo $this->loadTemplate('showprices'); }
and put the code to show the SKU, as this:
Code:
// Product SKU echo '<span class="product-sku">' . $this->product->product_sku . '</span>'; // Product Price if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) { echo $this->loadTemplate('showprices'); }

Thanks for using our products!

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
Last edit: 11 years 10 months ago by Linh Robert.

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

More
11 years 10 months ago - 11 years 10 months ago #1236 by funtours funtours
Thanks for the help.
I tried to edit but nothing happend...
Are you sure that this is the code?

EDIT-
I edit the backup file sorry my mistake...its work fine now many Thanks.
geart site, great templates, great prices, great support. :)
Last edit: 11 years 10 months ago by funtours funtours.

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

Time to create page: 0.244 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