cancel
Showing results for 
Search instead for 
Did you mean: 

Facing Issue while creating Order,Cart rule is getting applied

Facing Issue while creating Order,Cart rule is getting applied

A cart price rule is set in the magento ,so when an order is being prepared in an extension a rule is applied on the quote due to which a discount is applied on the final order,I don't want to remove the cart rule,but need to change make some changes in the extension while generating quote,so that no cart-rule can get applied on the final order.
Already Tried
quote->setAppliedRuleIds(' ')
quote->setcouponcode(' ')
quote->setDiscount('0')
removed quote->collecttotal->save()

Discount is getting applied on the final price of the order