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

Dynamic Price Updater

Views: 342,337

Results 701 to 720 of 1,701
13 Oct 2010, 5:38 PM
#701
perkiekat avatar

perkiekat

Zen Follower

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

Dynamic Price Updater

I have to say this is an extremely useful add-on for me. Thank you so very much for all of your hard work Dan. I truly appreciate it.

Perkiekat

18 Oct 2010, 8:00 AM
#702
q065sb avatar

q065sb

New Zenner

Join Date:
Aug 2010
Posts:
8
Plugin Contributions:
0

Re: Dynamic Price Updater

**Hi all,
**
I am a pretty new Zenner, neither really familiar with php coding nor a native English - so please appologize my confuse writing. I have successfully installed your contribution DPUv2_MTC and it works extraordinarily well for Zencart 1.38a and 1.39g (english and german versions tested). Albeit there is a slight deviation from the correct price calculated, as posted earlier - when TAX is shown in the store and admin area. You can certainly circumvent this problem by applying the mod described within this thread: twice ' limit 1' to ' limit 0' in the dynamic_price_updater.php.

Now I am trying to get another mod running within my site - product attribute grid. This will enable to select another option type: grid, which places quantity boxes for each attribute. Hence, somebody can simultaneously select products offered in eg. different colors. This mod is very crucial for me, but fails to be compatible with the DPUv2_MTC. I suppose, the DPU uses the ordinary quantity field to calculate its prices - can somebody suggest a solution to this problem?

Thanks for your time and effort,
sincerely Stevie

18 Oct 2010, 9:02 PM
#703
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

Thanks Kat for your support :smile:

Q do you have a link to your site? If you prefer you can PM it to me

Cheers

Dan

29 Oct 2010, 8:17 AM
#704
endre avatar

endre

New Zenner

Join Date:
Dec 2008
Posts:
38
Plugin Contributions:
0

Re: Dynamic Price Updater

Dan,
This whs exactly what I was looking for, great job!
One question though, how can I style the second price, and where?
I'd like it to show the same font size as the first price.
I see in jscript_ajax_updater.php that one can style it:
"// adjust the second price display; create the div if necessary"
But where do I put the div?
I'm just puzzled as to where to put it.
Styling using css is fine, it's just where to put the div class/div span?
I tried a few places, but then the price disappeared altogether.

Thanks in advance.

And thanks for a great addon.

Cheers
Endre

29 Oct 2010, 11:00 AM
#705
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi Endre

There should be no need to go digging that deep into the code. The second price display can be styled via CSS by targeting the ID 'productPricesSecond' or if you want it to appear elsewhere on the page then you need to find this line in the code:

var _secondPrice = 'cartAdd';

The 'cartAdd' portion of that code tells the Updater where to place teh second price; it's the ID of the element you would like the Updater to appear before. In this instance the second price is set to appear before the Add to cart button. You can choose any element on your page that has ID for a reference point. I recommend Firebug for Firefox (use the inspect element feature) to find the point in your page you would like the second price to appear

Hope this helps

Dan

29 Oct 2010, 8:15 PM
#706
endre avatar

endre

New Zenner

Join Date:
Dec 2008
Posts:
38
Plugin Contributions:
0

Re: Dynamic Price Updater

Gwych!
Dan, you are the man!
That worked perfectly.

Thank you very much for the incredibly quick reply, and great help.

Cheers
Endre

18 Nov 2010, 5:08 PM
#707
rainestudios avatar

rainestudios

New Zenner

Join Date:
Jan 2010
Posts:
21
Plugin Contributions:
0

Re: Dynamic Price Updater

Hullo!

I love me some dynamic price updating, I've been using it for a few months now, and I have never seen any issues with it on the front end. However, something must be amiss, because I'm getting these errors in my error log:

[17-Nov-2010 14:40:16] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in //rainestudios.net/includes/classes/dynamic_price_updater.php on line 194
[17-Nov-2010 14:40:16] PHP Warning: Variable passed to each() is not an array or object in /
/rainestudios.net/includes/classes/dynamic_price_updater.php on line 195

Any idea what's going on here?

My site is http://rainestudios.net

Here's a few items that uses a lot of dual pricing (so you don't have to hunting around):

http://www.rainestudios.net/index.php?main_page=product_info&cPath=3_32&products_id=81

http://www.rainestudios.net/index.php?main_page=product_info&cPath=4&products_id=44

Thank you so much -- love this add on!

amy

ps -- any known conflicts with dual pricing? I'm going to get some wholesale pricing up soon.

22 Nov 2010, 3:28 PM
#708
evil_rob avatar

evil_rob

New Zenner

Join Date:
Nov 2010
Posts:
13
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Guys

I am using Zen Cart 1.3.8a

I have the Vat Module Installed that is available from the Addons and Contributed Modules

This was working perfectly until i added the DPU V2 module.
(i am not complaining mind you....lol)

If you look at the link of my site below, you will see that DPU module works, but has removed the INC vat price that briefly appears. Apart from this it works perfectly.

Is a part of the problem also because there is now a 2nd price statement that appears lower in the page and seems to replace the VAT inc price and then drops lower down the page??.

http://evilempireperformance.co.uk/gto-3000gt-shop/index.php?main_page=product_info&cPath=113_125&products_id=622

I did have a problem with it working correctly on a MAC and just a ? instead of a £ on a PC in windows which a friend managed to solve by hard coding the £ sign into one of your files.

Please can anyone help me get my VAT INC price back as i am stuck and a total newbie at all this.

Cheers Rob

23 Nov 2010, 5:07 PM
#710
rainestudios avatar

rainestudios

New Zenner

Join Date:
Jan 2010
Posts:
21
Plugin Contributions:
0

Re: Dynamic Price Updater

I'm still wondering about these error messages I'm getting -- and now I've hit upon a new snag. I've searched through the thread and may have missed the answer, but I am running a sale and my sale prices show up on category listings, but once DPU kicks on on the product page, the sale price is lost. If you add the product to the cart, the full price is used and not the sale price.

Can anyone help?

amy
http://raine.net

7 Dec 2010, 1:30 AM
#712
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Dan,

Thanks for the mod exactly what i wanted for a redesign of my current site which is under way at the moment. I am having some trouble getting the mod working properly though :huh:

I have copied all the files over to the server and placed a div around the product price block with an id="productPrices" however whenever i go to a product on the site i get a popup window "Status returned - Service Unavailable" and the price does not update. The loading symbol is displayed next to the price and stays there after i exit the popup window. When a different option is selected or the quantity changed the same window appears but the price remains the same with the loading image still to its right.

I do have the image Slimbox on the site but disabling this does not change things..

Have tried uninstalling DPU 2 and installing the original but it wasn't quite working properly either and the newer version is more what i'm after for it.

If you had a minute or two to take a quick look at the site it would be appreciated. If you do have time PM me your IP address as i will have to add you to the allowed list on the website maintenance setup and send you the link.

Thanks for your time!
:bigups:

Liam.

7 Dec 2010, 4:36 AM
#713
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Dynamic Price Updater

All sorted now with a big thanks to Dan :bigups:

Less than 10 mins after posting here Dan PM'd me and helped out to get it sorted in only a few replies :cool:

It turns out that the site was getting a 503 error and thus opening a new window with the error message.

If anyone else encounters the same problem they can give this a try;

Find this line in includes/modules/pages/product_info/jscript_ajax_updater.php:

if (_this.XHR.status == 200) {

It should be line 98... replace it with:

if (_this.XHR.status == 200 || _this.XHR.status == 503) {

So thanks to Dan for the above fix/work around the updater is working perfectly on the site and is working alongside the Lightbox addon :D
If anyone has a problem with their installation/implementation post it up here and i'm sure he will help out.

Liam

7 Dec 2010, 7:45 PM
#714
3dperuna avatar

3dperuna

New Zenner

Join Date:
Nov 2007
Posts:
33
Plugin Contributions:
0

Re: Dynamic Price Updater

FANTASTIC Mod! Easy to install! Very good!

One minor issue. If I have an attribute with a One Time price add, the box works correctly, the price is correct, but it displays 2 x 0.00 for the attribute when it should be 1 x 0.00.

I'm decent enough with PHP, so any ideas on how to quickly fix it?

7 Dec 2010, 8:20 PM
#715
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

Thanks :smile:... Do you have a link? I'll check it out

Dan

8 Dec 2010, 9:25 PM
#717
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

Is there a specific product that is showing this error? All the products I've viewed seem to behave themselves

If you need to, check out dpu_ajax.php in the site root for some display options

Dan

9 Dec 2010, 3:14 PM
#718
3dperuna avatar

3dperuna

New Zenner

Join Date:
Nov 2007
Posts:
33
Plugin Contributions:
0

Re: Dynamic Price Updater

Check the 20"x24" print.

  • Price is $60.00.
  • Add one of the services (for instance, Proofing). The price will change to reflect the cost of the service. For instance, if I add the Proofing option, the the price changes to $70.00, but the Price Breakdown shows "Base Price x 1 ($70.00)" and "Proofing x 0 ($0.00)", where it should show "Base Price x 1 ($60.00)" and "Proofing x 1 ($10.00)".
  • If I change the quantity to (2), the math is correct, but I get: "Base Price x 2 ($130.00)" and "Proofing x 2 ($0.00)" where it should show "Base Price x 2 ($60.00)" and "Proofing x 1 ($10.00)"(proofing is a 1 time charge)
9 Dec 2010, 7:54 PM
#719
vpervades avatar

vpervades

New Zenner

Join Date:
Dec 2010
Posts:
8
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi ,
I have installed this price updater module in my site and it works fine.
But i need few tweeks in that module to fit my requirement .
I am not sure how to do it .
Pleas guide me.

EXample product -" dining set" .
-> I like to add attribute as text box -EX: chair quantity (done).
-> Added price for that text attribute -EX:$100. (done ).
-> Now In my case dining set chair is variant -depends on people choice .
->So now
I need to multiple the price for the text attribute with its value .
EX: 4 (value entered by customer in text attribute box),then $100 x 4= $400 will be the price for this attribute .

**Please advice me how to do this?
->Can i pass a extra variable to your ajax file and return the value to the product as i expected .
->How to pass this price to the cart page?
because i need to this calculation before add to cart right ?
Add to cart page didn't accept the price from the product info page right? **

Please advice me .
Atleast point to the right file.

6 Jan 2011, 12:07 PM
#720
azzoor avatar

azzoor

New Zenner

Join Date:
Jan 2011
Posts:
22
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi,

i just installed the newest version of DPU and for some reason the "Your Price $xxx.xx" is appearing twice. one where i have specified and another in the attributes between the add to basket and the last attribute. how ever when i look at the source code the second price is no where to be found.

address is Click here to see what i am talking about