Jump to content

Price doesn't change according to combination on click


Recommended Posts

Hi, the problem is pretty much the same as the topic. If I click on attribute in product view and each attribute has different price, it does not change the price. The thing is, I have a product that doesn't have a price (0) in default, it only has price that comes with different combination and each combination has different price. It still shows 0 and it doesn't change. I tried to have default price, but the price still stays the same. Shouldn't it be changing on click? I am using prestashop 1.3.6.

Thanks.

Link to comment
Share on other sites

I spent a lot of time looking for a solution. I installed fresh version of prestashop and it was working. So I found out that the problem was in one of my modules, core manager module to be exact. I had to detele this module to make it work. Still don't know why it wasn't working but I am glad it's kinda working now. Why am I saying kinda? Because I don't know why, but the attributes import is kinda messed up or something. I wanna import wholesale price but it doesn't import it into attributes table. So when I go to categories -> mycategory -> productname -> combinations - the only thing I find is how it affects the price but no sign of wholesale price overwriting. And if there's nothing like wholesale price overwriting, it ain't gonna change the price on click. I'll continue in a new topic.

http://www.prestashop.com/forums/viewthread/104935/configuring___using_prestashop/csv_import_combinations_is_not_working_right/

Link to comment
Share on other sites

  • 2 years later...

I had the same error, and the solution I fould was to edit the product.tpl file in my themes/prestashop folder (I'm using the default template).

 

On line 68 I changed

var ipa_default = {if isset($ipa_default)}{$ipa_default}{/if};

to

var ipa_default = {if isset($ipa_default)}{$ipa_default}{else}0{/if};

 

The problem was caused by the JS error, as var ipa_default stayed empty (in the source code it looked var ipa_default= and now it looks var ipa_default=0)

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...