"Add to Cart" missing

davidlandy

No avatar

2010-01-31 09:25

Help! I'm new to quick cart and have set up a quick site at www.dreamsyoulive.com, and have a problem: the button for "Add to Cart" doesn't appear next to my product. What am I doing wrong? Happy to supply any further information if needed. I'm using v3.5 and the problem occurs in both FF and IE. I've deleted the Polish language option from my shop - could this be causing the problem? I've chmodded the appropriate folders 777 but might have made some mistakes I suppose... any help would be appreciated! David

» Quick.Cart v3.x

cgan

Avatar: cgan

2010-01-31 11:49

In admin/settings/pages - have you choosed "Page with basket" ?
Cause if you haven't you will not see button "Add to basket"

cgan

davidlandy

No avatar

2010-02-03 01:09

Yes - it says the "Page with basket" is "basket". This is the default setting with the installed site and I haven't changed it. Appreciate the help... Do you have any other ideas?

Makaron

Avatar: Makaron

2010-02-03 17:21

Price which You set in panel admin is not numerical. Block which is loaded is "noPrice".

cgan

Avatar: cgan

2010-02-03 20:08

As Makaron says - just numbers as price no letters. Meaning you can't have €99.00 just 99.00. If you want you can add the letter "€" instead of EUR in admin/settings/options/Currency

cgan

davidlandy

No avatar

2010-02-04 09:04

Bingo! There was a € symbol in the price of my product. When I removed that, the "add to basket" button magically appeared. Thanks for the help, Makaron & cgan!

davidlandy

No avatar

2010-02-04 09:08

By the way - for anyone else reading this - you cannot enter the text "€" in the currency box on the admin|settings|options page; you have to enter the actual euro symbol itself (AltGr-4 on UK keyboards).

(The reason it appears as the HTML entity € in cgan's post and in my previous one is that this forum converts the euro symbol to the code before posting the message.)

But if you enter the euro symbol it works fine.

engai

No avatar

2010-02-04 14:01

I had the same problem, but I had everything set correct (Page with basket and numeric price). After read this forum I again check the price and I find difference between cz-version and other-language-version (en, pl)! I use cz_v3.3 and there is automaticaly added decimal comma place decimal point - it make from number string...

I have found only one solution - overwrite the dots in comma cz_produce.php. But it is overwritten back with each change in the products. Please where can I find the code who adding the dot to price? Thanks

boboo

Avatar: boboo

2010-02-04 14:29

Engai,
the function name is:
normalizePrice
in the core/common.php

daję wędkę, nie rybę.

engai

No avatar

2010-02-09 13:36

Thank you, but this function is correct - return sprintf( '%01.2f', ereg_replace( ',', '.', $fPrice ) ); - it overwrite the comma in dots.. But somewhere it must overwrite back to comma - somewhere where it depend on language.
It is very bizarre, because I add only cz.php, when I add czech language and it couldn't change others php-files. And I don't see anything what relate to decimal dots in the cz.php.
Is it possible, that the error isn't in code, but it is on the part of server or Internet browser?
Thank you for any advice.

Engai

Back to top
about us | contact