News:

AbanteCart v1.4.2 is released.

Main Menu
support

Price show problem

Started by ewgeny, April 07, 2015, 02:06:06 AM

Previous topic - Next topic

ewgeny

Hi, I have strange problem with prices. I create a custom listing, and I add some products. for ex. if the price of the product is 123.00 E, it's OK. But if it's a 1,234.00E, in custom list shows 1E. If it's 2,345.00 shows the "2" - 2 E. Same products in feature list if I add, evrything is OK. I think the problem is somewhere in "listing_block.php" to "preg_match" (line 354) and something with "," character. PS: Sorry for my English.

Basara


ewgeny

No, no. The problem is if the price is more than 1000 , the system makes it look 1,000 . The problem is the comma. If the price is more than 999, there is a comma like 1,234 and in custom listing shows the numbers only before the comma. Ex. if the price is 45,678E, it will show 45E. Same product in feautured listing is fine.

Basara

What is your base currency?

ewgeny

"лв." , in cyrilic. This is BGN

ewgeny

if is "лв" before the price, it's seems OK, but if it's in right position, makes this problem.

Basara

Quote from: ewgeny on April 07, 2015, 06:46:00 AM
No, no. The problem is if the price is more than 1000 , the system makes it look 1,000 . The problem is the comma. If the price is more than 999, there is a comma like 1,234 and in custom listing shows the numbers only before the comma. Ex. if the price is 45,678E, it will show 45E. Same product in feautured listing is fine.

Check your currency Decimal Places setting. Set it to  2

ewgeny

There wasn't effect. web address is b-clima<dot>com
On homepage, in right comuln, first block is "Актуални", this is renamed "futured product" and It's OK
Second block is custom, with "block wrapper (appearance)" set to automatic - price problem, but links are OK.
And the third block is with "block wrapper (appearance)" set to "listing block column left", the price is OK, but the links to the products are not working.

Those last two blocks issues, changes when I change "block wrapper (appearance)". I'm exausted. Can someone help?

Basara

Hello, ewgeny

Can you please post what is your AbanteCart version and more details about this blocks?
Looks like you have Data Listing blocks - what is Listing Data Source? I mean special products or custom products?

oliver

i have the same problem with this custom "Custom Listing block" and it seems there is no fix for it http://forum.abantecart.com/index.php/topic,3193.0.html

and here http://forum.abantecart.com/index.php/topic,3142.0.html

Basara

Hi, oliver issues mentioned in your post marked as fixed. see https://github.com/abantecart/abantecart-src/issues/62

Let me recheck fix in 1.2.1

oliver

Quote from: Basara on April 27, 2015, 06:23:10 AM
Hi, oliver issues mentioned in your post marked as fixed. see https://github.com/abantecart/abantecart-src/issues/62

Let me recheck fix in 1.2.1

so i need to upgrade to 1.2.1 and then i need to fix it on the script  and it will work > right ? or is it already fixed in 1.2.1 ?

Basara

Quote from: oliver on April 27, 2015, 07:21:27 AM
so i need to upgrade to 1.2.1 and then i need to fix it on the script  and it will work > right ? or is it already fixed in 1.2.1 ?

Please wait. I want to replicate issue with broken links. Waiting for details from ewgeny
Once issues will be fixed we will update this topic

oliver


ewgeny

Thank You Basara for Your replay. I think I can't understand Your question enough well. Is it fine for You, if I give You full access to the web site to look and test? How will be the easiest way for You? My version is 1.2.1

Forum Rules Code of conduct
AbanteCart.com 2010 -