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

Remove SKU from checkout pages

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

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default Remove SKU from checkout pages

Hello,

I'd like to remove the SKU that is displayed along with the name for each product during the checkout process. Since I don't mention the SKU any other place on the site I think it will confuse customers.

Anyone know how to do this?

Thanks,
Jennifer
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold Version 4.1.9
Reply With Quote
  #2  
Old 03-14-2005, 08:24 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

Hi Jennifer,

Start with skin1/customer/main/cart_totals.tpl

Look for something like this:
Code:
<TD>{$lng.lbl_sku}</TD>

If you don't want the SKU label heading to appear, then either replace {$lng.lbl_sku} with a or delete that line completely.

Then a little further on in the same file look for:
Code:
<TD>{$products[prod_num].productcode}</TD>

Again as above either replace {$products[prod_num].productcode} with a or delete that line completely.

Note: if you choose to delete on either one, you must do it in both places, otherwise your table/cart columns will not align correctly.
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 03-15-2005, 05:43 AM
 
jkirkpatrick jkirkpatrick is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default

Hello,

I copied cart_totals.tpl in to Word and did a search and no where in that document is anything to do with the SKU. I think I may have already removed it from there.

Where I'm having a problem getting rid of it is in the summary at the top of the checkout pages. It has the SKU and the product name together with a period in between them. They're both hyperlinked to the product listing.

Based on my playing around I'm pretty sure the answer lies in this code:


Is that possible? Does anyone know how to remove the SKU from above?

Thanks,
Jennifer
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold Version 4.1.9
Reply With Quote
  #4  
Old 05-06-2005, 11:15 AM
 
tecdady tecdady is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 61
 

Default

hooter, not sure if you had the wrong template or if they have changed it for the new version, but you advice is correct, its just that you will find these lines of code in the cart_contents.tpl

chris
__________________
Version 3.4.3
Reply With Quote
  #5  
Old 05-11-2005, 02:20 AM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Jennifer,

Yes, you are right:

customer/main/cart_details.tpl

Replace:
Code:
{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. {$products[prod_num].product|truncate:"30":"...":true}

With this:
Code:
{$products[prod_num].product|truncate:"30":"...":true}
__________________
4.1.9
Reply With Quote
  #6  
Old 06-12-2005, 05:16 AM
 
virtualdynamix virtualdynamix is offline
 

Newbie
  
Join Date: Jun 2003
Posts: 8
 

Default

@mffowler,

I'm not sure if your code worked properly for Jennifer, but it worked perfectly for me. Thank you very much.

After doing this, I realized there was a good reason for me to show the SKU after I added more products. Is there a good way to show:

SKU | Manufacturer | Product Name

?

Thanks again.

Virtual Dynamix
X-Cart 4.0.13
Reply With Quote
  #7  
Old 06-15-2005, 01:36 PM
 
Realsecurity Realsecurity is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Bexhill
Posts: 128
 

Default How to remove the SKU site wide and replace withProduct code

Anyone know if this is possible to change the text SKU to Product code or Order code as the Work SKU doesnt ring any bells for me let alone the visitors to the site.....i would like to change this text SITE WIDE.....

any suggestions would be very greatfull.

many thanks


Realsecurity

X-cart V 4.0.12
__________________
SURECOM XCART V4.1.8
Reply With Quote
  #8  
Old 06-15-2005, 02:05 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

Cart Admin -> Languages -> pick your language to edit -> select labels as topic -> use "sku" as filter -> edit to suit your needs
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #9  
Old 07-12-2005, 10:12 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Quote:
Originally Posted by mffowler
Jennifer,

Yes, you are right:

customer/main/cart_details.tpl

Replace:
Code:
{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. {$products[prod_num].product|truncate:"30":"...":true}

With this:
Code:
{$products[prod_num].product|truncate:"30":"...":true}

Just wanted to say thank you, works like a charm.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:46 PM.

   

 
X-Cart forums © 2001-2020