Hi all
I apologise for the absolutely massive wait but I've finally got a completely new version of the Updater: version 2... I've completely rewritten it from the ground up... Here are a few features:
- Smaller, more reliable JS core: less is output to the browser minising page load and the new object detection routines are more reliable
- More accurate: the Updater now relies on object overriding and uses the Zen Cart classes to get answers
- Uses currency symbols based on the current user's selection (or, it should)
- Sales and discounts are now completely handled
- Enhanced developmental extensibility
There are other good bits too but they're mostly development stuff... There are a couple of cons tho:
- Uses Ajax: may be a tiny bit slower to update prices (but should be negligable really)
- Needs PHP5 (but I can create a PHP4 compatible version if anyone needs it)
- Now consists of 3 files (not that large and zipped in their structure)
- No sidebox support (yet, this is in the pipeline)
Oh I'd like to thank web28 for the idea of not loading the Updater unless it's needed (web28: I hope you don't mind that I used the idea)
Anyway the file is located at the link in my signature or in the following attachment
I hope this version goes well but please remember it is a first version so please post any issues here
Cheers
Dan
D'oh! I'm an idiot... I included the wrong file in the last post! It's late...
Anyway new attachment on this one (and the latest update is always in my sig)
Please don't use the post above!
Cheers
Dan
Last edited by Chrome; 20 Aug 2009 at 01:17 AM. Reason: Forgot to attach the file!
Hi Dan,
Thanks for the continuing work! I just uploaded the new files and deleted the old updater file and it doesn't do anything to the price now.
The readme says:
includes/classes/dynamic_price_updater.php - This file has settings that should not have to be changed although if the price doesn't update you might want to check the DPU_PRICE_ELEMENT_ID setting as if your template has the price in an element (e.g. div) with a different ID this setting needs altering
The define for DPU_PRICE_ELEMENT_ID is in the jscript_ajax_updater.php file and not the class file. But, it has the correct ID for the price element so that isn't the problem.
What do I need to do to debug and figure out what is happening?
Thanks!
Matt
Hi Matt
Thanks for the correction I'll get it changed
Can you send me a link to where the Updater isn't working?
Thanks for helping me test this version too
Dan
Hi all
Just a note: please only download the Updater v2 from my signature... The attachments above have some issues
Cheers
Dan
Thought I was being a user, as I couldn't get this to work ...
Then I re-read things and saw the php 5.x ... kind of would be nice to have a version for php 4.x, should you be so inclined ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi Ajeh
As it's been asked for I'll prep up a PHP4 tonight (hopefully with release)!... Watch this space!
Cheers
Dan
Hi
My sig now contains a link for a PHP4 version of the Updater (I had to put it all on one line, I hope it's understandable)
On PHP5 either version should work the same but only use the PHP4 version on PHP4
Any problems please let me know here!
Cheers
Dan
Maybe someone else can test the php4 version ... I cannot get it to work on php4 or on php5 ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks