izar74:
Hi again Crhome, sorry to bother you again, I wasn't able to figure out why DPU add 0,01 to every price in the product page, do you have any suggestion?
Wich file is responsable for the update of the price?
Many thanks
izar74:
Hi Chrome, perhaps i found the Solution!!!
In dynamic_price_updater.php at the line 83 there is this code:
$product_check = $this->_db->Execute("select products_tax_class_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$this->_post['products_id'] . "'" . " limit 0");
I changed "limit 1" to "limit 0". Really i don't know exactly what it does but it work... the price are now correct..
The question is... which are the side effect of that change? :shocking:
Chrome:
Hi
First off, sorry all, things have been very, very busy of late... I know I've said this before but I'm going to try my best to get some new test code sorted over the next week
Izar: What you're doing there is disabling the tax... If it works for you that's great but it might indicate an issue somewhere else in the code... I'll wait for more feedback on this one as the matter of the Updater not playing with other Ajax modules is more pressing
News soon, I hope!
Dan
Hi Dan,
I have just installed version 2 of DPU and I am having the exact same problem as mentioned by izar74 in the first quoted post of this message.
I used his method to correct the issue. But in your reply you mention that by doing this the tax is disabled.... Not to sure what you mean by this. As the tax price doesn't seem to be changed in anyway on the checkout page.
For example. If I remove DPU the tax price on checkout is no different to the tax price shown on checkout when DPU is installed.
So are you referring to the tax being change somewhere else in the store?
So if possible could you please clarify what you meant by this? As I am concerned there may be issues with using izar74's fix.
Although version one seemed to work perfectly in every way as per my previous post. There was one issue I noticed this morning with it disabling my javascript bookmark script that I use on my ZenCart store for some unknown reason. Now when I say it was disabling it. It was stopping the script from displaying the "Bookmark Us" text from being displayed on the page.
So I tried version two in the hope that it would work with my bookmarking script and it seems to work well and doesn't disable it. But then I noticed I am now having the same issue as izar74.
So was wondering do you have any further thoughts on this? Or any idea why version one is disabling my bookmarking script from showing on the page?
If you could provide any additional help on this. It would be very much appreciated.
:smile: