Personalized checkout and custom promotions with Shopify Scripts
We have added a manual payment option to our checkout. When a user chooses this payment option we need any discounts that have been applied to the order through the checkout pricess to be removed or disabled.
Ideally, it would also display a note saying that discounts are not allowed for this option.
The trouble we see is that the Input.payment_gateways tag is only available on payment scripts (not line item scripts).
Any ideas on how to tackle this one?
Hi 👋
To do this I recommend using a Shopify Function and also a checkout extension to display the note. Access to checkout.liquid and Shopify scripts are being depreciated in 2024.
If you need help with this please contact me shule@firstlight.dev
Thanks
Shule
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025