Jump to content

Price override in hook ActionProductPriceCalculation removes all cart rules


klifort

Recommended Posts

I need to completely disable all types of discounts for specific products (for example, products with IDs 32 and 56).

This includes:

  • Catalog price rules (category-based discounts)
  • Customer group discounts
  • Any discount rules added by modules
  • Any cart-level price reductions applied automatically

The goal is to ensure that when these products are added to the cart, the final price is always exactly the product’s base price defined in the product settings (with tax as configured), without any modifications.

I know that the actionProductPriceCalculation hook is responsible for this, but I don't know how to do it.

PrestaShop 8.2.1

Edited by klifort (see edit history)
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...