Zen Cart Logo
Forums / General Questions / price is always zero and other issues (newbie)

price is always zero and other issues (newbie)

Locked

Views: 891

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 May 2008, 11:50 AM
#1
zanzoon avatar

zanzoon

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

price is always zero and other issues (newbie)

Hi,
I'm new to Zencart :clap:
your help would be appreciated
issue1:
I wonder why my prices show as zero all the time...
even though I set the price for the product to be different
I ser the value for the default currency to be 1.0000
the gross and net prices are equal... but the price always shows as zero

issue 2:
when a user adds a product to the shopping cart ... in the box where it says shopping cart the item is displayed like this:
1ea.-item
why does it say 1ea.?

issue 3:
how can I edit the code inside the boxes, meaning for example how can I edit the html of the information box?
thank you

6 May 2008, 12:04 PM
#2
zanzoon avatar

zanzoon

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: price is always zero and other issues (newbie)

ok,
I figured out how to solve issue 2.... it's in the yourlanguage.php file
define('BOX_SHOPPING_CART_DIVIDER', 'ea.- ');
^^^ it's there!!!

6 May 2008, 12:08 PM
#3
steven300 avatar

steven300

Totally Zenned

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

Re: price is always zero and other issues (newbie)

zanzoon:

I wonder why my prices show as zero all the time...

Related FAQ/Tutorial:
https://www.zen-cart.com/tutorials/index.php?article=96

zanzoon:

when a user adds a product to the shopping cart ... in the box where it says shopping cart the item is displayed like this:
1ea.-item
why does it say 1ea.?

Apparently, it means "each". I once had to ask someone to find that out.

To change this, find includes/languages/english.php

If you haven't already, overide it as
includes/languages/your_template/english.php

In the overide file, find.. (around line 111)
define('BOX_SHOPPING_CART_DIVIDER', 'ea.- ');

Change the text in red to whatever you prefer.

I changed mine to..
define('BOX_SHOPPING_CART_DIVIDER', 'x- ');

6 May 2008, 12:31 PM
#4
steven300 avatar

steven300

Totally Zenned

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

Re: price is always zero and other issues (newbie)

zanzoon:

issue 3:
how can I edit the code inside the boxes, meaning for example how can I edit the html of the information box?

You may need to be more specific about issue 3. Are you wanting to change the names of the links?

6 May 2008, 4:56 PM
#5
zanzoon avatar

zanzoon

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: price is always zero and other issues (newbie)

thaaaaaaaaaaaanks a lot !
about point 3, forget it.... i needed to edit the boxes so that everything is in right alignment (my site is Arabic). solved it with css editing...
thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks :)