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

Dynamic Price Updater

Views: 342,316

Results 761 to 780 of 1,701
9 Jun 2011, 10:43 AM
#761
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Dynamic Price Updater

Ok Scrap that, it has already been answered...Thanks Dan.

Chrome:

Hi stiggy

If you open up dpu_ajax.php in an editor you should see this line:

define('DPU_SHOW_QUANTITY', true);

> 
> Change this to
> 
> ```
define('DPU_SHOW_QUANTITY', false);

That should sort your problem :smile:

Dan

9 Jun 2011, 7:30 PM
#762
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

ShockRaver: I think you require a custom solution... The Updater, as it stands, is unable to accommodate your needs... If you like you can PM me about this

moesoap: Glad you found the solution :smile: I was about to post that when I noticed you had found the solution... This thread contains a load of information but it can get tricky to find

I know I've been lamenting my lack of time and promising to return to the Updater and I'm afraid I have to do that now... I want to add features to it and, to be honest, it's time for a refresh... I really hope to get round to this soon

Dan

11 Jun 2011, 8:06 AM
#763
cybagirl avatar

cybagirl

Zen Follower

Join Date:
Jul 2009
Posts:
119
Plugin Contributions:
0

Re: Dynamic Price Updater

First of all would like to say thank you so much for creating this mod Chrome you have done a fantastic job with it and your support has been second to none.

I installed version 1 and it seems to be working perfectly.

So thank you!

eentje:

Hi Chrome and all...

I've installed the price updater on a couple of shops without a problem.

But now i ran into one.

It somehow doesn't work on tabbed products when the attributes are in a tab.

Is there a workaround or a quick fix?

TIA, eentje

For anyone else who has this issue with Tab Products Pro the simple fix is to do this:

Admin ---> Configuration ---> TPP - Config: TPP - Global Main Image On Tab

And change option 1 to 0 and DPU will work perfectly for you.

It would be nice if DPU could be modified to work with TPP when this option is set to 1. But I can live with it being set to 0 if I have to.

:bigups:

13 Jun 2011, 4:06 AM
#764
cybagirl avatar

cybagirl

Zen Follower

Join Date:
Jul 2009
Posts:
119
Plugin Contributions:
0

Re: Dynamic Price Updater

izar74:

Hi again Crhome, sorry to bother you again, I wasn't able to figure out why DPU add 0,01 to every price in the product page, do you have any suggestion?
Wich file is responsable for the update of the price?

Many thanks

izar74:

Hi Chrome, perhaps i found the Solution!!!

In dynamic_price_updater.php at the line 83 there is this code:

$product_check = $this->_db->Execute("select products_tax_class_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$this->_post['products_id'] . "'" . " limit 0");

I changed "limit 1" to "limit 0". Really i don't know exactly what it does but it work... the price are now correct..

The question is... which are the side effect of that change? :shocking:

Chrome:

Hi

First off, sorry all, things have been very, very busy of late... I know I've said this before but I'm going to try my best to get some new test code sorted over the next week

Izar: What you're doing there is disabling the tax... If it works for you that's great but it might indicate an issue somewhere else in the code... I'll wait for more feedback on this one as the matter of the Updater not playing with other Ajax modules is more pressing

News soon, I hope!

Dan

Hi Dan,

I have just installed version 2 of DPU and I am having the exact same problem as mentioned by izar74 in the first quoted post of this message.

I used his method to correct the issue. But in your reply you mention that by doing this the tax is disabled.... Not to sure what you mean by this. As the tax price doesn't seem to be changed in anyway on the checkout page.

For example. If I remove DPU the tax price on checkout is no different to the tax price shown on checkout when DPU is installed.

So are you referring to the tax being change somewhere else in the store?

So if possible could you please clarify what you meant by this? As I am concerned there may be issues with using izar74's fix.

Although version one seemed to work perfectly in every way as per my previous post. There was one issue I noticed this morning with it disabling my javascript bookmark script that I use on my ZenCart store for some unknown reason. Now when I say it was disabling it. It was stopping the script from displaying the "Bookmark Us" text from being displayed on the page.

So I tried version two in the hope that it would work with my bookmarking script and it seems to work well and doesn't disable it. But then I noticed I am now having the same issue as izar74.

So was wondering do you have any further thoughts on this? Or any idea why version one is disabling my bookmarking script from showing on the page?

If you could provide any additional help on this. It would be very much appreciated.

:smile:

17 Jun 2011, 7:51 AM
#765
oberheimer avatar

oberheimer

Zen Follower

Join Date:
Feb 2009
Posts:
108
Plugin Contributions:
0

Re: Dynamic Price Updater

Thanks alot for this but how do i right align the price?

17 Jun 2011, 8:16 AM
#766
oberheimer avatar

oberheimer

Zen Follower

Join Date:
Feb 2009
Posts:
108
Plugin Contributions:
0

Re: Dynamic Price Updater

I also wonder how i remove the left price box that is there i only need the bottom price to uppdate

17 Jun 2011, 8:57 AM
#767
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hey all

CybaGirl: The problem with the tax should always be minimal, if at all... I can't remember the exact details (it has been a while and much code has happened) but I think my main fear was a minor discrepancy on large prices... If I can free up some time today I'll review the forum and re-acquaint myself with the problem

The Updater V1 used a method of starting itself that was non-standard... In V2 a different method is used that adds the Updater to a queue of applications to be initialised... V1 tended to knock every other initialisation registered out

oberheimer: The price displays can be manipulated with normal CSS rules... The second price display has the ID of productPricesSecond... The sidebox can be disabled by opening /includes/modules/pages/product_info/jscript_ajax_updater.php and setting

define('DPU_SIDEBOX_ELEMENT_ID', 'whatsnew');

to

define('DPU_SIDEBOX_ELEMENT_ID', false);

HTH

Dan

19 Jun 2011, 5:56 PM
#768
rotten avatar

rotten

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

Re: Dynamic Price Updater

Hello everyone, a huge thanks to Dan for this mod. :bigups: I am having a slight problem that maybe someone could help me out with.

When clicking into a product, I get a popup window with an error message that says "Status Returned - not found". It also occurs when using the previous and next buttons when viewing products.

The error message occurs in cart versions 1.3.8a as well as versions 1.3.9e f and h so it doesn't appear to be a version specific problem. It also happens in both Internet Explorer and Firefox browsers.

I only know some basic coding so I'm at a loss in regards to fixing the issue on my own. If I've missed something in this thread that addresses this issue, please direct me to the page that its on or if someone could help me out it would be greatly appreciated. :smile:

Cheers

19 Jun 2011, 6:06 PM
#769
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi rotten (first name Johnny by any chance?)

Sounds like a routing problem to me... Do you have any SEO modules installed or maybe Apache rewrite rules? If you can provide a link (feel free to PM) I'll check it our for you

Dan

20 Jun 2011, 2:16 AM
#770
cybagirl avatar

cybagirl

Zen Follower

Join Date:
Jul 2009
Posts:
119
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hey all

CybaGirl: The problem with the tax should always be minimal, if at all... I can't remember the exact details (it has been a while and much code has happened) but I think my main fear was a minor discrepancy on large prices... If I can free up some time today I'll review the forum and re-acquaint myself with the problem

The Updater V1 used a method of starting itself that was non-standard... In V2 a different method is used that adds the Updater to a queue of applications to be initialised... V1 tended to knock every other initialisation registered out

Dan

Hi Dan and thanks for getting back to me.

If you can double check or even fix this issue when you get a spare moment that would be great! Touch wood I haven't come across any price differences yet. Although I only tested it once and from memory it was on a $300.00 item. So not to sure if you consider that to be a large priced item or not.

Thanks also for taking the time to explain what was going on with version 1. I didn't have any other issues with it and it worked perfectly other than it affecting my bookmarking script. I thought about not using the bookmarking script anymore as your mod certainly had more advantages over the bookmarking script. It was then that I tried version 2 of your mod and noticed that it didn't affect the bookmarking script so it allowed me to use both. Of course other than the small tax hiccup :).

Thanks either way for your reply and help on this. Much appreciated!

:smile:

rotten:

When clicking into a product, I get a popup window with an error message that says "Status Returned - not found". It also occurs when using the previous and next buttons when viewing products.

What version of the mod are you using? As that message came up for me when I installed version 1 of the mod while using a javascript bookmarking script that I use on my site. Although the message was only shown on Internet Explorer and not FireFox. When I switched to version 2 of the mod this message went away.

But I am sure Dan will be able to help you out!

:smile:

21 Jun 2011, 3:31 AM
#771
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Dynamic Price Updater

I am working with the Dynamic Price Updater. I have been using this for a while and love it! I want to make a slight modification, by which I want the price breakdown to display inside the cartAdd or Add to Cart box so that customer see's the price displayed when entering their quantity or clicking the Add to Cart button...can anyone give me some help on this one?

Thanks!
Goldbuckle

21 Jun 2011, 7:26 PM
#772
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

CybaGurl, $300 shouldn't be an issue... By large price I was thinking more around the $10,000 mark... It might be an idea to create a product around that price to test then delete it

It's very strange that you should have had the 'Status returned' error in V1 as that part of the script was never present in V1; V1 used the client machine to 'read' the page and manipulate the values it found whereas V2 picks up the user choices and sends the data to a server-side routine to take care of the heavy lifting... V2 is much more accurate because it uses the native code in a virtual cart environment... When you get a 'not found' status it means the Ajax request failed as the server returned a 404 error (file not found) when requesting the calculation, which is why for that particular error it's easier to see the site in action

GoldBuckle, if you open up /includes/modules/pages/product_info/jscript_ajax_updater.php and edit line 15 like this:

define('DPU_SIDEBOX_ELEMENT_ID', 'whatsnew');

to

define('DPU_SIDEBOX_ELEMENT_ID', 'cartAdd');

That will force the sidebox to render just above the quantity box... There are 2 caveats here:

  1. This is entirely and completely untested and could cause some entertaining issues (nothing permanent, just reverse the change)

  2. This will cause a complete sidebox to be placed in the cart div... The sidebox that is generated can be manipulated by standard CSS, however

HTH

Dan

22 Jun 2011, 1:54 AM
#773
littlekid440 avatar

littlekid440

New Zenner

Join Date:
Dec 2009
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

hello all
im hoping someone here would be able to help me
I would like to not change the price that is on top under item name just to change the price thats next to add to cart. is that easy to do?

and also i would like to remove the (quantity) from the top area

please feel free to check out my site if the "top" and "bottom" confused anyone.

http://www.perfumeandcologne.com/index.php?main_page=product_info&cPath=25_40&products_id=5

22 Jun 2011, 7:38 AM
#774
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi littlekid440

I've never considered that the top price would need to remain static as it's the first display I got to change... I think you might be able to change the CSS ID of the top price div and fool the Updater, although this may cause it to stop working... Give it a try and let me know what happens (or ask again if you're not sure how to do this)

The quantity is easier as I'd considered that not everyone would want it displayed... Open /dpu_ajax.php and alter line 7 from:

define('DPU_SHOW_QUANTITY', true);

to

define('DPU_SHOW_QUANTITY', false);

And that should kill the quantity display... Let me know how you get on :smile:

Dan

22 Jun 2011, 1:45 PM
#775
turtlemountain avatar

turtlemountain

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi there.

Is anyone experiencing issue with Dynamic Converter (Free account) today? It was working fine til yesterday (Thank you! I love Dynamic Converter!) but some how it does not work any more.

I have visited the dynamic converter website and I see their examples are not working either at the moment...

I was just wondering if anyone else there experiencing same problem? I have also checked featured client page but their site is working (I assume they are on Gold / Enterprise plan)....

So is this mean free version is no longer available???

I would appreciate if anyone know further info.

Thanks for your time in advance.

22 Jun 2011, 1:49 PM
#776
turtlemountain avatar

turtlemountain

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Dynamic Price Updater

Sorry everyone. I have posted on wrong forum / thread. My apologies.

23 Jun 2011, 2:55 PM
#777
littlekid440 avatar

littlekid440

New Zenner

Join Date:
Dec 2009
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

i tried as you suggested
I renamed the top div to something different - script stopped working
I tried deleting "productPrices" from (/includes/modules/pages/product_info/jscript_ajax_updater.php) - script stopped working
im not really a PHP expert as i can only edit some part of the code not write my own so I don't know how to fix this :frusty:

the top div already has a different ID "productPrices" and the bottom is "productPricesSecond"
im sure one of you expert PHP-ers will solve this in matter of minutes

until then thank you for the quantity hide code - worked as described
:bigups:

23 Jun 2011, 2:58 PM
#778
littlekid440 avatar

littlekid440

New Zenner

Join Date:
Dec 2009
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

also I wanted to make sure the developers and all users know that this does not work if your website is down for maintenance
So if anyone here can't figure out why its not working.. make sure its not set under maintenance
:lamo:

23 Jun 2011, 3:20 PM
#779
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

littlekid440:

i tried as you suggested
I renamed the top div to something different - script stopped working
I tried deleting "productPrices" from (/includes/modules/pages/product_info/jscript_ajax_updater.php) - script stopped working
im not really a PHP expert as i can only edit some part of the code not write my own so I don't know how to fix this :frusty:

the top div already has a different ID "productPrices" and the bottom is "productPricesSecond"
im sure one of you expert PHP-ers will solve this in matter of minutes

until then thank you for the quantity hide code - worked as described
:bigups:
Hi

I thought changing the ID of the div would cause it to stop working... Changing anything in the ajax file other than the config settings is likely to cause the script to fail... In fact, incorrect config settings will cause the same issue

Altering the Updater to ignore the main price isn't going to be easy as that's what it was designed to do; everything else should be considered additions... This can be done but it'd be a custom fix for you... I can fix this for you if you'd care to PM me

Incidentally, the fix will be all Javascript; at this point no PHP is in use :smile:

Dan

23 Jun 2011, 3:27 PM
#780
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

littlekid440:

also I wanted to make sure the developers and all users know that this does not work if your website is down for maintenance
So if anyone here can't figure out why its not working.. make sure its not set under maintenance
:lamo:
Hi

Never tested the Updater with the site DFM; Thanks for the info... Never know when it might come in handy :smile:

Dan