Skip to main content

Offer a membership in the cart

Show shoppers a membership offer on your cart page and in your cart drawer, so they can add it with one click.

Show shoppers a membership offer on your cart page and in your cart drawer. A shopper who is buying something else can add your membership with one click, without visiting a product page. Use it when you sell memberships next to regular products.

Availability: The cart offer is included in every Appstle Memberships pricing plan.


Before you start

  • Turn on the app embed. In your theme editor (Online Store → Themes → Edit theme), open App embeds and switch on Appstle℠ Memberships. The offer loads from it. See Install and set up Appstle℠ Memberships.

  • Choose a membership to offer. Its product must be active, published to your Online Store sales channel and in stock, with a membership plan attached. See Create a membership plan. You offer one product (one variant, if it has several) and one frequency, for example monthly.

  • Check the plan’s additional questions. You can’t offer a plan that has a question with Is Required ticked in Additional Questions, because shoppers add the offer without answering it. See Personalise Membership Experience with Form Fields.


Set up the offer

  1. In your Shopify admin, open Apps → Appstle℠ Memberships.

  2. Click More, then under Customizations click Widget Settings.

  3. Click the Cart Widget tab.

  4. In the Membership offer card, tick Offer a membership before checkout.

  5. Next to Membership product, click Choose product. In the Choose a membership product window, tick the product, or the variant to offer if it has several, and click Add. To pick another one later, click Change product.

  6. In Membership frequency, choose the frequency to offer. The list shows the frequencies of your plans on that product.

  7. Change the Heading and Button text if you want. They start as “Join our membership” and “Add membership”. The heading can have up to 100 characters and the button text up to 50.

  8. Under Placement, tick Cart page, Cart drawer or both. Both start ticked.

  9. Leave Cart drawer selector (optional) blank. You need it only if the offer doesn’t show in your cart drawer: see “Show the offer in a cart drawer” below.

  10. Click Save in the bar at the top of the page. You see “Membership offer saved”.

  11. Add any product to your cart and open the cart page. Test as a guest, or signed in as a customer who isn’t a member of this plan: its members don’t see the offer.

This is the card with an offer ready to save:

The second card on the tab, Membership details on cart items, has no settings. It notes that most themes already show the plan name on each cart item, and links to a guide for adding the price or updating an older theme.


What shoppers see

Shoppers see a box with your heading, the product name, the plan name and its price, and your button. Here it is on a cart page in Shopify’s Horizon theme, with the default wording:

Where the box sits depends on your theme. In Horizon themes it’s above the cart items. In Dawn and similar themes it’s below the items, just above the subtotal. The box takes its fonts, colors and button style from your theme, and has no design settings of its own.

The line under the product name reads like “Coffee Lovers Club monthly · $9.99 / month”. If the product has variants, the variant name follows the product name. If the price changes after the first payment, for example after a free trial or a discounted first payment, the line adds “, then” and the later price. The price follows the shopper’s currency.

When a shopper clicks the button, one membership goes into the cart and the box disappears. The shopper then checks out as usual, and the membership starts when they pay. On the cart page, the offer shows even when the cart is empty.


When the offer shows

The offer shows only when all of these are true:

  • The cart has no membership in it yet. A membership of any plan counts.

  • The shopper isn’t a member of this plan yet. A signed-in customer who has the plan’s customer tag doesn’t see it. Members of your other plans still see it, unless your membership limit stops them.

  • The shopper hasn’t reached your membership limit. If you turned on Allow membership per customer in Shop Settings, a signed-in customer who has reached that limit doesn’t see the offer. See Shop Settings: change how memberships behave across your store and Limit how many memberships a customer can buy.

  • The plan is open to the shopper. If the plan uses Require Specific Tags or Exclude Specific Tags, the offer follows the same rule. Guests don’t see an offer for a plan that requires tags.

  • The product is active, published to your Online Store sales channel and in stock.


Show the offer in a cart drawer

The offer finds the cart drawer by itself in Shopify’s Horizon and Dawn themes and in themes built like them. If your drawer comes from an app, such as a slide cart app, or from a custom theme, the offer may not show in it, even though it shows on the cart page.

In that case, enter a Cart drawer selector (optional): a CSS selector for the part of the drawer where the offer should go. The offer is added at the top of the element the selector matches. Your theme developer or support can give you the right selector. If the selector isn’t valid, Save shows “Enter a valid cart drawer selector, or leave it blank.”


Things to know

  • One offer per store. You offer one product (one variant, if it has several) and one frequency. To offer something else, change the product or the frequency.

  • Cart page and cart drawer only. The offer doesn’t show in checkout.

  • One wording for every language. The heading and button text show exactly as you enter them, whatever language the shopper browses in.

  • Saving checks the offer. Save shows an error if the product isn’t active, the frequency is no longer available, or the plan has a required question. Choose another product or frequency, or fix the plan, and save again.

  • Later changes count too. If you later archive the product, delete the frequency or make one of the plan’s questions required, the offer stops showing. It comes back when you undo the change, or when you choose another product or frequency and save.

  • The offer uses your plan as it is. The shopper pays the plan’s price and gets its perks, the same as when they join from the product page. See Add perks to a membership plan.


Troubleshooting

If the offer doesn’t show or doesn’t work, check these:

What you see

What to check

The offer doesn’t show anywhere

Check that the Appstle℠ Memberships app embed is on, Offer a membership before checkout is ticked and saved, and at least one placement is ticked. Then check that the product is active, published to your Online Store sales channel and in stock.

It stopped showing after I changed the plan or product

Check that the product is still active and in stock, that the plan still has the frequency you chose, and that no question in the plan’s Additional Questions has Is Required ticked. The offer comes back when you fix it, or when you choose another product or frequency and save.

It doesn’t show when I test it

Check whether you are signed in as a member of this plan, or whether the cart already has a membership. Both hide the offer. Test as a guest, or signed in as a customer who isn’t a member of this plan.

It shows on the cart page but not in the cart drawer

Your drawer may come from an app or a custom theme. Enter a Cart drawer selector (optional), as described above.

Some customers don’t see it

Check the plan’s tag rules and your Allow membership per customer setting. The offer follows both.

Save shows an error

Choose an active product and a frequency, and enter a heading and a button text. If the error mentions sign-up questions, untick Is Required on each question in that plan’s Additional Questions, or offer another plan.

“Could not confirm the membership. Check your cart and try again.”

Open the cart and check whether the membership was added. If it wasn’t, click the button again.

Need help? Email [email protected] and tell us your store address.

Did this answer your question?