Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Upselling Related Products shows productid

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-18-2007, 03:18 PM
 
Thomasb134 Thomasb134 is offline
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 789
 

Default 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?
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
xcartmods reCAPTCHA for X-Cart Classic
Unix, PHP 7.0 (patched 5.4).
MySQL 5.6
Reply With Quote
  #2  
Old 04-18-2007, 03:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Upselling Related Products shows productid

Moving to Template Editing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-25-2007, 06:12 PM
 
LittleLizard LittleLizard is offline
 

Member
  
Join Date: Jun 2007
Location: Atlanta
Posts: 27
 

Default 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.
__________________
www.littlelizard.com
X-Cart version 4.1.8
Reply With Quote
  #4  
Old 07-26-2007, 05:37 AM
 
Thomasb134 Thomasb134 is offline
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 789
 

Default 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.
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
xcartmods reCAPTCHA for X-Cart Classic
Unix, PHP 7.0 (patched 5.4).
MySQL 5.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:02 AM.

   

 
X-Cart forums © 2001-2020