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)
-   -   Losing the product code at the checkout? (https://forum.x-cart.com/showthread.php?t=22229)

Grant 06-02-2006 08:35 AM

Losing the product code at the checkout?
 
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:


<A href="product.php?productid={$products[prod_num].productid}" title="{$products[prod_num].product|escape:"html"}{if $products[prod_num].product_options}:
{capture name=po}{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options is_plain='Y'}

balinor 06-02-2006 08:41 AM

Do you mean the cart itself or the cart summary boxes in the checkout screens?

Grant 06-02-2006 08:45 AM

Quote:

Originally Posted by balinor
Do you mean the cart itself or the cart summary boxes in the checkout screens?


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?

Grant 06-02-2006 08:47 AM

In fact thinking about it the customer never needs to see the sku codes at all if that makes things easier?

balinor 06-02-2006 08:55 AM

In cart_contents.tpl, remove the two lines:

<TD>{$lng.lbl_sku}</TD>

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

Grant 06-02-2006 09:00 AM

Nope :(

Gone from the cart everywhere else but still there in the cart at the checkout.

http://www.wyzeshop.com/screenshot11.gif

balinor 06-02-2006 09:05 AM

Oh...that is cart_details.tpl...remove this junk:

{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}.

Grant 06-02-2006 09:10 AM

Quote:

Originally Posted by balinor
Oh...that is cart_details.tpl...remove this junk:

{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}.


Boom!

Thanks bro ;)


All times are GMT -8. The time now is 10:55 AM.

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