Re: Dynamic Price Updater
Also while I am thinking about it, I love the update to DPU, great work Design75 on the update, and good to see you back on here too Dan....Dan you probably remember this but I had an issue with DPU not working on my site and you helped me fix it and I have a question about it for both you and Design75...
In the file jscript_dynamic_price_updater.php, Dan you had me change line 35 to:
var theURL = 'http://www.discountprintingservice.com/dpu_ajax.php';
I forgot about this when I upgraded last night and the newer version stalled and I remembered it and changed the same file newer version on line 33 to the same and it started working again...my question is why do I have to do this and shouldn't it work as is with out having to add the code specifically with my site?
Is there something about my site or my DIY template that is causing an issue?
Anyway thanks guys!
Re: Dynamic Price Updater
Hi John
Thanks :smile:
If I remember right, it was a cross-domain security issue that was preventing the Updater from working. The 'hard-coding' of the URL was a bit of a workaround for your host
I'm not sure what setting caused this
Dan
Re: Dynamic Price Updater
Is this issue something I should address with my host?
Re: Dynamic Price Updater
Hi John
If all it means is changing a line of code then not at all. It seems more like a good thing than bad (your host appears to be blocking XSS attacks)
Dan
Re: Dynamic Price Updater
I managed to get a weird bug with DPU v3.0 on ZC 1.5.1.
Installed without issue, configs fine, and functions.
When a product, in any configuration, is "added to cart" for the first time in a session, it's added in duplicate (2 identical items are added, both at the proper cost). Items added after the first item are added are single, and proper cost. However, the displayed price (in product info, dynamicPrice field) is reflective of the current shopping cart total (i.e., even if no product or attributes are selected, the price displayed is the total in-cart. If something is chosen, it updates properly, but adds the price to the total cart price.)
This causes some issues for me, obviously. No error logs are generated, no pop-ups, etc. It appears to work fine other than adding the first product twice and calculating price based on cart total+attribute prices.
Any suggestions? I've uninstalled/re installed, tried version 2 and 3, and read through almost every page in this thread.
Any help would be greatly appreciated.
Re: Dynamic Price Updater
Quote:
Originally Posted by
azzoor
never mind i figured it out :smile:
Have the same problem. Can you explain how you solved it?
Re: Dynamic Price Updater
Hi, Got the plugin working straight away on 1.3.8 and love it. Really makes a difference. Once this I did notice is that when teh feature is turned on the "Add this" plugin icons disappear and erappear when you turn the feature off. Any ideas on how to get them to stay?
Re: Dynamic Price Updater
Hi corseter
Do you have a link so I can take a quick look?
Dan
Re: Dynamic Price Updater
Hi Chrome, Don't worry about it. For some reason they came back by themselves. What I do have an issue with is that when you are logged in as a wholesale customer the main product price still displays the retail price until an attribute is changed and the attributes themselves still display the retail price despite doing the correct calculation whosen chosen. EG attribute displays 180 buts adds 100 to the wholesale price.
Re: Dynamic Price Updater
Hi
The Updater doesn't know about wholesale prices I'm afraid; it merely makes a request for the selected product/attribute from the Cart object. I'm not sure quite how Zen handles this as it's been a while since I worked with that part of the system. If you don't mind giving me a couple of weeks I'll be working with the Cart (and core Updater code) and I'll have a look into it for you
Cheers
Dan