Prerequisites
Before getting started, make sure you have the following:
- Access to templates in Gift Reggie (Professional plan or higher required.)
- Access to Shopify Flow (For solution 2)
Overview
There are two ways to limit the number of registries a registrant can create. Choose the solution that best fits your store setup:
- Solution 1 — Liquid variable check (recommended for most stores)
- Solution 2 — Shopify Flow with customer tags
Solution 1: Liquid Variable Check
Gift Reggie provides a built-in Liquid variable called managed_registries.size, which returns the total number of registries associated with the current registrant. You can use this variable in the "proxy_create.liquid" template (Preferences->Templates) to enforce a registry limit.
How it works
The example below restricts each registrant to a maximum of one registry. If they already have one, they will see a custom message instead of the creation form.
Add the following logic to your "proxy_create.liquid" template:
{% if managed_registries.size == 0 %}
{% comment %}
Place all proxy_create.liquid content in this block.
This block only displays if the registrant has no existing registries.
{% endcomment %}
{% else %}
{% comment %}
Display a message here for registrants who already have a registry.
Example: 'You already have an active registry.'
{% endcomment %}
{% endif %}
To allow a different number of registries, change the condition.
Solution 2: Shopify Flow with Customer Tags
This solution uses Shopify Flow automation combined with customer tags to track registry ownership.
How it works
Gift Reggie integrates with Shopify Flow and provides several triggers, including "Registry created" and "Registry closed". You can use these triggers to automatically add or remove a customer tag that indicates whether a registrant currently has an active registry.
For step-by-step instructions on setting up Shopify Flow with Gift Reggie, refer to the following guide:
Gift Reggie — Shopify Flow Integration Guide
How this method works
-
When a registry is created
Use the Registry created trigger in Shopify Flow.
Add a customer tag such as:
has_registry
-
When a registry is closed
Use the Registry closed trigger.
Remove the
has_registrytag from the customer.
Update
proxy_create.liquid
Check whether the customer already has the has_registry tag and allow or prevent registry creation accordingly.
Example logic:
If the customer does not have the tag → allow registry creation
If the customer has the tag → show a message that they already have a registry
The benefit of this method is that you will be able to use this tag for different purposes as well, such as making a list of customers who has registry, etc.
|
⚠ Important Consideration This solution only applies tags to registrants going forward — it does not retroactively tag customers who already have registries. This method is only recommended if your store has very few existing registries (you will have to manually add a tag to existing registrants in Shopify Admin), or if Gift Reggie was recently installed and no registries exist yet. |