Questions tagged [cart-rules]

10 questions
7
votes
1 answer

Apply custom promo rule using observer in Magento 2

I have created new table in Magento 2, for storing custom promorules, now I have created observer for event controller_action_predispatch_checkout_cart_couponPost and inside that observer I want to check if user has entered any custom rule then…
Dhara Parmar
  • 8,021
  • 1
  • 16
  • 27
1
vote
0 answers

Magento Shopping Cart Price Rule's Are Not Working

Magento Shopping Cart Price Rule's Are Not Working. I Have Add Coupon Code But It Not Reflect Any Output. Please Share Any Documents For The Same.
1
vote
1 answer

Prestashop - Adding voucher (cart_rule) to cart in order to process an order by web service

My mobile App which is an m-commerce App is communicating with PrestaShop as a Back-end. So I'm using PrestaShop web services. I would like to offer the possibility to my customer to add a voucher code that I want to communicate to them. So I've…
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63
0
votes
0 answers

How to reset customer usage of a cart price rule magento 2.4.4

I am looking for a way to reset the usage of a cart price rule in magento. The scenario is this: we have a subscription service called 'the buyer's club' this service uses two rules first rule allows them to purchase any of the buyers club packages…
0
votes
0 answers

Magento cart price custom rule is cycled

I created custom Amasty cart price rule BuyxgetyAutomatically, when I add X product it applies rule and adds y however it gets applied infinitely until it gives error "The requested qty is not available", what might be causing it?
0
votes
1 answer

Prestashop display/hide carrier based on cart rule

I'm using Prestashop 1.6.1.18. I want to set up a cart rule to offer a carrier for purchases over 14 products with the same kind of attribute (grams of pigment: 2 grams). I want to display or hide this carrier on the cart page based on this cart…
DavidM
  • 307
  • 2
  • 6
  • 22
0
votes
0 answers

Adding a specific price in the cart

I would like to add a specific price for certain products in the cart. Currently I achieved that in one shop, but not in the other. I was able to add a specific price to a certain product (attribute) in the cart. I have this code that does the…
Matt
  • 136
  • 2
  • 17
0
votes
3 answers

How to display this product has cart rule in prestashop 1.6

For prestashop 1.6 We have set cart rules for specific product, by adding 3products, another 1 product would be added as gift, This is all working well on cart page, but how to display this on that specific product…
SagarPPanchal
  • 9,839
  • 6
  • 34
  • 62
0
votes
1 answer

Magento Cart Rule BUG - Wrongly applied when "less than" and configurable product

I just found out that Magento seems to have a bug since 1.8 relating to cart rules. let's say we have some configurable products and want to add a "discount" for a specific product if the qty is less then 50. In my case it a surcharge not a discount…
0
votes
0 answers

Coupon wrongly detects money in my cart

I have two products from different category in my cart. Product | Price | Category Bike | $1000 | Two wheeler Car | $2000 | Four wheeler I have created a coupon code OFF10 (10% off) and set only apply to Category Two…
Sankar Subburaj
  • 4,992
  • 12
  • 48
  • 79