No content to show
User Activity
You can't read query parameters from within the Checkout UI Extension. You may be able to link to a cart permalink and pass attributes in the URL so that they are applied to the cart, then read those attributes from within your checkout extension. Th...
04-09-2024
@avilevin2003 any luck with this? I found a way to add attributes to the cart permalinks, but not the checkout url.
This isn't with automatic discounts, but it seems like some newer versions of these Shopify-provided themes will show you any cart-level discounts that you may have applied during checkout *in the cart view*. For example, in this view YUM10 isn't an...
A few things I wanted to add:fetch(`/checkout?discount=${code}`);This alone seems to work, as does this:fetch(`/discount/${code}`);I'm wondering if anyone has seen a case when only doing one or other fails in some cases. Also, with some of the built-...
12-12-2023
What method did you end up using? I am finding some initial success with this:fetch('/checkout?discount=CLEAR')
12-12-2023
Try this:fetch('/checkout?discount=CLEAR')
We have seen this too. Did you find a solution?
@EddieLuong did you find an answer for this? I believ you'd want to write to a JS variable within your liquid template and then read that value from within your my-javascript.js file.
04-18-2023
Make sure you add the `rack_cors` gem to your app. Add this to your gemfile: gem 'rack-cors'Learn more here: https://github.com/cyu/rack-cors
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
2190 | 04-24-2023 05:34 PM |