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

Dynamic Price Updater

Views: 342,271

Results 441 to 460 of 1,701
25 Aug 2009, 8:21 AM
#441
chrome avatar

chrome

Zen Follower

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

Dynamic Price Updater

Hi lesko

The dpu_ajax.php goes into the catalog root; dynamic_price_updater.php goes in includes/classes/; jscript_ajax_updater.php goes in includes/modules/pages/product_info/

If you've put those files in the correct places but the Updater doesn't work please send me a link and I'll check it out for you... This version of the Updater is still very new and relatively untested so apologies for any teething problems it may have

Cheers

Dan

25 Aug 2009, 3:08 PM
#442
webbo1969 avatar

webbo1969

New Zenner

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

Re: Dynamic Price Updater

Hi Dan

BRILLIANT! v2 appears to have sorted out my problems! Yay!

Many, many thanks,

Steve :)

25 Aug 2009, 3:54 PM
#443
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi Steve

I'm glad it worked for you :smile:... V2 addresses quite a few issues that tripped up the original Updater

If I could put out a request for anyone using V2: Do you have Lightbox or Mootools installed? I had a weird issue the other day where Mootools was causing a conflict with the Updater so if anyone could test and report your findings I would be most grateful

Cheers

Dan

26 Aug 2009, 12:34 AM
#444
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
730
Plugin Contributions:
0

Re: Dynamic Price Updater

Hello there Dan,

I tried Version 2 yesterday, and it didn't work but I do have a variant on Lightbox. I have Highslide, and I know it works very similar. Could be that I reckon. Let me know if you require any more details.

26 Aug 2009, 1:04 AM
#445
lankeeyankee avatar

lankeeyankee

Totally Zenned

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

Re: Dynamic Price Updater

I have v2 on a live test site with the regular lightbox using scriptaculous and prototype and it works without conflict. Will be adding it to the live site in a while if there are no other bug reports.

Thanks again, Dan!

26 Aug 2009, 9:41 AM
#446
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

Heathen: Thanks for testing... Would you, by any chance, have a URL for the failing Updater? If you like you can PM it to me... I do have a theory on why it isn't working and I'm going to create a version that should (hopefully!) increase the general compatibility

Matt: Thanks for testing (again!)... It's nice to know that the Updater works with Lightbox at least!

Thanks to all who are testing!

Dan

26 Aug 2009, 5:54 PM
#447
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Re: Dynamic Price Updater

Hi,

Looks like I can actually post now, for some reason my ribbonsbaskets account was unable to create any new posts...strange

Any way created a new account so I can now respond.

First off, than you sooo much for this mod. Without it I don't think there are any other options!

I am having a problem with DPU2 now though, it was working seamlessly before I added some additional mods including JQLightbox, upgrading to PHP5, and added Tabbed Pro. Now DPU wont work.

Im using zen cart 1.3.8, link to a product with attributes: http://www.ribbonsbaskets.com/just-hoppin-around-new-baby-hamper-prince-p-3175.html?cPath=78

I know that the DIV the price needs to be properly entered in to the jscript_ajax_updater.php file. I did change it to the div the my price is nestled in. The price is actually in two divs. I wasn't sure if this was a problem so I removed the price from the div and just left it in its original div but it still didn't work. I then just put it back in to the div because without it things don't work right.

-Kris
https://www.ribbonsbaskets.com

27 Aug 2009, 1:55 AM
#448
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Re: Dynamic Price Updater

Still confused, gone through a day of fighting against copyright infringment:blink:

Still confused:frusty:

27 Aug 2009, 2:08 AM
#449
perkiekat avatar

perkiekat

Zen Follower

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

Re: Dynamic Price Updater

lankeeyankee:

I have v2 on a live test site with the regular lightbox using scriptaculous and prototype and it works without conflict. Will be adding it to the live site in a while if there are no other bug reports.

Thanks again, Dan!

Lankeeyankee,
Just wondering if you have tested your site in Mozilla Firefox? Dan placed the Price Updater on my site and I had the Slimbox installed. Worked wonderful in IE however, in firefox, the price updater wouldn't work. I liked the Price Updater better than the Slimbox and got rid of Slimbox.

My reason for posting is this: The way I am reading your post, all works good together long as you use Lightbox correct? If this is the case, I am going to install the Lightbox.

Thanks,
Pkat

