Re: Dynamic Price Updater
Hi
I need to change the position of the DPU line: At the moment it shows underneath our add to cart button. I really need to be able to move it above here as we have quite a lot of options.
I have gone through product-info-display.php, but can see that it is written by JQuery not PHP.
Please could anyone advise?
Re: Dynamic Price Updater
Also I am getting a conflict error thats stopping another function working on in MSIE and iPad (Safari)
I have used Firebug and the Console is throwing the error:
Quote:
TypeError: objSB.appendChild is not a function
I am using the latest version of DPU as the site is only 4 months old.
Please could anyone advise? Is this a known error?
Re: Dynamic Price Updater
Quote:
Originally Posted by
dharrison
Hi
I need to change the position of the DPU line: At the moment it shows underneath our add to cart button. I really need to be able to move it above here as we have quite a lot of options.
I have gone through product-info-display.php, but can see that it is written by JQuery not PHP.
Please could anyone advise?
Actually this one I did resolve myself: Under configuration My Store > Dynamic Price Updater, Under Where to display the second price I changed from the location from cartAdd to productAttributes.
And this appears after the declared element :blush:
Re: Dynamic Price Updater
I assume I am the only one getting a conflict error. :dontgetit
Re: Dynamic Price Updater
Quote:
Originally Posted by
dharrison
I assume I am the only one getting a conflict error. :dontgetit
No you're not :cool:, but I think most people don't know.
I did some changes to get rid of the error, I'll have to look them up. I will come back later to tell you what I did.
Re: Dynamic Price Updater
Aww thanks design75. I remember lst year on setting this up how helpful you are. :cool:
Re: Dynamic Price Updater
Hello
Do you have a solution for calculating with Discount in Percent ?
Thanks
Re: Dynamic Price Updater
Hello Design75
Do you have a solution for calculating with Discount in Percent ?
Thanks
Re: Dynamic Price Updater
Quote:
Originally Posted by
dharrison
Aww thanks design75. I remember lst year on setting this up how helpful you are. :cool:
I think this is the code you were looking for, in the file "includes/modules/pages/product_info/jscript_dynamic_price_updater.php"
form line 309 remove the following lines. These are I believe obsolete.
PHP Code:
<?php
$show_dynamic_price_updater_sidebox = true;
if ($show_dynamic_price_updater_sidebox == true)
{
?>
createSB();
<?php
}
?>
And maybe the whole function init() can be removed, but I haven't tested that yet
Re: Dynamic Price Updater
I thought it had, but it doesn't seem to have made any difference.