Have a discount be triggered by a certain "Total" and not by a "Subtotal"
under review
Tobe Osakwe
under review
This could be possible
for order discounts
, by using a CartSubtotalTarget
rather than a set of CartLineTargets
.Especially because our app now adds the calculated discounts together in order discounts.
If we were to implement this, we would likely introduce a new setting, specific to order discounts, where you could decide to apply the discount to either the "subtotal" or "total."
Best,
Tobe
Tobe Osakwe
closed
Unfortunately, we will have to close this thread.
The reason we can't support this feature is not because we don't want to; it's because it's simply not possible.
Due to limitations in Shopify, when our app tries to calculate product/order discounts, the "subtotal amount" and "total amount" given to us are always the same. This means that even if we update our app's code to add this feature, there will be no effect.
Please read this GitHub discussion for more details about this issue.
If Shopify ever addresses this issue, we may revisit this request in the future.
In order to declutter our feedback board, we will close this thread. By doing so, we will be able to focus on other feature requests that are possible, and making Regios Automatic Discounts as good as possible, given the current Shopify Functions limitations.
Best,
Tobe
Tobe Osakwe
Merged in a post:
Discounts based on price after other discounts are applied
Tobe Osakwe
Currently, when a discount is calculated based on the price of items in the cart, the app uses an item's "subtotal amount." This "subtotal amount" is the price of a line item before any line-level discounts have been applied. The "total amount," on the other hand, is the price after any line-level discounts have been applied.
This leads to problems with certain types of promotions. For example, even if an item in the cart has been made free by another discount, the order subtotal still includes the full price of that item.
If this feature were added, you would be able to choose whether an item's subtotal or total amount would be used in discount calculations.
If you'd like us to add this feature to our app, please upvote and comment on this thread.
IMPORTANT NOTE: THIS IS NOT CURRENTLY POSSIBLE TO IMPLEMENT.
Due to limitations in Shopify, when our app tries to calculate discounts, the "subtotal amount" and "total amount" given to us are always the same. This means that even if we update our app's code to add this feature, there will be no effect.
Please read this GitHub discussion for more details about this issue.