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)
-   -   sku on checkout page (https://forum.x-cart.com/showthread.php?t=29853)

sparker2 03-20-2007 06:55 PM

sku on checkout page
 
I have searched and searched for hours on how to remove the whole sku number that is being displayed on my checkout page and invoice. I think this sku thing is stupid and I would like to get rid of it. It does not make since to me. I am so frustrated about it. I do not understand why it is there. Please help me remove it from all customer sides of this cart. My customers do not need to get all confused about this sku thing. I have removed it from the details page already. I am stuck on removing it from the checkout and invoice page. Thanks in advance.

balinor 03-21-2007 01:14 AM

Re: sku on checkout page
 
It is there because quite a number of people use it. To remove it, you need to determine which template it is showing in. I would start with customer/main/cart_contents.tpl, as that is usually the one used. Remove these two lines:

<td><b>{$lng.lbl_sku}</b></td>

<td>{$products[prod_num].productcode}</td>

sparker2 03-21-2007 08:45 AM

Re: sku on checkout page
 
I did that and i am still seeing the sku showing up on my checkout pages and invoice. I am looking at it now on Checkout: Step 1 of 2. Thanks for your help in advance.

balinor 03-21-2007 08:50 AM

Re: sku on checkout page
 
Are you using fast lane checkout?

sparker2 03-21-2007 09:02 AM

Re: sku on checkout page
 
no

balinor 03-21-2007 09:09 AM

Re: sku on checkout page
 
Try clearing out your template cache...you might just not be seeing the change.

sparker2 03-21-2007 09:10 AM

Re: sku on checkout page
 
where is the template cache

balinor 03-21-2007 09:12 AM

Re: sku on checkout page
 
Go to your 'Summary - Tools' page in admin. You'll see a Clear templates cache area. Click the 'clear' button.

sparker2 03-21-2007 09:32 AM

Re: sku on checkout page
 
1 Attachment(s)
Ok I cleared the cache and it is still showing up. Look at the image i am sending with this message.

balinor 03-21-2007 09:37 AM

Re: sku on checkout page
 
Ahhh...you are using a different template...that is customer/main/cart_details.tpl. Replace this:

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

with this:

{$products[prod_num].product}


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

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