Troubleshooting Subscription Creation in Shopify

If you run into issues with your Ordergroove Offer displaying on your product pages in Shopify, there are a few places you can look to double check that the code is correctly injected on your end.

 


Check Your Ordergroove Settings

Oftentimes the code is not appearing because you did not enable subscriptions. To see the enrollment offer, you either must click ‘Go Live’ on the Ordergroove homepage or click ‘Accept New Sign-Ups’ on the Shopify Settings page. If you see “You’re Live” on the Ordergroove homepage, that means you are accepting new sign-ups and should now see the enrollment offer.


Inspect Your Theme Code

For Ordergroove's subscription offer to appear on your site, your product details page (PDP) needs to be tagged with an Ordergroove code snippet. Our app does its best to automatically inject our code partials into the correct code files.

Follow the below steps on your PDP to check that it is tagged with our offer code:

  1. Open the product page in question, and right-click to Inspect the page
  2. CTRL-F the elements 
  3. Search for “og-offer”
    1. If you do not see “og-offer”, check that Ordergroove is properly tagged in your theme’s code files.
    2. If our app could not automatically tag your product details page (PDP), you can do it manually by following the steps found here.
  4. Expand the code to see if a selling plan id is attached to the offer code.

If selling plan IDs are present, try the following:

  • Check your theme for code from a previous subscription application. Ordergroove's offer may not appear correctly if there are code snippets from other subscription programs present.
  • In the Advanced Editor of the enrollment offer in Ordergroove, check that there are no errors present in the HTML or CSS sections.

If selling plan IDs are present, try the following:

  • Check your theme for code from a previous subscription application. Ordergroove's offer may not appear correctly if there are code snippets from other subscription programs present.
  • In the Advanced Editor of the enrollment offer in Ordergroove, check that there are no errors present in the HTML or CSS sections.

Products Change Subscription Status in Cart

In some cases, you may see a product change from one-time purchase to subscription or subscription to one-time purchase when two of the same product exists in the cart. This is not an issue with the Ordergroove offer. Instead, you need to create two separate products or variations to prevent a duplication in behavior.

This behavior is expected when you are using the same product ID across multiple products
because our local storage tracks the product ID. The og-offer tag element is required to have a specific product attribute. This attribute allows one to opt in, opt out, and change the frequency of an opt-in.

If you run into a scenario where there are either multiple opt-in’s or offers with the same product ID, our local storage does not see them all as unique because they have the same product ID attribute.