• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Aaron
#1 Posted : Tuesday, October 11, 2011 2:37:49 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Scenario
- Create two Shipping Discount offers with 100% discount that apply to the same method (in our case one of the offers required a coupon code and could not be combined with other offers)
- Use "Apply Offers - Stacked Discounts" workflow step instead of "Apply Offers - Greatest Discount"

The offer without the coupon code will be applied immediately and everything works as it should. Now add the coupon code for the second offer and proceed to checkout (in our case we're using the stock one-page checkout). Once you choose the shipping method that the offers apply to you'll see a negative shipping amount. In other words, the 100% shipping discounts are being combined and are now discounting the order beyond the amount of the shipping method. What should happen, in my opinion, is that the workflow step should ensure that the shipping discount amount never goes negative. I can't really think of a reason why you would ever want this behavior. I added a little code to the workflow to do just that.

Looking at the other code in the workflow step I'm concerned that this same issue could happen with other types of discounts. I realize that using the "Apply Offers - Greatest Discount" workflow step would not have this issue, but I want the stacking behavior.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012