Re: Dynamic Price Updater
Dan!
I think I have an idea... ;)
Wold it be possible to combine your mode with this mod: http://www.zen-cart.com/forum/showthread.php?t=60112
?
I think the option I'm doing via http://DynamicConverter.com/ wil not work due to the fact that it need the source to contain the real value like EUR 100.00 and not EUR $OrderTotal
What do you think?
Frans
Re: Dynamic Price Updater
Hi all
Spirit, sorry for taking so long.. I've taken a quick look at your PM and I'm trying to get some time aside to have a crack at it
Frans, I've taken a look at the Dynamic Converter as it is running on your site and there is quite a bit to it... Unfortunately the JS code is minified (or otherwise encoded) so I can't read it directly... I do know that it's using a method to attach remote JS scripts to the page DOM; I don't know what these scripts do but there must be a method somewhere that the Updater can call to get the updated values
While I look into Spirit's issue I'll also put some more research into this and maybe contact the devs of Dynamic Converter as they have some cool stuff going on there and might agree to help me out
Watch this space!
Dan
Re: Dynamic Price Updater
Hey all
Frans, I have completely misunderstood your post... That'll teach me to reply on the forum after 20 hours of coding o_O
What I shall do now is research the dual pricing instead as that's the one you actually asked me to look at... Sorry about that
Cheers
Dan
Re: Dynamic Price Updater
hi Dan!
Thanks for doing that! I think dual pricing would be perfect as long as one could change the conversion(aka currency) for the dual pricing ;)
No worries on the replies after 20 hour coding.. you better get a rest and enjoy the summer as well.. Just like me currently doing that in England :)
Cheers,
Frans
Re: Dynamic Price Updater
Hey Frans
I've had a look through the dual pricing code and to be honest it doesn't look too tricky... I'm just working on some switches and a bit of code design and I'll post an update here for testing before applying it officially
As it's Saturday and pretty much the only time I don't work I'll try to get it done tonight... Bear in mind, though, that it is Saturday and I may get visitors
If I don't get it sorted tonight then it will be over the next couple of days... I've prioritised faults in order of how difficult that are to fix in ascending order so I will get to Spirit's problem next
News as I have it
Dan
P.S. The weather in England and Wales has been pretty bad the past few days and I've been quite glad I've not had the opportunity to venture out :wink:... Enjoy your time in England! :smile:
Re: Dynamic Price Updater
Thank you Mr Chrome...
let me know if you come up with a solution.
Thank you!
Re: Dynamic Price Updater
Hello everybody!!! I am new to zen cart. I have installed the dynamic price updater which is a very helpful app but there is a little problem. When it calculates the price it gives a result of 1% more than it should be. Does anybody know what happens? You can see it in the following link: http://www.vapepal.gr/index.php?main...products_id=33
Any help would be appreciated.
Thank you in advance,
George.
Re: Dynamic Price Updater
Hello and thanks for this great addon! I just updated to the latest version to fix some problems with sales and onetime charges.
Now DPU v2.0a (2.0.1) calculates all prices 1% too high, even the base price. All prices become correct, when added to cart. Do you have any ides how to fix this? I would appreciate your help a lot! :)
With the old version everything worked great, except when there was onetime charges included in the products - the price wasn't calculated at all. I would appreciate your help in this too, if you can help.
Re: Dynamic Price Updater
Hi Dan!
Not moaning! Just wondering if you have an update on the dual pricing?
Just curious!
Frans
Re: Dynamic Price Updater
This mod works fabulously on items that are priced by attribute (base prices are all $0) but on my items that are not priced by attribute (they don't even have any attributes), the displayed price is incorrect (it looks like the DPU is pulling prices from the upsell sidebox and recently viewed mod).
To correct this, I have been trying to add an if statement to jscript_ajax_updater.php to keep the DPU from loading on items that have a base price of more than $0, but have thus far been unsuccessful (obviously or I wouldn't be bugging you :smile:).
The most logical if statement for me to use (I think) would be something like
PHP Code:
$pibp = zen_get_products_base_price($pid);
if ($pibp > 0) $load = false;
but it isn't working - the script is still loading on my products that have a base price of more than $0.
Help please? Thanks in advance.