For the complete documentation index, see llms.txt. This page is also available as Markdown.

Membership status and duplicate purchase protection

Use membership status tags to help a custom cart recognise existing members. Membership ownership and access to benefits are separate: a member who skips a payment still has a membership, but their benefits pause during the skipped period.

Prevent a second purchase of the same tier

  1. Open Membership Tiers and edit the tier.

  2. Under Membership rules, enable Prevent duplicate membership purchases, then save and publish.

  3. Confirm Memberply checkout protection and Memberply duplicate-membership protection are enabled in Shopify's checkout settings.

The setting is off by default. Leave it off if repeat purchases of that tier are intentional. Other tiers remain independently purchasable, subject to their own rules.

When enabled, customers must sign in at checkout. Memberply blocks another purchase of the same tier while an ongoing membership exists, including paused, skipped and failed-payment subscriptions. A customer whose cancellation is scheduled remains a member until their access ends. A cancelled or expired membership can rejoin, subject to any rejoin cooldown and free-month limit.

An authorised payment-setup link for an imported member can still establish billing for that membership. Ordinary cart links cannot use this exception.

Customer tags for custom themes

Replace PRODUCT_ID with the numeric Shopify membership product ID, not a variant, selling-plan or internal Memberply tier ID.

Tag
Meaning

memberply-free-month-used

This customer account has a recorded free month. Permanent, including after cancellation.

memberply-ongoing-PRODUCT_ID

This customer already has this membership. Hide the join offer, including during a pause or skipped period.

memberply-benefits-PRODUCT_ID

This customer currently has access to this membership's benefits.

memberply-paused-PRODUCT_ID

This membership is paused or currently in a skipped benefit period.

Memberply publishes these tags as membership changes are processed. It retries failed publications and shows Shopify sync issues in member management. Saving a tier with duplicate protection enabled for the first time also publishes status for its store's existing members before activating the protection. These tags do not replace the merchant's configured benefit tags or cancellation tags.

For an existing member, show Manage your membership instead of another join offer. Use benefit tags, not ongoing-membership tags, for member prices and shipping. Existing store credit is independent of these tags and retains its configured expiry after cancellation.

Example Liquid for a signed-in customer:

Your theme supplies membership_product from its selected membership product. Read benefits_tag separately to decide whether member prices apply. Shopify customer tags are available to the theme only when it recognises the signed-in customer.

Free-month behaviour

The permanent tag reflects the same redemption history used by Prevent repeat free months. Tracking begins when that restriction or Track who has used a free month is enabled; it does not infer older trials. Cancelling or refunding does not clear the marker. Checkout protection matches recorded email history across customer accounts; a different email may not match. Signed-in accounts with recorded usage remain ineligible even if their checkout email changes.

A custom cart must explicitly select the free or paid selling plan and show the applicable charge. The paid monthly plan includes No trial in its name. Checkout protection rejects an ineligible trial; it does not change selling plans. Signing in during checkout may require returning to the cart and refreshing it before the theme can select the paid plan.

Check your storefront before launch

Test a new customer account, an active member and a member in a paused or skipped period. Confirm that existing members see a management link, only members with current benefits receive member prices, and checkout rejects a second purchase of the protected tier. Also check that an ended membership can use the paid rejoin plan when eligible.

Synchronisation and limits

Tags and checkout state update after Memberply processes Shopify events. They are not an atomic reservation: simultaneous purchases before event processing completes can require review. Hiding the join button alone is not checkout protection.

The checkout function reads the app-owned $app:memberply customer metafield membership_state, containing version, ongoingProductIds, benefitProductIds and pausedProductIds. Product IDs in these arrays are strings. Custom themes should use the documented tags instead of depending on access to app-owned metafields. Do not manually edit Memberply-managed status tags.

Multiple subscriptions to the same tier

With duplicate protection off, an additional subscription to the same tier retains the existing subscription. Each contract keeps its own billing and fee-to-credit processing. The trial policy remains separate: allowing another subscription does not automatically make it eligible for another free month.

Cancelling one subscription does not remove membership access while another ongoing subscription to that tier remains. A paused or skipped subscription does not suspend benefits provided by another unpaused subscription. Benefits pause when all ongoing subscriptions to the tier are paused or in skipped benefit periods. A scheduled skip does not remove benefits before its start.

Changing to a different tier retains the existing tier-change workflow. Test your custom cart separately; enabling multiple subscriptions does not change your theme's join buttons or pricing rules.

Last updated