Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi, I want to realize such a function:
When the user buys the specified amount of products, we will give the user a gift. We've created the Buy X, get Y rule in the background. And we have developed a gift pop-up layer on the page to display a list of gifts.
In this shell layer, users can enter purchase gifts. And it has a checkout button. It will jump directly to the settlement page, and this settlement page contains free gifts, and when the user enters other discount codes in the settlement page again, I didn't want it to pass, I don't know how to do it?
I want the user to select a gift that will be added directly to the checkout page without showing up directly on the shopping cart page. I don't know how to do that.
I'm not sure if this can be done through the rest admin api, or if it can be done directly through js in the front page?
Hi,
You can have a look at this doc. Your needs can be solved by using Checkout UI Extensions. But it requires you to have Shopify Plus store.
Regards,
我还遇到一个问题:
当我在使用rest admin checkout api 的时候, 我遇到了一个这样的问题
很显然. 我的搜索结果是 0
我并不想升级为 Shopify Plus