A coupon code is generated programmatically on a particular day.

The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the order is seen in admin, the discount seems to be only applying for the first product and sales_order table have the coupon_code field as NULL for that order.

  • under the actions tab there is a section: "Apply the rule only to cart items matching the following conditions (leave blank for all items)." It is here that you would say: If ALL of these conditions are TRUE: Category is shirts – Savan Patel Mar 30 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.