Hi moesoap
It's not working for music? Hmm, that's odd... I've never really tested there... Do you have a URL so I can take a look?
Dan
Printable View
Hi moesoap
It's not working for music? Hmm, that's odd... I've never really tested there... Do you have a URL so I can take a look?
Dan
Sorry Dan I don't have a direct link as it's on localhost.
If I price via attributes in music, no price displays, it just says YOUR PRICE: Also Product Prices Second doesnt display.
Works great on the normal Product_info_display
Is there any files i can attach that might help?
Thanks.
Hi moesoap
I see the problem now... Didn't consider that... Easy fix... Copy the file jscript_ajax_updater.php from /includes/modules/pages/product_info to /includes/modules/pages/product_music_info/
And that should do it... Let me know how you get on
Dan
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.
Thank for any help!
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.
I copied both those files to product_music_info and I tried changing this to productMusic however it didnt make any difference.PHP Code:
function init() { // discover the selects that are required to adjust the main price
var centre = document.getElementById('productGeneral');
Sorry I am not a coder :)
I am having the same trouble as gangees. I have added specials http://frompropertorocker.com/index....roducts_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....roducts_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!
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/showpo...&postcount=791
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/showpo...&postcount=860
If you can let me know if this issue has been resolved when you get a spare moment that would be great :).
Thanks.
:clap:
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...
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.
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
I uploaded the files following the readme file but it's not working. The dpu_ajax.php should be in the folder includes?
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
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
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!
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
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.
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
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: 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.
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).
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
Hi all
I'm really sorry for not updating: I am suffering ill health... Although I'm not yet ready to properly resume work on the Updater I feel I have to interject at this point with a question: schoolboy, why did you not reference my sig? The DPU link has the original V1 (non-Ajax) Updater with a readme and folder structure
The 'fortunately I got hold of an old version' is available on my site as V1 and contains instructions on modifying... Nothing you do with the Updater V1 will affect your site permanently
I'm sorry I haven't been able to support the Updater as I promised; I'll get back to pace soon, I promise
Cheers
Dan
:sleep: Get well soon fella
..and Merry Christmas! :cheers:
Hi Dan
Firstly... I trust you are recovering from your illness. Not pleasant when one has lots to do, and people like me adding to the stress.
Secondly... I should indeed have checked to see if the original version was available, but pressed for time I had a zip of the old one so just quicly attached that to my message (above).
When you are feeling better (and certainly after Christmas), I'll try the new ajax version again and perhaps we can work out why it's not functioning on my 1.3.9h install.
Hi
When a user is on the site, it says that they are on a page called;
mydomain.co.za/dpu_ajax.php
Is this normal?
This module is the only module on my site that uses AJAX.
Thanks for your help.
S
Hi Dan,
I hope you are feeling better now?
I have installed the price updater on my site ( www.bluedragonmartialarts.co.uk ) but it doesnt seem to work??? I have followed all the instructions in the readme file, and I have checked all the settings, I think???
Any suggestions as to what the problem could be?
Cheers
Al.
Hello there
Happy Holidays, I downloaded your module and enabled SideBox feature. Everything seems to be working just fine with on exception. I have 10 options for one of my product and after selecting 5 or 6 options the sidebox is not updating and it hangs displaying processing image. Are there any limitations? If i disable sidebox your DPU mod is working just fine..
Thanks for your help.
Hello!
Is Dynamic Price Updater compatible with zen cart 1.5? I'm planning to do an upgrade when it's confirmed to work with it.
Can anyone tell me how to make the price red?:dontgetit
Hi Dan
Fab addon :) Well done
If you are still taking queries I seem to have hit the "status returned - not found" errors that have been reported before - however I cannot see the solution to this
I am using 1.3.9h
Yes I have CEON SEO module installed (as mentioned this might be the conflict?)
I tried this change
// if (_this.XHR.status == 200) {
if (_this.XHR.status == 200 || _this.XHR.status == 503) {
but that didn't help (in javascript_ajax_updater.php)
I also couldn't find yoru JS only version - I only could see the demo one that was still in test or DPV2 - which is older than the version uploaded?
Any help greatly appreciated
Thank you
Sarah
Hi I have DPU installed and this great mod works fine but what I wanted to do was display some attributes as links (href) so when you click on one it changes the price and DPU, so I thought the easiest way would be to just change the attribute drop down and make it hidden all using this code:
<a href="javascript:void(0)" id="option1">£49.00</a>
<a href="javascript:void(0)" id="option2">£89,99</a>
<a href="javascript:void(0)" id="option3">£109.00</a>
<script>
$('#option1').click(function() {
$('select[name=id[2]] option[value=1]').attr('selected', 'selected');
});
$('#option2').click(function() {
$('select[name=id[2]] option[value=2]').attr('selected', 'selected');
});
$('#option3').click(function() {
$('select[name=id[2]] option[value=3]').attr('selected', 'selected');
});
</script>
id[2] is my attribute drop down box which changes fine but DPU does not update as I though it would any idea how I can get around this..
Thanks in advance.
Maxell
Well, i've installed the files ok,
read through the readme,
and.....nothing
am i missing something? :dontgetit
Cookiie
Heres a link
http://www.ezlivingfurniture.ie/bedr.../bedframe-test
Thanks!
Anyone there?
:(
Found a new situation.:oops:
I've installed Ultimate Cross Sell module, and now DPU randomly shows the price from cross-sell items at the same page, not the "main item".
For example, the main item is $20, and cross-sell item is $10, then DPU will show the main item as $10 only. The good news is, it's still $20 when added to the shipping cart.
i know this is an old post, but i'm also trying to display the prices incl vat and excl vat, with the dynamic price updater of course :)
it briefly shows the price incl vat but then disappears...
this is the module for showing prices incl and excl vat: http://www.zen-cart.com/index.php?ma...roducts_id=848
I am doing something very similar to this and have been pulling my hair out for the past fortnight trying to solve the update problem! I thought a simple refresh on the radio button would solve it but it doesn't seem to work!
If anyone has any idea on how to solve this that would be fantastic!
Josh
Has anyone found the solution to this error:
PHP Warning: Variable passed to each() is not an array or object in /home/xxxxxx/public_html/includes/classes/dynamic_price_updater.php on line 198
Line 198 reads like this:
while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {
Any suggestions or a fix would greatly be appreciated.
Thanks
Hi
I don't think this has been posted before, I checked and nothing came up.
I was having problems with define('DPU_SHOW_CURRENCY_SYMBOLS', true);
If I used true it wouldn't update the price. If I set it to false there was no currency symbol but it updated.
To correct this I changed localization/currencies - symbol from $ toI then changed all the other currencies to the html number and it works fine.Code:$
Fingers crossed!!!
Hope this helps.
Mike
Hi
The above code should read & #36; without the space between the & and #
Mike
I mentioned this same error a few months ago. Dan said that he created a fix but has since lost the files and unfortunately I wasn't made aware of the fix files otherwise I would have a copy of them to share with you.
Hopefully he will be better soon and will be able to continue his work on this fantastic mod and these issues will be resolved.
I must say that I am very surprised at the small amount of people who seem to have this same issue. Or perhaps they are not checking their error logs so they are unaware of it?
Either way I hope Dan gets better soon and is able to remember what he did so this mod can be fixed.
A just spent 30 minutes researching this thread and I think I might be missing the forest for the trees. Could someone quickly tell me how to set up price tiers for product quantities. I've installed this contribute, but I can't find anywhere to set this up. Thanks... I'm obviously missing something obvious...:frusty:
I would like to say a great thank you to Dan for this very useful contribution !! really really nice.
I've installed the DPU with msrp support. It works partially good. As you can see here : http://www.fantozzi.net/arredoshop/a...erta-p-21.html , If no attributes selected, the normal price, discont and final, are ok . If you select a "pay attribut", the discount decrease, because the normal price remain as the attribute would not exist (sorry for my english, hope i've been clear). There is a solution on it ?? Thanx again Chrome !!
Bye !
Francesco
Hi,
This is great module and it is really what i wanted in my website. But after installing it I got some problem with it. I can see "Your Price : £213.44(1)" two times on my product info page. Please refer attached image to get more idea.
Any help in this would very appreciated. I am new to zen cart and I tried my best to solve this problem from last two days but couldn't find solution on this.
Many thank,
Vaishali
thanks a lot...it works...omg i'm damn happy... :smile:
Installed this. Looks promising although I'm getting a "Status Returned = Not Found" error on every product page.
Anyone know how to fix this?
thanks
I've detected another issue. It seems to be displaying the wrong price.
I have Ultimate Cross Sell installed as well and it looks like it is displaying the price of the Related Products.
I'm thinking this is the reason it doesn't play nice with the Ultimate Cross Sell plugin. For myself, at least, DPU keeps wanting to use the price of the very last listed item within my Ultimate Cross Sell plugin as the products price. The delay is about 2 seconds after the page load.
Is there a way to get DPU to target values within a certain DIV?
cheers
fired up firebug and tried to debug. here is a screeny of a post and response from the ajax.
Post
http://i1193.photobucket.com/albums/...gkick/post.jpg
Response
http://i1193.photobucket.com/albums/...k/response.jpg
So here is what it looks like:
http://i1193.photobucket.com/albums/...ebigkick/3.jpg
I seem to have a conflict with my authorize.net and dynamic price updater. Happened when I moved cart from one host to another. The answer seems to uninstall dynamic price updater. How do I do that?
using: v1.3.9h
Just delete or rename the following files on your server.
\includes\classes\dynamic_price_updater.php
\includes\modules\pages\product_info\jscript_ajax_updater.php
I just renamed mine until the bug is fixed with it filling my log directory with errors as I mentioned in a previous post a few pages back.
Thanks, did that, and still have same error. uggh.
Guys, I am banging my head against a wall here.
http://www.dev.sgpconsulting.co.uk/w...&products_id=5
The above works exactly as I want it in IE, but the price is not updating in either FF or Chrome.
Any help would be very gratefully appreciated.
Works for me. Have you tried doing a CTRL F5 to reload your cache?
Tried on FF v10.0.2 and Chrome v17.0.963.83
Also if your fussy about cosmetics and having everything perfect like me :laugh:. You might want to move the ajax-loader.gif up a bit more so it can be seen properly. Or just remove it all together.
Also just out of curiosity is there any log files in your cache directory that have a sizing of 393?
Got it all working, client happy. Moved the whole site to their server. And now whenerver a dynamic price update would take place, I get a popup with "Status returned - not found".
Bit of digging in the debug console and it appears that a post is being made looking for dpu_ajax.php in the top level domain rather than in the root of the catalog.
Any ideas?
I need to organize the display of my product attributes pretty much the way it is on the page in your post above! I have searched for HOURS since I stumbled on your post while installing DPU and found nothing remotely similar. Is that your custom work? Part of a template? PLEASE advise...
I just upgraded (reinstalled fresh) to 1.5 today and re-installed DPUv2 and it is not working right, yesterday it was working fine with 1.39
:censored: Is it not compatible with 1.5???
I need some help. The ajax gif image is constantly running and DPS is not displaying price as it should. I also want to get rid of the popup window that says status returned.
Oh and why in the world they would remove UPS and USPS modules from core in 1.5 as standard is beyond me, just doesn't make any sense...
Anyone??? I really need some help here!
Is it possible to hide the base price until someone selects the attribute? If and only if there is a price by attribute? I had a full post here: http://www.zen-cart.com/showthread.p...te-is-selected but I suspect that is was not answered because it was in the wrong area.
Sorry, my question has been asked before but I don’t see any answers as to whether it is possible or not…
Is it possible to modify DPU to work on the Product Listing page?
I’m using ZC 1.5 and DPU is working just fine on the product info page so GoldBuckle it does work, sorry can’t be much more help.
I have modified the product listing page in a couple of ways to get the kind of look/functionality I’m looking for . Basically there are two different module installation scenarios I’ve tried.
1. Options on Product Listing v2.0 MOD
2. column_layout_grid_v_1_3_8 MOD with flexible_product_listing_1_0_prelim ADDON and DD-FPL v1.1 ADDON
Both ways work fairly good but I can’t figure out how to get DPU to work with any of them. Has anybody had any experience with this or can maybe help?
Another question for modding DPU to work on the product listing page...
if the module file jscript_ajax_updater.php for the product info page goes here... /includes/modules/pages/product_info ...where do module files for the product listing page go? It doesn't seem to have a folder?
The product listing page name is "index", just like the home page and category listing page.
Uploaded all the files to the appropriate directories and nothing seems to be working. I checked on the product pages that have radio buttons for attributes on them and nothing. Is there an SQL? Doesn't seem like there should be since it's just javascript. I wonder if it is playing nice with other stuff on my page...
Ok I have a problem...I am running v1.5 with DPU but things are not adding up correctly:
I have a product with no base price - priced by attributes
My first attribute has 2 options:
+$0.10 with one time charge of $17.50
+$0.15 with one time charge of $17.50
with either one of these above options everything add up correct
the next option is for
+$0.01 with one time charge of $20.00
here is where the problem starts:
with the first option of attribute 1 everything is fine
add the second option and instead of the price increasing it is decreasing...any one know why????
http://www.discountprintingservice.c...roducts_id=181
Has anyone got this mod working with dual pricing so that the wholesale attribute prices are correct?:frusty:
Hi All -
Has anyone run into the problem where the prices will filter correctly on the All Products page but not on the Category page? See http://jbj.ciasolutions.ca/
When I click the 14K Gold Filled Collection category and then filter by price of $299-$399 it should filter out the item of $694 but it doesn't. In the All Products the filtering does work. I have Ceon 1.20 installed but they seem to be working together well.
In my web console I am getting a ReferenceError: $ is not defined on line 2 of the file /includes/templates/classic/jscript/dynamic_filter/jquery.dynamic_filter.min.js
It has that error on the All Products page and that works so I wasn't too concerned, but I thought I would mention it.
Thanks!!
Zack
Just installed this mod, I am getting this error: Status returned - Not Found.
Here's a product page to see http://www.pazzle.co.uk/index.php?ma...3#.UInvUMWlUYM
Just click Hoodie and it will try to add £3 to the price...
I know this thread hasn't been active for months :(
I'm having a bit of an issue with the DPU. I can't seem to get it to properly show my sales/special prices it just defaults to the standard price.
Other than that I have modified it just slightly not to include the sidebox, but it's mostly stock.
Any information would be greatly appreciated,
Thanks in advance!
-Igneus
Hi Igneus
Do you have any other mods installed? Also can you provide a URL that I could check out?
Cheers
Dan
https://www.igneustek.net/store
btw glad you're up and about i had read previous that you were under the weather a bit... I will add a special real quick so you can see what i'm talking about. The Apex Predator is now listed at a special price. I've had to do some serious work to get my store looking half-way decent. Still saved me a few weeks of coding it all myself.
Great addon btw.
*edit* I think I may have a custom attributes mod loaded, but nothing out of the ordinary and I'm running some custom java for images but not on the product page.
Thanks in advance for the fast response.
Hi Igneus
Thanks and thanks for your concern... For the first time in a long while I finally feel like I'm getting back in the game
I'll take a look at what's going on but I have some serious catching up to do so it might take me a few days to find a solution for you... Just so you know; I am on it, but in a list-type way :)
Dan
10 -4 on that. I'll check back in a day or two and see how u're progressing. I would like to note as you probably saw - the correct price is shown once the page is loaded, but when the DPU kicks in it shows the original price.
Thanks again,
Terry
Hi
Im using this on ZC1.5
I just got my site shut down by hosting as they say /dpu_ajax.php is using too many server resources
My site gets 1000 page views per day and according to AW stats this file gets requested over 10,000 times
Site is www.go go florist (DOT) com
Can you suggest a way i can reduce the load - is there something wrong with the module or did i do something wrong myself?
Thank you for this very useful conribution
Hi
Creamcrackers: This is a first... The Updater is called every time an attribute is altered, which results in quite a few calls to the dpu_ajax.php file... That's a fairly low-rent file, however, and only performs the same actions as the add-to-cart button... It shouldn't occupy enough resources to be even noticed... May I ask who your host is and what your server setup is? (You can PM that if you prefer)
Terry: I'm really sorry, I haven't had a chance to look at your problem properly yet... I'm still trying to dig myself out of my backlog of code... I'll get to you as soon as I can... Thank you for your patience and again, sorry
News as I have it
Dan
Hi Dan, I have your Dynamic Price Updater mod installed and works great, however I have attributes set up to add a percentage of the main product price or the first attributes price to the cart using the idea found here http://www.zen-cart.com/showthread.p...92#post1159692 from infocom.
This works great and goes through the shopping cart correctly, however I cannot get it to work with Dynamic Price Updater
This is the scenario
Product Price £749.00
Attribute X 15% of product price which displays at £112.35 on the attribute option on the product page.
So 749 + 15% of 749 (112.35) = 861.35
That is exactly what is added to the shopping cart and that goes through all the payment pages as well.
So what I would like is for the 15% of 749 (112.35) to be added onto 749.00 by the price updater on the products page.
By the way I think this is because the price updater thinks 112.35 is 0.00 even though it displays as 112.35
Sorry to bother again but yet i haven't found a solution to the error of "Variable passed to each() is not an array..." in my logs. Here the exact lines:
reset() expects parameter 1 to be array, null given in /var/www/vhosts/laviadellincenso.it/httpdocs/includes/classes/dynamic_price_updater.php on line 197
Variable passed to each() is not an array or object in /var/www/vhosts/laviadellincenso.it/httpdocs/includes/classes/dynamic_price_updater.php on line 198
DPU is working correctly, I just got the chace spammed with this error log... If someone has a solution I'll appreciate a lot ;-)
Hello,
I need help!!
Why its not calculating if product price zero ( 0 ). Each attributes 4.-.
Is this mod compatible with Zen 1.5.1?