This was just what I was looking for, I just added custom pc's to my site, works like a charm :)
This was just what I was looking for, I just added custom pc's to my site, works like a charm :)
would have edited but was too late, just one question, how do I get it to show below a sidebox instead of above?
TIA!
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
Hi
Newby: The sidebox has to live above another sidebox unfortunately... You can change the following line:
to state any sidebox you would like the Updater to appear above (use the ID of the sidebox)Code:var _sidebox = 'manufacturers';
Izar: The file which controls the price determination is in classes/dynamic_price_updater.php... Unfortunately I haven't yet solved this problem (still server issues until my site is transferred) and to be honest I'm not sure where to start... Usually I have an idea of what's wrong but this time I'm completely stumped
Thanks for your patience (again) everyone... I'll try to get this sorted ASAP
Dan
I saw that thanks chrome, basically where as I had it above manufacturers (default), my manufacturers box was at the top of the page (doesn't look right at the bottom), I tried to move tell a friend box to the bottom and put it above that but it didn't seem to like the spaces or using underscore to replace the space and wouldn't work.
I basically need it at the bottom as I have my attributes after the description of the base unit which customers can have the optional upgrades on, so as they are down there making changes they can't see the box, I'll just have to keep manufacturers box down the bottom, still a great addition and very much appreciated for your time to code it.
Hi Newby
The ID of the 'Tell A Friend' sidebox is 'tellafriend', no spaces or caps... Give that a try
Cheers
Dan
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?![]()
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
Thanks Dan,
Until now It work great, dunno if the problem was caused from something in the tax, i'm from Italy so i've adjust the tax rate and so on. Disabling the calculation on tax rounded the value, to be precise the tax calculated are 20% of the value, Zencart is set to display the price WITH tax included, so if I've something which cost €10,00 it will show €12,00 on the product page.
The module add a 1% to the total value so 12,00 become €12,12.
Hope this will help addressing the problem in future.
Bookmarks