![]() |
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.
|
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> |
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.
|
Re: sku on checkout page
Are you using fast lane checkout?
|
Re: sku on checkout page
no
|
Re: sku on checkout page
Try clearing out your template cache...you might just not be seeing the change.
|
Re: sku on checkout page
where is the template cache
|
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.
|
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.
|
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} |
Re: sku on checkout page
1 Attachment(s)
Thank you that worked. I knew it could be done. I am so proud of x-cart once again. How do I change the logo on the invoice though. It says Company Name and it is in red. I thought my logo that is on my home page would be on the invoice as well but I was wrong. Look at the picture!
|
Re: sku on checkout page
Yep, that is companyname_small.gif. Just upload a new version to skin1/images and overwrite that one.
|
Re: sku on checkout page
1 Attachment(s)
Balinor, thank you for that. How do I move everything up on the invoice. There is a hugh space at the top of the page. Look at image.
|
Re: sku on checkout page
The invoice template is skin1/mail/html/order_invoice.tpl. Take a look and see if there is anything that would be causing that.
|
Re: sku on checkout page
No I did not see anything that could cause that
|
Re: sku on checkout page
1 Attachment(s)
I also notice that after all that I have done to remove the sku from all other pages it is showing up on the invoice page. Look at the picture included.
|
Re: sku on checkout page
Shareen, please don't double post...you have already asked the question here. Did you try editing the template I suggested?
|
Re: sku on checkout page
what do you mean by double post. i do not recall double posting.
|
Re: sku on checkout page
you helped me remove the sku from the checkout not the invoice. this is different
|
Re: sku on checkout page
Quote:
No need to post another thread about it when you already asked it here is what I mean. |
Re: sku on checkout page
Sorry for the double post but can you please help me remove the sku from the invoice please
|
Re: sku on checkout page
The template you want to look at is skin1/mail/html/order_data.tpl
|
Re: sku on checkout page
thank you for your help but I do not see this line of code that you told me to look for before in this order_data.tpl. Am I looking for something else because you were not to clear. Thanks in advance for all your help.
{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. {$products[prod_num].product|truncate:"30":"...":true} |
Re: sku on checkout page
Don't worry about this, I fixed it by taking a chance with dreamweaver. I opened it up and removed the sku from the template. thanks anyway for all you help.
|
Re: sku on checkout page
Yes, Dreamweaver is very handy for finding things in the table structure of templates. Just be careful with it, as it can't read Smarty and you stand a good chance of botching up your templates if you edit with it.
|
Re: sku on checkout page
Does this code change to the cart_contents.tpl work for version 4.1.4? I thought I would have a go at doing it myself, but nothing happened.
|
Re: sku on checkout page
Yes, should be exactly the same. Did you read the whole thread? You may be using cart_details.tpl.
|
All times are GMT -8. The time now is 04:17 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.