27 Aug 2009, 2:10 AM
#450
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Re: Dynamic Price Updater

Lightbox is great, I love it...but I think many others have had problems with lightbox and DPU - like me.:smile:

27 Aug 2009, 2:16 AM
#451
perkiekat avatar

perkiekat

Zen Follower

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

Re: Dynamic Price Updater

ksookma:

Lightbox is great, I love it...but I think many others have had problems with lightbox and DPU - like me.:smile:

Yeah, me too :( I know. Works great together in IE but the mootool Slimbox and DPU has conflicts working together in Firefox. Before I install the actual Lightbox, I'm waiting to read more...Chrome will get it working to be compatable!!

27 Aug 2009, 3:40 AM
#452
lankeeyankee avatar

lankeeyankee

Totally Zenned

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

Re: Dynamic Price Updater

I can confirm that in FF3 and IE8 that there are no conflicts between DPU or DPU2 and the zen lightbox mod that uses prototype and scriptaculous. I'd like to know if anyone has tried this with the jQuery lightbox? I am going to be switching to that soon and hope there are no confilcts!

27 Aug 2009, 8:52 AM
#453
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi all

I'm going to write a version I hope will have no conflicts... In the v2 as it is I've used a prototype object and I think it conflicts in certain circumstances

Over the next couple of days I'm going to refactor the JS and see if I can introduce some greater compatibility... In fact, didn't the original Updater have some issues with Lightbox?

Anyway, I hope to have a new release for Friday evening

Cheers

Dan

27 Aug 2009, 1:39 PM
#454
perkiekat avatar

perkiekat

Zen Follower

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

Re: Dynamic Price Updater

Chrome:

Hi all

I'm going to write a version I hope will have no conflicts... In the v2 as it is I've used a prototype object and I think it conflicts in certain circumstances

Over the next couple of days I'm going to refactor the JS and see if I can introduce some greater compatibility... In fact, didn't the original Updater have some issues with Lightbox?

Anyway, I hope to have a new release for Friday evening

Cheers

Dan

:clap::clap::clap::clap: I'll be waiting! :bigups:

I'll be glad to test it out!!

27 Aug 2009, 4:01 PM
#455
lankeeyankee avatar

lankeeyankee

Totally Zenned

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

Re: Dynamic Price Updater

Chrome:

In fact, didn't the original Updater have some issues with Lightbox?

Yes, it did, there was a fix posted, I think it was changing one of the regular expressions.

Thanks, Mate!

27 Aug 2009, 9:36 PM
#456
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Ah yes, I remember... It was either a regular expression or a variable type comparison

This version doesn't use any regexes for finding the attributes: it collects them directly from the form... The issue here is a little odd in that an array is created but is never populated (a console log after populating the array reveals it to be zero-length)... I do have a theory as to why this might happen so I'm going to try some things tomorrow

I hope this works!

Dan

27 Aug 2009, 10:28 PM
#457
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Re: Dynamic Price Updater

Chrome:

In fact, didn't the original Updater have some issues with Lightbox?

Yeah, I did notice those fixes though the file is different in the new version so I didnt even try it.
:mellow:
We get the same problem with DPU on all browsers so its not browser specific for us.

Im so excited to see if the new update will work for us, meger donation will be on your way if we use your mod.

:clap:

28 Aug 2009, 1:10 AM
#458
rpersonal2 avatar

rpersonal2

New Zenner

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

Re: Dynamic Price Updater

Along the lines of the price updater, does anyone have an idea how to change the price based on market conditions? For example, let's say that I want to sell gold jewelry at $100 based on the gold spot price of $50. If the spot price increases to $55 then I want the price to automatically adjust by $5.

Any thoughts?

thx,

rpersonal2

28 Aug 2009, 5:50 PM
#459
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 made a minor tweak to the JS in jscript_ajax_updater.php... The new version is in my sig and all you need replace is includes/modules/pages/product_info/jscript_ajax_updater.php

If someone could test this out for me I'd be very grateful and I'd like to thank those that have already helped and continue to... Unfortunately I can't test this currently because I suspect something has gone horribly wrong with my test site and Slimbox isn't working

This is the first attempt at the fix... If this doesn't work I'm going to completely rewrite the script in a different fashion

If that doesn't work I plan to break down and cry... Then carry on working on it :wink:

Cheers!

Dan