| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Losing the product code at the checkout? | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
How do I get rid of the product codes so it just displays the product titles in the cart at the checkout?
I know it's in cart_details.tpl but which part of the code do I need to either remove / comment out? I'm guessing it's in here somewhere right? Quote:
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
#2
|
|||||||
|
|||||||
|
Do you mean the cart itself or the cart summary boxes in the checkout screens?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Quote:
In the cart itself on the last page of the checkout. I'm a little confused by what you mean by summary boxes? Whatever I'm on about it's the last time when you see your cart before you pay. If that makes sense?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
#4
|
|||||||
|
|||||||
|
In fact thinking about it the customer never needs to see the sku codes at all if that makes things easier?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
#5
|
|||||||
|
|||||||
|
In cart_contents.tpl, remove the two lines:
<TD>{$lng.lbl_sku}</TD> <TD>{$products[prod_num].productcode}</TD>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
Nope
Gone from the cart everywhere else but still there in the cart at the checkout. http://www.wyzeshop.com/screenshot11.gif
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
#7
|
|||||||
|
|||||||
|
Oh...that is cart_details.tpl...remove this junk:
{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#8
|
|||||||
|
|||||||
|
Quote:
Boom! Thanks bro
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||