Jump to content

Texture/Color attribute causes items to display $0


Funkeh

Recommended Posts

Hey guys, I'm having some weird problem with javascript I guess. I have assigned some texture attributes to one of my products. On the front office category page and the shopping cart it lists the price correctly, but when I actually click the item it shows as $0.

I did some googling and found out it is probably a javascript error, and can only find some old fixes from 2014 which don't apply to prestashop 1.6.1.10.
Please help guys, the javascript file is 2000 lines long and I don't even know where to begin.

Thanks :)

prestashop v1.6.1.10
website is http://www.seamlesslybeautiful.com.au/

post-1344056-0-51792400-1482987699_thumb.jpg

Edited by ZoeySheree1993 (see edit history)
Link to comment
Share on other sites

 

Are you using the latest version of the template? It seems like an issue with /js/product.js file in the theme (most likely updateDisplay() method). Since you are using the default template, could you try replacing product.js with the latest one? (download latest PS 1.6.1.10 and upload that file to your server, rename the old product.js in case you have to roll back)

Link to comment
Share on other sites

Are you using the latest version of the template? It seems like an issue with /js/product.js file in the theme (most likely updateDisplay() method). Since you are using the default template, could you try replacing product.js with the latest one? (download latest PS 1.6.1.10 and upload that file to your server, rename the old product.js in case you have to roll back)

Hey thanks for the reply, I'm actually using a custom theme and not the default one, I'm also already using prestashop  1.6.1.10. 

Would it be helpful if I copy pasted the updateDisplay() function from my product.js so you can have a look at it?

Link to comment
Share on other sites

Hey thanks for the reply, I'm actually using a custom theme and not the default one, I'm also already using prestashop  1.6.1.10. 

Would it be helpful if I copy pasted the updateDisplay() function from my product.js so you can have a look at it?

 

Your custom theme only changes some colors and fonts from the default theme (just css), everything else looks identical. So as I said the first test would be to replace the product.js in your theme directory with the product.js from the default template (latest version). If that does not solve it then we would have to look into the code. 

Link to comment
Share on other sites

  • 2 weeks later...

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