Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Shopping Cart sidebox

Shopping Cart sidebox

Locked

Views: 2,253

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Jul 2006, 11:27 PM
#1
greatbaits1 avatar

greatbaits1

New Zenner

Join Date:
May 2006
Posts:
90
Plugin Contributions:
0

Shopping Cart sidebox

Hi All

My shopping cart sidebox is working fine, it displays the quantity of product but to the right it also displays -ea. ????

So in the shopping cart sidebox it will say

1 ea. - Product name

how do i remove the ea. ??

Thanks in advance https://www.greatbaits.co.uk for a look!

Have looked around on the forum and cant seem to find anything about it, obviously if I have missed anything obvious (probable!) then a gentle shove in the direction of the tutorial will be equally appreciated

13 Jul 2006, 12:51 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping Cart sidebox

If you do a search in the Admin ... Tools ... Developer's Tool Kit ...

Bottom input box for:> /includes/languages/english.php

Line #110 : define('BOX_SHOPPING_CART_DIVIDER', 'ea.- ');

Then do a search on the define constant: BOX_SHOPPING_CART_DIVIDER

You will find:

/includes/templates/template_default/sideboxes/tpl_shopping_cart.php

Line #25 : $content .= $products[$i]['quantity'] . BOX_SHOPPING_CART_DIVIDER . '</span><a href="' . zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']) . '">';

So you can change the language define for the BOX_SHOPPING_CART_DIVIDER to what value you would like to see ... using your templates and overrides ...

13 Jul 2006, 2:52 PM
#3
greatbaits1 avatar

greatbaits1

New Zenner

Join Date:
May 2006
Posts:
90
Plugin Contributions:
0

Re: Shopping Cart sidebox

thanks for the help, problem solved

:thumbsup: