Zen Cart Logo
Forums / All Other Contributions/Addons / Dynamic Price Updater

Dynamic Price Updater

Views: 342,268

Results 421 to 440 of 1,701
19 Aug 2009, 7:30 PM
#421
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Dynamic Price Updater

web28:

All problems are solved, the updater worked flawlessly.

Web28

Hooray to Web28 :hug: for all of his help! I did not have the files complete as I should have. :lamo:

Web28 fixed the issues. Thanks to all who were eager to help!!

Pkat :clap:

19 Aug 2009, 11:59 PM
#422
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

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

20 Aug 2009, 12:15 AM
#423
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

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

20 Aug 2009, 1:57 AM
#424
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Dynamic Price Updater

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

20 Aug 2009, 2:00 AM
#425
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Matt

Thanks for the correction I'll get it changed :smile:

Can you send me a link to where the Updater isn't working?

Thanks for helping me test this version too :smile:

Dan

20 Aug 2009, 3:10 AM
#426
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi all

Just a note: please only download the Updater v2 from my signature... The attachments above have some issues

Cheers

Dan

20 Aug 2009, 3:48 AM
#427
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Dynamic Price Updater

Thought I was being a user, as I couldn't get this to work ... :blink:

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 ... :cool:

20 Aug 2009, 8:13 AM
#428
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Ajeh

As it's been asked for I'll prep up a PHP4 tonight (hopefully with release)!... Watch this space!

Cheers

Dan

20 Aug 2009, 8:34 AM
#429
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

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

20 Aug 2009, 1:38 PM
#430
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Dynamic Price Updater

Maybe someone else can test the php4 version ... I cannot get it to work on php4 or on php5 ... :unsure:

20 Aug 2009, 1:44 PM
#431
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

If someone could help out with some testing I'd be very grateful... I only have the one site I can play with (my test site) and that's running on PHP 5.2.2 and all seems well there

Although, Ajeh, if you could provide me a URL I might be able to figure out what's going on (or at least in which area the fault is occurring)

The original Updater was a tricky beast and I expect this one will be no less :wink:

Cheers

Dan

20 Aug 2009, 11:11 PM
#432
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

If someone could help out with some testing I'd be very grateful... I only have the one site I can play with (my test site) and that's running on PHP 5.2.2 and all seems well there

Although, Ajeh, if you could provide me a URL I might be able to figure out what's going on (or at least in which area the fault is occurring)

The original Updater was a tricky beast and I expect this one will be no less :wink:

Cheers

Dan

I've been extremely busy today and couldn't check the forum until now...anyways...I'd be very happy to test it on my site, however, since I've had the site changed yesterday, I wouldn't know where to start with uploading the files to over ride the files thats there. Any suggestions Chrome?? You game to try it on there??? You have the info to enter the files on my server and definitely my permission...:smile:

20 Aug 2009, 11:27 PM
#433
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Dynamic Price Updater

I have PHP Version: 5.2.8

and can test on Windows Vista

20 Aug 2009, 11:32 PM
#434
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi all

I've updated the Updater v2 and the file is in my sig... I've made a single PHP4/5 version... I didn't realise there were that many PHP4 servers out there :wink:

Hopefully this is the version that gets it right... Testers to your marks...

Thanks all :smile:

Dan

20 Aug 2009, 11:33 PM
#435
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Kat

Thanks... I'll get it set up for you

Dan

20 Aug 2009, 11:44 PM
#436
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hi Kat

Thanks... I'll get it set up for you

Dan

Thanks! Deeply appreciate this!

21 Aug 2009, 1:35 PM
#437
webbo1969 avatar

webbo1969

New Zenner

Join Date:
Aug 2006
Posts:
24
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi again Dan

I'm wondering what is occuring now as I think we are going about this the correct way but the updater is still not working. Please see:
http://www.prestigeringcompany.com/index.php?main_page=product_info&cPath=1_2_3&products_id=56
This product is set to a base price of £110.00 with attributes set +£ increase.
An IE Javascript 'error on page' still appears.
Any help/advice would be much appreciated.

Thank you.

Steve

21 Aug 2009, 1:42 PM
#438
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Steve

It might be an idea to try the new Updater (v2)... it's not subject to the type of error you're experiencing here

If you want to try it just rename the original Updater file to begin with an underscore (_) then upload the new Updater (there are 3 files)... There is a readme with it also

Let me know what you decide to do or if anything else goes wrong

Cheers

Dan

21 Aug 2009, 6:07 PM
#439
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hi Kat

Thanks... I'll get it set up for you

Dan

In my own humble...personal opinion...I think Dan needs a donation button for all the hard work he's put into the Price Updater...whatcha think guys?? :yes:

25 Aug 2009, 6:00 AM
#440
lesko avatar

lesko

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Dynamic Price Updater

Hello Dan,
Just a question about your files.
I downloaded the lasted files and placed them in the correct folders, well I think they are (note pad doc in the zip file)....
Just to confirm can you please tell me the exact folder for each file please, for some reason I can seem to get it to work,

Thanks so much,
lesko