Enable pre-order support for your Shopify theme
- Open Setup in PreProduct and find the Enable pre-order support section.
- Click Reveal Shopify link, then click Enable pre-order support.
- Shopify’s theme editor opens at Online Store → Themes → Customize → App embeds. Switch on the PreProduct embed named Pre-order support, then click Save.

You can also enable the embed manually from Shopify admin by going to Online Store → Themes → Customize → App embeds, switching on Pre-order support, and clicking Save.
Changing themes? App embeds are enabled per theme. If you publish a new or different theme, enable Pre-order support on that theme too.
Check your theme (optional)
PreProduct automatically detects add-to-cart buttons on most stores, so no manual button tagging is usually required. On the Setup screen, expand the Button tagging card labelled “No setup required for most stores”, then click Check my theme. PreProduct opens your storefront and confirms whether it detected and tagged the buy button.
If the check cannot detect your button, use the manual button-tagging fallback below or email hello@preproduct.io.
During onboarding, complete Enable pre-order support first, then Check PreProduct can detect your buy buttons.

Manual button tagging (fallback)
(Only needed when Check my theme cannot detect your existing add-to-cart button)
PreProduct can convert any button to a pre-order button when it has the below data attributes. It will only convert the button when the product in question has an active pre-order listing.
In your theme’s code, paste data-native-pre-order-btn data-starting-variant={{product.selected_or_first_available_variant.id }} within your buy button’s <button ... > tag like the below example. Just be sure to leave an empty space before and after it, and of course feel free to email us and we’ll request temporary store access and add it for you instead.
<button id="add-to-cart" type="submit"
data-native-pre-order-btn
data-starting-variant="{{ product.selected_or_first_available_variant.id }}"
>
Add to Cart
<button/>