Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ajax Attribute Price change does not work on my site


manuelnex

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...