Forums / General Questions / 1ea.- appearing in shopping cart side box when I add a product

1ea.- appearing in shopping cart side box when I add a product

Locked

Started by jamesdavid on 4 Jun 2008, 10:30 AM · Views: 10,330

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Jun 2008, 10:30 AM
#1
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

1ea.- appearing in shopping cart side box when I add a product

I have a product called 'Gem Setting Kit'. Its product page looks fine but when I add it to my cart, my shopping cart side box says '1ea.- Gem Setting Kit'.

The '1ea.-' is not a link unlike the 'Gem Setting Kit'.

How can I remove this '1ea.-'?

thanks
james

4 Jun 2008, 11:09 AM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: 1ea.- appearing in shopping cart side box when I add a product

1ea just means 1 each. If you add two of your Gem Setting Kits to the cart, it would say 2ea.

To remove it, find includes/languages/english.php

Override it as includes/languages/your_template/english.php

At around line 111, you should find:

define('BOX_SHOPPING_CART_DIVIDER', 'ea.- ');

Change to something like:

  define('BOX_SHOPPING_CART_DIVIDER', 'x- ');
4 Jun 2008, 11:58 AM
#4
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: 1ea.- appearing in shopping cart side box when I add a product

thanks a lot!

30 May 2009, 12:30 AM
#5
dboulter avatar

dboulter

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: 1ea.- appearing in shopping cart side box when I add a product

Hello

Is there a way to include the image - of the product added to the shopping cart - within the shopping cart sidebox, instead of the name of the product?

I'm running Zen Cart 1.3.8a and the link is http://www.onlyjapkoi.co.uk/store

I imagine its a case of editing the english.php to call the image as opposed to the text!

Any help would be greatly appreciated.

Thanks

Darren

30 May 2009, 8:27 PM
#7
dboulter avatar

dboulter

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: 1ea.- appearing in shopping cart side box when I add a product

Sweet. Thanks Steven300

I went for the image with chckout button just for kicks!

Loving Zen Cart - It just gets better and better :yes:

2 Mar 2010, 5:15 PM
#8
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: 1ea.- appearing in shopping cart side box when I add a product

Steven300:

1ea just means 1 each. If you add two of your Gem Setting Kits to the cart, it would say 2ea.

To remove it, find includes/languages/english.php

Override it as includes/languages/your_template/english.php

At around line 111, you should find:

define('BOX_SHOPPING_CART_DIVIDER', 'ea.- ');

> 
> Change to something like:
> ```php
  define('BOX_SHOPPING_CART_DIVIDER', 'x- ');

This is what I wanted to do also, so thank you! :smile: