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

Dynamic Price Updater

Views: 342,334

Results 921 to 940 of 1,701
17 Nov 2011, 1:04 PM
#921
moesoap avatar

moesoap

Zen Follower

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

Dynamic Price Updater

moesoap:

Hi Dan,

It hasn't made any difference. I'll check the other 3 files to see if product_info_display is specifically mentioned.

I know it's difficult to fix without a link.

Thanks.

Dan,

I have two files in my product_info. The first is jscript_ajax_updater.php and the other is jscript_updater.php

They both have the following commands which seems to be related to Product General and not Product Music.

function init() { // discover the selects that are required to adjust the main price
	var centre = document.getElementById('productGeneral');

I copied both those files to product_music_info and I tried changing this to productMusic however it didnt make any difference.

Sorry I am not a coder :)

17 Nov 2011, 1:27 PM
#922
nolsowski avatar

nolsowski

Inactive

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

Re: Dynamic Price Updater

I am having the same trouble as gangees. I have added specials http://frompropertorocker.com/index.php?main_page=product_info&cPath=27_26&products_id=893 and they show up just fine but on the sales it doesn't show up right in the product description page.

Here is an example: http://frompropertorocker.com/index.php?main_page=product_info&cPath=25_48&products_id=581

You can see it when you go that page that it quickly shows a slash and then the sale price (like it's supposed to ) but then it vanishes and you just see the price (once it's done loading). The price that shows is the sale price.

I hope that made sense lol.

Thanks!

18 Nov 2011, 1:43 AM
#923
cybagirl avatar

cybagirl

Zen Follower

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

Re: Dynamic Price Updater

Hi Dan hows things?

I can see you have been really busy with DPU :).

I was wondering though before I try installing and using it again if you ever managed to fix the error in the log files as posted here:

http://www.zen-cart.com/forum/showpost.php?p=1047999&postcount=791

CybaGirl:

Hi Dan,

Just checked my error logs today and it seems I am getting the exact same error that Amy was getting in her quoted post above and your reply in which you replied with the above.

Like Amy everything seems to be working fine apart from this error appearing in the error log which is as follows:

[17-Jul-2011 11:48:27] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/my_site/public_html/includes/classes/dynamic_price_updater.php on line 194
[17-Jul-2011 11:48:27] PHP Warning: Variable passed to each() is not an array or object in /home/my_site/public_html/includes/classes/dynamic_price_updater.php on line 195

> 
> Now on lines 194 and 195 it states the following.
> 
> ```
        reset($this->_shoppingCart->contents[$this->_post['products_id']]['attributes']);
        while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {

So I am wondering if by any chance you have had the time to figure out what is causing this error and how to fix it?

Thanks.

PS: Still haven't had time to check the tax fix yet but haven't forgotten about it and will look into it very soon :).

It also seems there is another fellow having this same issue as per his recent post a couple pages back.

http://www.zen-cart.com/forum/showpost.php?p=1070902&postcount=860

siliconbug:

I keep getting the same problem as post #791.

PHP Warning: reset() expects parameter 1 to be array, null given in /includes/classes/dynamic_price_updater.php on line 197
PHP Warning: Variable passed to each() is not an array or object in /includes/classes/dynamic_price_updater.php on line 198

> Do I miss any fix in this thread?

If you can let me know if this issue has been resolved when you get a spare moment that would be great :).

Thanks.

:clap:
18 Nov 2011, 9:10 AM
#924
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hi all

Schoolboy, I'm not familiar with that module so I'm afraid I couldn't tell you how the Updater would react with it... If you want to try the Updater on your site and if it does blow up then the Updater can easily be disabled by prefixing an underscore before the script filename... Give it a try and let me know how you get on

Prior to my earlier posting, I loaded the mod (we use it on a few other sites). This time, we had the Incl/Excl Tax mod installed.

The Dynamic Pricing mod worked, but returned only the PRIMARY price - (in this case the EXCL TAX) price. The SECONDARY price (where tax is INCL) was no longer visible.

I don't know how difficult/easy it would be to get the mod to look at BOTH prices, and update them... possibly a bit of a challenge, because increment on the TAX INCL price would also have to factor in the user's tax rate...

21 Nov 2011, 8:14 AM
#925
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Dynamic Price Updater

If we have a different stock for different attributes, can we also dynamically get visible the amount of different items like the price goes with this module?

21 Nov 2011, 9:08 AM
#926
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Dynamic Price Updater

ellivir:

If we have a different stock for different attributes, can we also dynamically get visible the amount of different items like the price goes with this module?

There is this module of "Dynamic Drop Downs for Stock By Attribute" but we would like to have only a list of attribute stock amounts, not dropdowns.
Also the dropdown module seems to have some issues by reading the forum of other users. The best of course would be to have the function in this Dynamic Price updater since it is dynamically changing the price, it could also show a table of the attributes stock information.

21 Nov 2011, 11:07 AM
#927
gangees avatar

gangees

New Zenner

Join Date:
Feb 2011
Posts:
16
Plugin Contributions:
0

Re: Dynamic Price Updater

gangees:

Thanks for quick response Chrome, I am running a sale using the salemaker and the price updater works very well, please click here to see. Click the next button through products 1 - 4 to see it in action.

I would just like the "Save: 15% off" text to remain, together with the old price with the strikethrough, instead of it appearing briefly then vanishing.

Hi Dan,

Just wondering if you've had any time to think on this (and I'd say from the number of posts here probably not!)

I could try and work on this myself with my tech friends, perhaps if you or anybody could give me a hint as to which piece(s) of code makes the old price and sale information dynamically appear and disappear, as I can't find it.

Might be able to work something out from there. :flex:

Thanks

21 Nov 2011, 8:17 PM
#928
zaal avatar

zaal

New Zenner

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

Re: Dynamic Price Updater

I uploaded the files following the readme file but it's not working. The dpu_ajax.php should be in the folder includes?

22 Nov 2011, 12:06 AM
#929
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi guys

I'm really sorry I've been non-responsive over the past few [far too long's]... I have been keeping an eye on the thread and trying to work on things but getting time for a decent response has eluded me... Please let me try and remedy that somewhat now

gangees and nolsowski, I've checked the issue out and I see exactly what you mean... I need to update the routine that identifies sales... I will get on to this

moesoap, rats, nothing is ever easy :smile:... Apologies for the delay; let me get back to it and see what I can do

CybaGirl, hey! I did fix those errors but various (entertaining, for other people) network problems lost those files... It wasn't a massive fix so please bear with me and I will prepare a fixed version

Thanks for the offer gangees :smile:, believe me I will bear that in mind :wink:... Give me a little bit, though, and I'll do my level best to get fixes released

Zaal, do you have a link?

Thanks to all for your patience and I really am sorry for leaving so many questions unanswered

Dan

22 Nov 2011, 12:15 AM
#930
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi, again

schoolboy, hmm, let me look into that... I'll see what I can do for you

ellivir, what you are requesting seems quite complex... It would require a lot more integration and communication... I'm afraid my commitment to the Updater users requires me to fix the more generic errors (as with sales) for the best support... As soon as I've fulfilled that commitment I will certainly consider your request and build it in

I hope you understand that there are some outstanding issues that I need to address first

Cheers!

Dan

22 Nov 2011, 8:30 AM
#931
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hi, again

ellivir, what you are requesting seems quite complex... It would require a lot more integration and communication... I'm afraid my commitment to the Updater users requires me to fix the more generic errors (as with sales) for the best support... As soon as I've fulfilled that commitment I will certainly consider your request and build it in

Dan

Yes, I know this is not a simple matter by having stock saldos dynamically there as well but it would be excessively handy and cool. Definitely would lift up the whole ZenCart in a new level. I'm serious because Magento etc are running way too fast compared with ZC but still there are some great things in here and this is a shop platform worth to develop.

Thanks for your efforts Dan!

22 Nov 2011, 6:31 PM
#932
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Re: Dynamic Price Updater

Hi, I installed the tool on a site with version 139H and it works great, and on another site does not work with version 139G and gives me error:
[22-Nov-2011 19:27:14] PHP Warning: reset () [<a href='function.reset'> function.reset </ a>]: Passed variable is not an array or object in \ includes \ classes \ dynamic_price_updater.php on line 197

[22-Nov-2011 19:27:14] PHP Warning: Variable passed to each () is not an array or object in \ includes \ classes \ dynamic_price_updater.php on line 198

What could be the problem. Thanks

23 Nov 2011, 3:40 PM
#933
zaal avatar

zaal

New Zenner

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

Re: Dynamic Price Updater

Hi I installed and it's working but I have an issue. My starting price is 0 and in that case the addon does not work. I have the option to fix to starting price to 1 and it will work but I will need disable the add cart when the price is 1. How to disable the button "add to cart"? Something like "if the price > 1 then addtocart=true else =false. I'm not good on php and I need help to fix the issu.

1 Dec 2011, 4:58 PM
#934
ddezine avatar

ddezine

New Zenner

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

Re: Dynamic Price Updater

I am running 1.3.9.H, and I am having a problem with this update. I had the old version of dynamic updater, so I went to put the _ under the file jscript_updater.php

Next I loaded all of the new files but now I get an error when loading any product page.

Status returned - not found

This error is removed when I delete the jscript_ajax_updater.php

Thanks

14 Dec 2011, 8:08 PM
#935
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Dynamic Price Updater

hi,

I installed the Dynamic Price Updater onto my site. I followed the readme.txt file and put the three files in their proper places. If you look at my site: https://www.calzuro.com/new/store you will notices that the spinning icon shows up but when I click one of the options the price does not dynamically change. Does anyone know why or how to fix this?

Thanks for the help.

14 Dec 2011, 9:53 PM
#936
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dynamic Price Updater

I had the same problem with it, but fortunately I got hold of an old version which does not use the ajax feature, so I installed that instead.

Unzip this, and load it to:

modules\pages\product_info\

Make sure to REMOVE the other version first...

(Use at your own risk... I am not the author of this file).

15 Dec 2011, 2:18 PM
#937
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Dynamic Price Updater

Great! It works! Your the best!!!!!!!!

Do you happen to know where I can get ride of the "Your Price:" so it just displays the price?

Thanks

15 Dec 2011, 2:26 PM
#938
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Dynamic Price Updater

You should ask in the Dynamic Price Updater support thread. The author is active and helpful.

15 Dec 2011, 2:37 PM
#939
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Dynamic Price Updater

Does anyone know where to get ride of the "Your Price:" so that the line just reads the price?

Thanks!

15 Dec 2011, 2:40 PM
#940
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dynamic Price Updater

kdipaolo:

Great! It works! Your the best!!!!!!!!

Do you happen to know where I can get ride of the "Your Price:" so it just displays the price?

Thanks

As there is only ONE file, the reference has to be in that file. Just find it and remove it TAKING CARE not to remove essential bits of code.