[Checkout Extension] Same Product Across Different Store

[Checkout Extension] Same Product Across Different Store

pcx-krfg
Shopify Partner
5 0 3

Hi everyone, good day. I'm new to Shopify and working on a checkout extension.

 

Question

Is it possible to have a single product available to other stores through checkout extension? If not, what's the proper way to be able to be able to have the same product across the extension users?  

extension.png

 

Functionality

Provide a checkout extension that allows users to donate and help the environment. When the user ticks the checkbox, the extension will add the donation product to the cart. If they untick it, the extension will remove the product.

donate-ui.png

Current Progress

I was able to me this work but only on the store that owns the product I was using in development. When I installed the extension to a different development store, it won't be able to access the product since it was from another store.

Replies 2 (2)

pcx-krg
Shopify Partner
1 0 0

Seems the option is to add a product after my app is installed. I haven't tried it as I'm still reading the documentations and can't find if it's possible to have a callback when my app is installed.

pcx-krfg
Shopify Partner
5 0 3

What I did was to create the product upon user installation. I used the `afterAuth` callback in our remix project.