Jump to content

Combinations problem: Can't change quantity attribute on product page [solved]


Recommended Posts

Hello all.

 

I have entered attribute information for all of my products so that there are three different quantity sizes (single item, 5 pack, 20 pack) for each product, and the appropriate drop down box does appear on the product page. However choosing one of the options in the drop down menu has no effect. If 5 pack is chosen (20 pack is default) the price doesn't change as it should and adding the product to the cart adds the default attribute.

 

Firebug shows this error if I try to change the option in the drop down menu: "productAvailableForOrder is not defined"

 

Ideas where I've gone wrong?

 

Example page with error: http://cigarloversun...es-natural.html

Link to comment
Share on other sites

Looks like a problem with your theme.

 

productAvailableForOrder should be defined in product.tpl

You can either compare your product.tpl to a default one from your PS version, and copy that variable.

Or delete that part of the code (that trows the error in product.js).

 

The first option is much better, just remember to clear your smarty cache after changing the .tpl file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...