manuelnex Posted November 13, 2013 Share Posted November 13, 2013 sorry for my English I use a translator I installed Ajax Attribute Price (http://addons.oscommerce.com/info/7916) by uploading all the files because my site is a new installation on my site http://vecchigiocattoli.com/shoppertest/product_info.php?products_id=26 but even if I change the model order, through the total does not update. What I'm doing wrong? Many thanks to those who help me hello Manuel Quote Link to comment Share on other sites More sharing options...
De Dokta Posted November 13, 2013 Share Posted November 13, 2013 Hi, take a look to the source code of your site: http://vecchigiocattoli.com/shoppertest/product_info.php?products_id=26 The code of the javascript from the file change_price.js is missing. It may help to change the code in template_top.php from: <?php // ajax_attribute_pricechange if (basename($PHP_SELF) == FILENAME_PRODUCT_INFO) { ?> <script type="text/javascript" src="js/change_price.js"></script> <?php } // End ajax_attribute_pricechange ?> to: <script type="text/javascript" src="js/change_price.js"></script> In my version of Ajax Attribute Price the js-script from change_price.js is directly integrated into the product_info.php (after the last closing ?> at the end of the file) - and that works! Greetz J.J. Quote Link to comment Share on other sites More sharing options...
manuelnex Posted November 14, 2013 Author Share Posted November 14, 2013 Hi, I have tried to replace as you suggested me <?php // ajax_attribute_pricechange if (basename($PHP_SELF) == FILENAME_PRODUCT_INFO) { ?> <script type="text/javascript" src="js/change_price.js"></script> <?php } // End ajax_attribute_pricechange ?> with this <?php // ajax_attribute_pricechange if (basename($PHP_SELF) == FILENAME_PRODUCT_INFO) { ?> <script type="text/javascript" src="js/change_price.js"></script> <?php } // End ajax_attribute_pricechange ?> but doesn't work :( are you so kind to give me your version, please? How much cost it? have a nice evening, thanks MAnuel Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.