Jump to content

Problem With Combinations On Product Page


Patrickes

Recommended Posts

Hi,

 

I am having troubles with product combinations on the product page.

I have added a couple of options, but when selecting on the frontend, at first it shows the correct price, but then the page refreshes and is on the default option again.

 

I have some environments where the problem occurs, and one site which works fine.

 

I have the problem in three templates.

 

On test, I loaded the default bootstrap theme to see if the problem is in my templates, or in something else.

https://test.erectiepillenwinkel.nl/nl/erectiepillen/38-libido-extreme-6-capsules.html

Here when clicking, on 12 capsules, the price won't even get updated, and then the page refreshes and is back on option 6 capsules.

 

On this page it stays on the page but the price get's overwritten by the default price.

https://www.erectiepillen.com/erectiepillen/38-libido-extreme-6.html

 

On one production site, the price doesn't get updated, probably bug in the template:

https://www.erectiepillenwinkel.nl/nl/erectiepillen/38-libido-extreme-6-capsules.html

 

This demo shop works fine:

https://prestashop.roerstaafjes.nl/nl/home/8-vitamine-b.html#/26-subscription-weekly

 

Can someone tell me what I am doing wrong.

 

I disabled all native modules, and try to diff all default-bootstrap files between the demo shop and the test shop.

 

Kind regards,

 

Patrick

Link to comment
Share on other sites

The change of the price is on the javascript code and for sure you error is there

 

 

You are doing something after refresh the price take again the old price, you need to check if you change some on query libraries or in the product.js

 

Because the error is on many templates you need be sure you don't change anything on the core files

Link to comment
Share on other sites

Hi,

 

I installed the default bootstrap theme.

So there should be no problem in the theme.

https://test.erectiepillenwinkel.nl/nl/erectiepillen/38-libido-extreme-6-capsules.html

 

But it still refreshes and doesn't show the price for the other attribute option.

 

Please help, I really don't know what is going wrong.

 

May be a setting or something else?

 

Kind Regards,

 

Patrick Swaab

Link to comment
Share on other sites

Hi MerseyRay,

 

Yes I did, therefore it should show other prices, but this isn't working properly.

 

So actually two problems but probably related:

- You don't see the price change

- After you click on a radio button, the page refreshes loosing the # after the .html (which option you selected).

 

I now turned of CCC options, which makes it easier to read the source.

 

Hope someone can help me with this, or had this problem before.

 

Kind regards,

 

Patrick Swaab

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