I am making a React.js Shopify store for a client using the Storefront API. I want to use the standard Shopify checkout process, but want to disable all other pages of the standard shopify store template. I keep finding redirects in the checkout flow and email notifications, and want to ensure no one ends up at the .myshopify.com site, instead of my custom store.
Is there a way to disable the storefront, but still retain the checkout process?
I’m wondering if the Shopify Buy Button would work for you here. The Buy Button is a sales channel which links to the Shopify checkout allowing you to sell your products on websites, blog posts or even create checkout links to send to customers in an email or social media. It essentially offers the Shopify checkout without any of the other aspects of a website such as a storefront.
You can see the guide Shopify has for how to add the Buy Button sales channel here as well as how to create a Buy Button once the sales channel has been added here.
Hopefully, this helps and is what you’re looking for.
Thanks for the response. Just a couple follow up questions -
Can the buy-button checkout be associated with a logged-in user? I have the login function on the storefront via the api. It also looks like the “Sign In” Link on the checkout page redirects to the Shopify generic storefront. Can that template be edited to redirect to my custom store?
Will the buy button / api still work with the $9 Shopify Lite plan?
No problem at all. Hope it helped. Let’s look at your follow up questions:
I’m not sure exactly what you mean when you ask if the buy button checkout can be associated with a logged in user? It would act the same as a store for the admin side of things. So if you had any staff accounts added to the account, it would allow them to access and see the admin with the permissions you gave them. Is this what you were asking?
Yes, the buy button will work with the $9 Shopify Lite plan. In fact, that is the basic function of the Lite plan.
Hey guys, any solution for this? @Nick I don’t think you understood his question. I am in a similar position where I am using the Shopify Storefront API to create a fully custom shopping experience. With that API you can build just about anything, and use the Shopify eCommerce platform to manage users, inventory, etc. Linked here: https://shopify.dev/api/storefront. This Storefront is essentially a private app, that operates as a sales channel in Shopify. However, is there a way to remove the defaults store in favor of this custom storefront?
Some of the issues I am facing are that the email templates are tied to the online store, so removing the store would remove those email templates.
Facebook, Instagram, and other sales channels link to the default store as opposed to the custom storefront.
And more.
I would really love it if we can get some clarity on this use case.
I am also wondering the same thing.
The whole API is nice but there are still parts that are rough.
For example, I need custom payment options like iDeal, Bancontact etc which is not possible to do through the API, therefore, I can’t build a custom checkout page and I need to redirect to the checkout page from the default store for them to finish the checkout. And because customerAccessToken is not like being logged in when you redirect to the checkout page they are not logged in. I think this part is still a pretty big mess.