Hi Chrome,
That would be awesome. Thanks so much.
Printable View
Hi Chrome,
That would be awesome. Thanks so much.
Just wanted to say thanks for a great little plugin!
When my customers are looking at products, after I implemented this mod, I see dpu_ajax.php as the url they are browsing in the who's online part of the admin. How do I fix this?
Hi
The reason this happens is because the Updater is Ajax-based and browsers request the dpu_ajax.php file. As far as I'm aware there's no way round this. It has been mentioned earlier in the thread if I'm not mistaken, but I don't believe a solution was found
Dan
Congratulations...worked first time.
Some observations on this version 3.1.1.
1) FFox with Web Developer flagged up a js error.
referrring to its first use hereQuote:
Warning: ReferenceError: assignment to undeclared variable updateSidebox
So I declared it at the start:Code:var sbContent = '';
updateSidebox = true; HERE
} else {
updateSidebox = false;
2) Chrome flagged another errorCode:var psp = false;
var updateSidebox;
Referring to:Quote:
Uncaught NotFoundError: An attempt was made to reference a Node in a context where it does not exist.
Changed this toCode:objXHR.prototype.handlePrice = function () {
var thePrice = document.getElementById('productPrices');
thePrice.removeChild(loadImg); HERE
3) I noted that the method of switching off of the sidebox code generation is not implemented. ie it still fires when the sidebox is not enabled in the Admin asCode:if (thePrice.loadImg) {
thePrice.removeChild(loadImg);
}
is set manually in three places.PHP Code:
$show_dynamic_price_updater_sidebox = true;
I did make some effort to make it work but lost interest when passing a variable into the class method, so just disabled the code in the three relevant places as I don't use the sidebox.
This is easier if superglobals is used to show the session variable only.
Scenario
Not logged in.
Go to a product and add it to the cart.
Go to another category and then a product.
The session, navigation object will contain two or three entries, but the last one has the current product_info page and id, and the second-to-last entry the category path as shown below.
Attachment 13287
Now go to the shopping cart.
The “Back to Shopping” button is not linking to the last product but to the index page and the navigation object shows why: the information is gone.
This is what is in the object.
Attachment 13288
This is what should be in the object.
Attachment 13289
What wipes it is the call to application_top.php made in dpu_ajax.php
As I have already spent a phenomenal amount of time tracking this down and there are a few things in this addon's code that I don't get, …I’m handing this over...good luck!
zencart 1.3.9h
display price twice as shown below
Price: $5.99
Price: $5.99
how I can make it once?
Hi guys,
i have installed this addon but unable to get it working.
I am using a template downloaded from template monster
http://homestore.co.in/ is the site.
am i doing something wrong..
plz help
Attachment 13581
See attached file. How to fix price issue? It is appearing twice. Thanks