Active
Project:
Commerce Discount
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2015 at 21:30 UTC
Updated:
8 Sep 2016 at 14:45 UTC
Jump to comment: Most recent
Follow-up to #2557119: Allow discounts to indicate compatibility with other discounts
Discounts are complicated enough problem as it is, and this compatibility feature is causing confusion for both users, and bugs in it's current implementation.
@see:
#2618072: Compatibility settings not honored with multiple coupons, allowing multiple discounts on order
#2621526: Compatibility settings other than "all" causes Discount+Coupon to be removed
Disable this feature and move it to an experimental option under the discount settings.
Write patch to hide it.
Removes compatibility settings by default.
Comments
Comment #2
rszrama commentedIt appears to me the issue is with the way the Coupon module itself operates, not necessarily the feature in question. This proposal seems to introduce additional complexity - it would seem better to just fix the Coupon module than temporarily undo something we have to redo at a later date. : )
Comment #3
mglamanThis will cause some issues with existing deployments which are using compatibility. If the issue is Coupons then coupons needs to be fixed.
Comment #4
torgospizzaThe issue appears to occur (at least to one tester) even without Coupons. See #2621526-28: Compatibility settings other than "all" causes Discount+Coupon to be removed
Comment #5
ordermind commentedYeah, this has nothing to do with coupons. Order discount compatibility can possibly be saved with a patch but product discount compatibilities are utterly broken. I'll see what I can do but probably we need different condition callbacks for order discounts vs product discounts in order to show correct discounts when listing products.
In any case I urge you not to remove this feature as it is quite important. We should fix it instead.
Comment #6
ordermind commentedThere, I've fixed it: https://www.drupal.org/node/2618072#comment-11592333