![]() |
Modify Related Products Listing
How do you change the Related Products to show the sku instead of the product id?
Currently it shows something like this under "Related Products": #47 Sample Product A I'd like it to show: <sku number> Sample Product A Any help you can offer would be greatly appreciated. I've hunted through some of the templates, but didn't find anything definitive to change. |
Re: Modify Related Products Listing
In skin1/modules/Upselling_Products/related_products.tpl...
Find <td width="1%">#{$product_links[cat_num].productid}</td> and try replacing with <td width="1%">#{$product.productcode}</td> I haven't tested this but it should give you your sku. |
Re: Modify Related Products Listing
Quote:
I thought that did it, but it's pulling the sku of the main product page and not the related products. I'll play around with it some more. Thanks for pointing out where the file is. |
Re: Modify Related Products Listing
I got it. This will do the trick. Thanks again for your help! :D/
<td width="1%">{$product_links[cat_num].productcode}</td> |
All times are GMT -8. The time now is 11:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.