I have a custom quote item attribute (v_code) and I want to use this when creating a cart sales rule.
Scenario: If a cart item has a v_code, it's included/excluded from the discount.
I've managed to ...
I am using multiple stores, I wanted to get all the coupon code of a particular store.
In Magento 2 database, salesrule_website table have stores related information, but their is no model/collection ...
When I try to redeem a coupon code I get an SQL error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rule_coupons.expiration_date' in 'where clause', query was: