Demo index

Developer Resources

Tags, cart sessions, events and headless set-ups.

10 docs

  1. Shopify pre-order tags and line-item properties 3 min PreProduct marks every pre-order with two built-in signals: a "pre-order" order tag and a hidden _preorder line item property. This doc covers how each works, and…
  2. Pre-order cart session 3 min The PPcartSession class is available on any page with PreProduct's <script> tag. It's usually not necessary to interact with, but does expose some public methods for…
  3. Quick-buy buttons 3 min Quick-buy buttons are the add-to-cart buttons sometimes present on collection pages. They allow a shopper to purchase without visiting the product page. PreProduct can convert these…
  4. Adding to cart for headless stores 2 min PreProduct can't automatically determine your cart URL endpoint in a headless setup. If you need to accept mixed-carts of buy-now and pre-order items, then read the…
  5. Pre-order javascript events 1 min PreProduct provides custom Javascript events that let you run front-end code for pre-order products. Here's a guide for the available events.
  6. Shopify Pre-order metafield 2 min PreProduct has a Shopify pre-order metafield that can be used to target products when they are on pre-order.
  7. Pre-order data-attributes 1 min While most customizations are handled through the PreProduct app, you can add special pre-order data-attributes to your PreProduct tagged buttons or snippet for custom functionality.
  8. Single-page apps/stores 1 min PreProduct can integrate with JavaScript frameworks like React and other single-page applications.
  9. Custom line item properties 2 min PreProduct can add extra Shopify line item properties to your cart and resulting orders. This works for both mixed and isolated redirects.
  10. Using native store buttons for pre-orders 2 min PreProduct automatically detects and tags existing add-to-cart buttons on most Shopify themes. First enable the Pre-order support app embed, then use Check my theme from the…