Jump to content

Price Impact not working on Shop Front


Recommended Posts

You have not provided any meaningful information that would help us help you ;)

 

What version of PS are you using?

Link to the product page.

 

It's likely a misconfiguration of the attributes, or a JS error, but without the above info there is no way for us to know what you did.

Link to comment
Share on other sites

Yes i did i installed the rrp module i think i added a line of code to the product.js the instructions were

 

#

#----------[ OPEN ]----------

#

themes/prestashop/js/product.js

 

#

#----------[ FIND ]----------

#

if(typeof(firstTime) != 'undefined' && firstTime)

refreshProductImages(0);

else

refreshProductImages(combinations[combination]['idCombination']);

 

#

#----------[ REPLACE WITH ]----------

#

if(typeof(firstTime) != 'undefined' && firstTime)

refreshProductImages(0);

else

{

refreshProductImages(combinations[combination]['idCombination']);

// hide the RRP

$('#rrp_price_display').hide();

}

Link to comment
Share on other sites

  • 4 weeks later...

It's very odd, it looks like the attribute combination is being selected properly, but just the price part in not being updated.

It has to be related to a change you made.

You could try to add some debug code to product.js and see if it is getting to the part that should update the price or not.

 

If you don't know how to do that, I suggest trying to use the default PS theme that came with 1.4.6 and see if that fixes the issue, it would al least let you know that the reason it's broken is because of your theme changes rather than something else in Prestashop.

 

Make sure to turn of force compile (Preferences-Performance) after changing any .tpl file.

Link to comment
Share on other sites

Well I've tried to use the default theme it still didn't work. So I upgraded the whole site to 1.4.7.0 and its still not working arghhhh

 

 

I don't have the slightest idea about debug code so I'm not going to mess I would most likely kill the whole thing.

Link to comment
Share on other sites

Arg!!! this one bugged the 5H!T out of me, but I think I finally figured it out.

 

It looks like your Currency Rate is set to 0, which is messing everything up.

 

Check it at Payment->Currencies, and make sure it is set to 1 for you default currency (you may want to use the update button).

Link to comment
Share on other sites

OMG something i never thought about and so simple :unsure: It was bugging the hell out of me too! All working now.

 

Thank you soooooo very much for your time and energy spent on this.

 

Wooohooo all set up and nearly ready to go now only the 7000+ products to add lol

 

Again thanks very much.

Dawny x

Link to comment
Share on other sites

  • 2 months later...

Hi fellows, since we are posting about "Price Impact" I have set up a product (chocolates) in two sizes. The main product price has a set price of ¢7,500 ($15), so in the attributes I have set the option "8 Chocolates" to "Impact Price: None". For the "16 Chocolates" option I have set the "Impact Price" --> Increase --> of ¢5,000 ($10) and it even says "final product price will be set to ¢12,500 ($25)".

 

The issue arises when a customer selects option "16 Chocolates" and the system just goes crazy and displays ¢2.517.750 ($4800) but if you add it to the cart it displays the correct price: ¢12,500 ($25).

 

I am running 1.4.7.0 and deleted/re-created the attibute but the problem persists. The website can be found here:

 

http://tivicr.com/fl...ero-rocher.html

 

Thanks in advance and God Bless!

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

×
×
  • Create New...