Hosted Checkout
Publishing the checkout page
By default, your BigCommerce stencil storefront will be inactive and in maintenance mode after setting up a trial store. In order to allow customers to go to the checkout page hosted on this stencil theme from the headless WordPress site you will need to provide a preview code which can be acquired from the BigCommerce admin.
You can also publish your stencil theme in BigCommerce by going to Channel Manager
and making your store active.
Linking back to your headless cart from the BigCommerce checkout page
The default checkout functionality in the headless WordPress Blueprint is to take the user to the BigCommerce checkout hosted on the stencil theme with BigCommerce.
On this page there is a link back to Edit Cart
which will go to the url of the stencil theme in BigCommerce and not the headless WordPress site the user came from.
Clicking the store name or logo on the checkout page will also direct customers back to the stencil theme.
You will need to manually change this link back to your eCommerce Blueprint by editing the stencil theme in BigCommerce directly.
For more information about BigCommerce Stencil, see the BigCommerce Stencil documentation.