Hoping to be able to add a Coupon Field to the Sales/Returns screens. Two areas would be great, one on each product line, in case someone has a SKU-specific Coupon, and another under the Transaction payment column, to add one to an entire bill. The code provided to the customer would be entered into the box and the amount would be taken off.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | need_a_coupon_field-2862542-13.patch | 452.99 KB | dylf |
| #13 | add_common_featured_products-2709503-13.patch | 10.04 KB | dylf |
| #11 | need_a_coupon_field-2862542-11.patch | 450.16 KB | dylf |
| #9 | need_a_coupon_field-2862542-9.patch | 449.27 KB | dylf |
| #8 | need_a_coupon_field-2862542-8.patch | 31.61 KB | sorabh.v6 |
Comments
Comment #2
smccabe commentedComment #3
rigids commentedI believe This will be same as current discount module http://puu.sh/vLxTd/545e14562d.png but we will need to store all available coupons in database. Will the coupons be of single use (once used the coupon expires) or multi-transactions based ? Will we also need interface for admin to add coupon codes to POS?
As per the Request there are already 2 types of coupons (Product Specific, Entire Bill)
Comment #4
fergy commentedSame look as the discount for sure. We'll need it as both an item and a transaction option. I would say yes to needing the interface for adding as well.
Comment #5
travis-bradbury commentedI was thinking we'd just be adding a feature to add an existing coupon (ie, commerce_coupon 7.x-2.x). Then we shouldn't have to reinvent anything to create or store coupons and their conditions.
Comment #6
sorabh.v6Comment #7
dylf commentedComment #8
sorabh.v6Hey @dylanf, Uploading patch. I have created text-field for the coupon code for line items and for order as well. Also created CommercePosCouponService. Most of the work is copy paste work. All work is done in discount sub-module of commerce pos module.
Thanks
Comment #9
dylf commentedThis was a fun one! Added a PR here: https://github.com/AcroMedia/commerce_pos/pull/70.
Comment #10
smccabe commentedApplied a 20% off coupon to my order, but it didn't actually do anything, says the coupon is applied but price did not change. Also tried with dollar value and same issue.
Comment #11
dylf commentedComment #12
smccabe commentedCoupons add now, but if I add 2 coupons, it doubles the effect of the first one that was applied, while also applying the second. Applying 2 coupons at a time is fine, but it shouldn't screw up the first one.
Comment #13
dylf commentedNeeded to have the line items cleared from the order before recalculating discounts.
Comment #14
shabana.navas commentedHehe, Dylan, you uploaded the wrong patch.
Comment #15
dylf commentedWOOPS!! It was Friday :)
Comment #16
smccabe commentedHot dog, everything seems good this time, Fixed!