Re: Dynamic Price Updater
Quote:
Originally Posted by
Chrome
Hi all
countrycharm, I've had to re-appraise myself of the MSRP situation and to be honest the last mention of it was c.2008... That means it was an issue that affected V1... Have you tried V2? If this doesn't work for you please provide complete details to refresh my memory (I do apologise for asking for this, I'm sure you are busy too)
I am dedicated to fixing all of the problems with the Updater
Frans, yes, Colchester is nice... Midnight is early! Besides, I have very little spare time and I like to support the Updater :smile:... Other than that, my part of the UK is as expected: Windy, cloudy and loud :lol:
Give me a list of what needs sorting and I'll get to it
Dan
Quote:
countrycharm, I've had to re-appraise myself of the MSRP situation and to be honest the last mention of it was c.2008... That means it was an issue that affected V1... Have you tried V2? If this doesn't work for you please provide complete details to refresh my memory (I do apologise for asking for this, I'm sure you are busy too)
Yes I have installed the latest version you just release. You can take a look at what it is doing at my product info page here. Watch my MSRP disappear. Thank You in advance for helping.
Re: Dynamic Price Updater
Hi
Ah, yes... I remember the MSRP issue now... Right, as I see it I have 3 definite tasks for v2.03... They are:
- MSRP issue
- Dual-pricing support
- Information for Who's Online
I'll get to work on these ASAP... If there is anything I've missed or if anyone wants to add anything please let me know
I'm going to alter the Zen Cart page on my site to track versions, detail current tasks and provide test versions... I'll post an update here when that is done
Cheers
Dan
Re: Dynamic Price Updater
Quote:
Originally Posted by
Chrome
Hi
Ah, yes... I remember the MSRP issue now... Right, as I see it I have 3 definite tasks for v2.03... They are:
- MSRP issue
- Dual-pricing support
- Information for Who's Online
I'll get to work on these ASAP... If there is anything I've missed or if anyone wants to add anything please let me know
I'm going to alter the Zen Cart page on my site to track versions, detail current tasks and provide test versions... I'll post an update here when that is done
Cheers
Dan
Thank You very much in advance for you time and hard work.
Re: Dynamic Price Updater
Hi
Right, I have the first test install... I've addressed MSRP first as it is the oldest problem... This may have been a mistake because it's a tricky swine! :lol:
This version should
- Update the price and leave the MSRP structure intact
- Update the 'You save' price
- Update the 'You save' percentage
Also this version should be compatible with the normal products and sales etc. and make all the necessary decisions without any other changes or input
I've highlighted the word 'should' because my testing platform is pretty narrow... Also my testing time is quite tight... Add to this that the more complicated the Updater gets the more it seems to be plotting against me
I would be most grateful if anyone could try the new version[1] and let me know what happens
Cheers!
Dan
[1]MSRP-compatible test Updater
Re: Dynamic Price Updater
Hi
Update: the above download link should also now incorporate the 'Who's Online' feature (to at least show the product the visitor is viewing)
Thanks to everyone that tests! :smile:
Dan
Re: Dynamic Price Updater
Quote:
Originally Posted by
Chrome
Hi
Right, I have the first test install... I've addressed MSRP first as it is the oldest problem... This may have been a mistake because it's a tricky swine! :lol:
This version
should
- Update the price and leave the MSRP structure intact
- Update the 'You save' price
- Update the 'You save' percentage
Also this version
should be compatible with the normal products and sales etc. and make all the necessary decisions without any other changes or input
I've highlighted the word 'should' because my testing platform is pretty narrow... Also my testing time is quite tight... Add to this that the more complicated the Updater gets the more it seems to be plotting against me
I would be most grateful if anyone could try the new version[1] and let me know what happens
Cheers!
Dan
[1]
MSRP-compatible test Updater
Hi Chrome everything looks good except it has double prices now. You can take a look at it here. Thanks again.
Re: Dynamic Price Updater
Hi countrycharm
Try this: find line #36 in /includes/modules/pages/product_info/jscript_ajax_updater.php
Code:
var _secondPrice = 'cartAdd';
And change it to:
Code:
var _secondPrice = false;
Let me know how it goes :smile:
Dan
Re: Dynamic Price Updater
Quote:
Originally Posted by
Chrome
Hi countrycharm
Try this: find line #36 in /includes/modules/pages/product_info/jscript_ajax_updater.php
Code:
var _secondPrice = 'cartAdd';
And change it to:
Code:
var _secondPrice = false;
Let me know how it goes :smile:
Dan
Dan it works great now. There is just one problem. I'm getting a lot of error myDEBUG in my cache folder. This is what it says.
Quote:
[27-Oct-2011 20:17:10] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/content/x/x/x/xxxxxxxxxxx/html/includes/classes/dynamic_price_updater.php on line 209
[27-Oct-2011 20:17:10] PHP Warning: Variable passed to each() is not an array or object in /home/content/x/x/x/xxxxxxxxxx/html/includes/classes/dynamic_price_updater.php on line 210
Quote:
[27-Oct-2011 20:15:52] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/content/x/x/x/xxxxxxxxxxx/html/includes/classes/dynamic_price_updater.php on line 209
[27-Oct-2011 20:15:52] PHP Warning: Variable passed to each() is not an array or object in /home/content/x/x/x/xxxxxxxxxx/html/includes/classes/dynamic_price_updater.php on line 210
[27-Oct-2011 20:15:52] PHP Warning: Division by zero in /home/content/x/x/x/xxxxxxxxxxxx/html/includes/classes/dynamic_price_updater.php on line 117
I have no idea what the errors are.
Re: Dynamic Price Updater
Hi countrycharm
I know what the errors are but I'm working on how to solve them
They should be innocuous, but I will get them sorted
Thanks!
Dan
Re: Dynamic Price Updater
I don't know what you did to the last version of DPP but it's working again on my site! :clap:
Sorry to add to your workload.
I am still having a problem with items that do not have a base price of $0 generating incorrect prices. I noticed that you tweaked the jscript_ajax_updater.php file to try to stop it from happening and I also tried the suggestion you made a few posts back and changed
PHP Code:
if (empty($pidp)) $load = false;
to
PHP Code:
if ((float)$pibp > 0) $load = false;
(after the first statement didn't work, of course) but the wrong price is still showing.
I tried turning off the featured products column that's active on the product info pages without attributes and it works perfectly.
If you get around to it, I would really appreciate any suggestions of how to modify the code so I can get this to work on all of my product info pages.
Thanks in advance!