Personalized checkout and custom promotions with Shopify Scripts
Should just be able to check Input.cart.discount_code and if true then a discount exists, not 100% sure if that works with automatic discounts.
Inspect some of the sample checkout-scripts
https://help.shopify.com/en/manual/checkout-settings/script-editor/examples/line-item-scripts
Similar post seems like it's not obvious to detect automatic discounts and it's rules? not possible?
https://community.shopify.com/c/shopify-scripts/detect-automatic-discounts/m-p/674105
@IvGordiichuk wrote:The user on the checkout can choose whether to use a script discount or enter his own coupon. If you entered a coupon, the script does not work and the coupon discount is applied. If you deleted the coupon - a discount from the script.
Not sure that can be done with just checkout-scripts and would need customizations to checkout.liquid itself for a back and forth system.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024