Active
Project:
Commerce Pricing Attributes
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2014 at 09:36 UTC
Updated:
11 Jan 2019 at 17:47 UTC
Jump to comment: Most recent
Comments
Comment #1
vivek.saurabh commentedComment #2
kunalkursija commentedHi Vivek,
Did you find any solution for this ?
Comment #3
Trey commentedI just ran into this problem, I fixed it by changing the weight of the rule that applies the pricing attributes to be higher than the weight of the discount rules... now all of my discount rules have a weight of 0 and my pricing attributes rule has a weight of 2. This does not apply the discount to the pricing attributes which is the preferred behavior for our site.
Comment #4
vivek.saurabh commentedHi Kunal,
Please try the solution mentioned by Trey, and let us know if that works for you or not.
Comment #5
riff raff commentedTrey's solution worked for me - the discount rule was stomping the attribute pricing modification. Altering the weight of the "Commerce pricing attributes calculation" rule solved the issue.
Thanks Trey!
Comment #6
tadesign commentedHi,
I have exactly the same issue Vivek had originally. The rules weight change mentioned in #3 works, but as mentioned only for a case where the discount shouldn't apply to the pricing attribute cost. However I have a site that require the attribute cost to be discounted as well.
I had the discount setup as a product discount so I tried changing it to the order discount which does seem to work but then I get other issues which don't appear with the product discount i.e. the VAT amount shows the wrong value even though the subtotal/discount/total are correct. I also need to exclude a certain product type from being discounted and so far have only managed to do this with the discount set to product.
Does anyone have any ideas on how to get the attribute price not to zero with the discount applied and apply the discount to the attribute without changing the rules weight?
Kind Regards
Richard
Comment #7
Anonymous (not verified) commented@tadesign / Richard, we've found this issue as well and have the same question. Did you ever find a solution?
Thanks,
Anne