Re: Dynamic Price Updater
Hi Chrome, there's an option in CEON to add an exception for a file which I did for dpu_Ajax.php.
Just come across another problem I think you can help with. I've installed http://www.zen-cart.com/index.php?ma...roducts_id=994 'Attribute image replaces main product image on selecting attribute'
The problem is this is using Ajax to replace the image which is conflicting with the DPU script, when the page is loading both the attribute can be selected replacing the main image, and the price updates, but once the age loads only the price update?
Any thoughts?
Thanks
Re: Dynamic Price Updater
Hi Chrome, I installed the mod succesfully, it work great but with one problem...
The decimal in the price are wrong... Let me explain, an item has a price of 2.40€ (2.00+Vat 20%), when i load the product page it shows rigt but after a sec it change from 2.40 to 2.42..
It's a very little difference but it's annoying.
I'm trying to fix it meanwhile if you have suggestion will be appreciated..
p.s. Zencart last versione
Php 5.x
For now the mod is not on a live server, just testing on local so i cannot link it.
Re: Dynamic Price Updater
Hi
Bigsy: This is one of the issues I'm trying to fix... There seems to be an issue with the Ajax object... I'm getting to it (need my test site back up and running first)
Izar: What value do you get if you add the item to your basket?
Cheers
Dan
Re: Dynamic Price Updater
The right one Chrome, the basker work perfectly.
I've upload the mod on live server, here the link
http://www.laviadellincenso.it/comme...=0&language=en
The right price are 2.40, and each attributes add a rouded value so i dont' know where the decimal came from...
Until now i didn't find any clue...
Re: Dynamic Price Updater
Hi
Hmm, that's an odd one... It does look like a rounding error but the Updater uses the basket code to generate the prices... I'll take a look into it on my server when it's up and running (not long now I hope)
Dan
Re: Dynamic Price Updater
Hmmm i'll take a look to the basket also, just a note, may it have something to do with the currency used? Or with the vat?
It' strange because the original value is rounded, 2,00 and it apply a vat of 20% so the result is yet rouded 2,40.
That 0,02 came from nowhere...
Still searching ;-)
Re: Dynamic Price Updater
Hi
Looking at other products it appears to be adding 0,01EUR per 1,00EUR (or there abouts)... Very odd... Again, it could be rounding
I can't look at the script at all for the moment but I will when I get home... Need to check a few things
Dan
Re: Dynamic Price Updater
Thank You a lot Chrome, hope to solve this soon :-)
Re: Dynamic Price Updater
Yup, looking forward to it!:wink:
Re: Dynamic Price Updater
Hi again, here some conclusions i got, unfortunatly i'm not good with java so i've not be able to spot the problem...
1. It add a 0,01 for every 1,00 (1,00 will became 1,01 - 5,00 will become 5,05...)
2. It doesn't effect the cart process, if you add product in the cart the price are right and all is fine.
3. Maybe the problem is in the jscript_ajax_updater.php
4. I try it on Mysql 4.x and 5.x with same results.
5. It effect only the product page. (Think because the module just work with it...)
no other hints at the moment :-(