Jump to content

Prestashop 1.4 price drop problem and solution


Recommended Posts

Hello,

 

You want a product X to be sold at 50 EUR, and still be able to keep the initial price at 200 EUR.

 

With PS you cannot add a «real» specific price to a product; you can only add a certain amount/percentage reduction to the product.

 

You can either calculate through some calculation the right amount, or you can add directly the fixed prices by adding a “=” in the file classes/SpecificPrice.php:

 

`reduction` > 0

 

(around line 256, version 1.4.8.2)

 

`reduction` >= 0

 

In the ps_specific_table you can then have, in the «price» column, the price of your product (reduction is set to 0). This will automagically add the products with your own prices, and put those products in the «price drop» page.

 

Affected version 1.4.2.5 - 1.4.8.2 (and all 1.4 i think)

 

Best Regards,

Link to comment
Share on other sites

  • 4 years 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...