X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Upselling Related Products shows productid (https://forum.x-cart.com/showthread.php?t=30534)

Thomasb134 04-18-2007 03:18 PM

Upselling Related Products shows productid
 
The Related Product feature shows what appears to be the items' database productID. This value is not searchable and does not seem to be useful to the customer.

Unless there is a reason for it to be shown, I would like to remove it from the Related Products screen. What would be the best way to do that? Plus, what would I do to have it show the SKU instead?

balinor 04-18-2007 03:25 PM

Re: Upselling Related Products shows productid
 
Moving to Template Editing.

LittleLizard 07-25-2007 06:12 PM

Re: Upselling Related Products shows productid
 
I found part of the answer to the first poster's question:

You need to edit skin1/modules/Upselling_Products/related_products.tpl (or whatever path from the skin you're using).

To remove that ID, just comment out:

<td width="1%">#{$product_links[cat_num].productid}</td>

To replace it with the SKU:

<td width="1%" nowrap="nowrap">SKU: {$product_links[cat_num].productcode}</td>


I'd like to know how to put in a thumbnail instead of that product ID.

Thomasb134 07-26-2007 05:37 AM

Re: Upselling Related Products shows productid
 
Quote:

You need to edit skin1/modules/Upselling_Products/related_products.tpl (or whatever path from the skin you're using).
Thanks! That worked great.


All times are GMT -8. The time now is 02:39 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.