Jump to content

Cart rule didnt work with a addon that i purchase


milan9615

Recommended Posts

Hi All,

 

I am new to prestashop. Please help me.

Prestashop Version : 1.5.6.2

I have purchased a new module to create a cart rule. But default cart rule and rules created by addon can be applied at 1 time.

A new add on create a new cart rule every a user add a product to cart.

I want to uncombine both of them.

If cart rule is applied from addon than no cart rule has to apply at that time.

 

I tried this

 

update ps_cart_rule set cart_rule_restriction = 1

 

Also

in "public function registerDiscount ..." section of ReferralProgramModule.php

 

example after line 90

 

$cartRule->quantity_per_user = 1;
$cartRule->cart_rule_restriction = 1;

Edited by milan9615 (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...