To send a restocking notification e-mail, do the following
For live use, you need Email + LINE Pro or higher, or a LINE-only plan of $65 per month or higher. If you see the plan requirements, select [Check plans]. Use test mode to try setup and registrations. SeePlan requirements for favorites and back-in-stock notifications for detailed settings.
- Watch the video to set up
- See the manual and set it up.
- Check which features need App Embed
- Configure publication waiting, retention, and notification tags
- Restocks can wait while an ACTIVE product is unpublished
- Understand routing by registration channel
- Exclude individual SKUs from restock notifications
- Notify store staff when a restock request is registered
- Distinguish total limits from per-send limits
Watch the video to set up
See the manual and set it up.
1. Introduction
It is very important to introduce a "restocking notification function" to e-commerce sites as a measure to prevent lost purchase opportunities due to product stock-outs.
This article explains how to add a "restocking notification feature" for Shopify using StoreCRM and specific settings and notes about "creating restocking notification scenarios".
StoreCRM does not require the introduction of other restocking notification applications, and everything from restocking notification functions to measures using restocking notifications can be realized with this application alone.
Implementing a restocking notification function will not only prevent lost purchase opportunities, but will also collect customer information, so be sure to implement this function.
memo
This article will use the Dawn theme, a free theme.
Paid themes and customized themes may have different file structures. We look forward to working with you!Contact us.
2. Install back-in-stock notifications
Email and LINE notifications use separate app blocks. Select Back in stock notification button for email or LINE back in stock notification button for LINE. Do not change the type of an older combined block to enable back-in-stock notifications.
- Open Online Store → Themes in Shopify and edit the target theme. Consider duplicating the theme first.
- Open the target product template, then choose Add block → Apps in the product information section.
- Add the button for the channel you use, adjust its position, and save the theme.
- On the storefront, open an out-of-stock product variant and check that the registration form opens.
Configure the appearance under Restock notifications → Restock Settings. Use the separate Email and LINE tabs.

Check which features need App Embed
Product-page app blocks load their shared JavaScript. Distinguish product-block use from features that need the StoreCRM common features App Embed, such as list pages, legacy customer accounts, and site-wide widgets. The status displayed in StoreCRM does not confirm product block placement.
If you are using Theme 1.0
- If you are using Theme 1.0, please add the following code to the product detail page
- The product detail page can be found by clicking Shopify > [Sales Channels] > [Online Store] > [Themes] > [Edit Code] > search for "product".
- The file name depends on the Shopify theme you are using. Usually it is main-product.liquid, etc., but if you have a product.json file, it will be the filename.liquid written in the contents of that file.
- To find where to add it, for example, above the [add to cart] button, search for "buy-button" and so on.
<!-- StoreCRM Block -->
<div>
<script type="text/javascript">
if (typeof window.storecrm_data === 'undefined') {
window.storecrm_data = {};
}
window.storecrm_data.loaded = true;
if (!window.storecrm_data.customer_id) {
window.storecrm_data.customer_email = {% if customer %}'{{ customer.email }}'{% else %}null{% endif %};
window.storecrm_data.customer_id = {% if customer %}'{{ customer.id }}'{% else %}null{% endif%};
}
</script>
<div class="storecrm-button" data-type="restock-button" data-product-id="{{ product.id }}" data-variant-id="{{ product.selected_or_first_available_variant.id }}" data-variants="{{ product.variants | json | escape }}" data-current-variant-available="{{ product.selected_or_first_available_variant.available }}" data-product-tags="{{ product.tags | json | escape }}"></div>
</div>
<!-- StoreCRM Block -->設定ガイドで初回の動作を確認する
StoreCRMの[設定]→[再入荷通知設定]で、[設置から初回動作確認まで]を開きます。①ガイドの操作番号で進み具合を確認し、②公開テーマの商品ページにボタンを設置し、③ストアの商品ページでテスト用の再入荷通知を登録して管理画面の一覧で確認します。


続けて、①対象のシナリオのチャネル・本文・有効状態、②対象バリエーションの再入荷、③テストに使ったメールまたはLINEへの受信を順に確認します。各項目の結果を確認したあとで[この操作の結果を確認した]を押してください。



チェックは同じストアを同じブラウザで開くと確認できます。テーマや配信設定を変更したら、該当項目のチェックを外して再確認できます。チェックは確認の記録に使います。テーマの設置、通知送信、シナリオの有効化は各画面で行ってください。
3. Customize the button and registration form
- Open Restock notifications → Restock Settings.
- Use the Email tab for email notifications or the LINE tab for LINE notifications to change button and form text, colors, and sizes.
- To configure each storefront language, select its locale at the top of the page.
- Check the preview, click Save, and verify the result on the storefront.

Delivery rules and login requirements
Configure recipients, sending order, total limits, intervals, and resend policies in Delivery rules. Check the recipient conditions for favorites-based notifications and explicit back-in-stock registrations separately.
Configure guest registration and post-login behavior in Login / Members. Verify on your storefront whether guests can enter an email address or must register or log in.

Configure publication waiting, retention, and notification tags
1. Open restock settings
Where: Settings in the left navigation
Open Restock notification settings.
Check: The restock settings page opens.

2. Open delivery rules
Where: Tabs in restock settings
Select Delivery rules.
Check: Publication waiting and retention settings become available.

3. Set publication waiting and retention
Where: Publication waiting settings in Delivery rules
Enable 1 if restocks received while unpublished should wait for publication, and set the retention period in 2. Nine days is an example.
- 1 Wait for publication — Disabled by default. Enable it when needed.
- 2 Retention period — Default: 7 days. Range: 1–30 days. A changed duration applies to newly held events.
Check: Review the enabled state and duration before saving.

4. Save the settings
Where: Save bar at the top
Review the settings and click Save.
Check: The changes are saved.

5. Check the saved settings
Where: Delivery rules after reopening the page
Reopen the page, select Delivery rules, and check 1 the publication waiting state and 2 the retention period.
Check: The example retains Enabled and 9 days.

6. Check the exclusion and hold tags
Where: Tag fields in Delivery rules
Use Copy for the required tag. Copying does not apply it to a product; apply it to the target product in Shopify.
- 1 storecrm-restock-pause — Discards events while applied. Removing the tag does not revive discarded events. A batch already in progress may not stop immediately.
- 2 storecrm-restock-hold — Retains events and holds subsequent delivery processing. Removing it allows unsent work to resume after publication, stock, and scenario checks.
Check: 1 excludes notifications; 2 holds them. Exclusion takes priority when both tags are present.

7. Check a held event’s expiry
Where: History in Delivery rules
Review the product’s state, reason, and expiry. Expiry is based on when the event was first held.
Check: This example shows an expired event. Expired events are not revived; expiry does not mean the customer’s restock registration was deleted.

Publication waiting retains restock events received when unpublished stock crosses the notification threshold. Publishing alone does not create a new restock event. Publication, current stock, and the scenario are rechecked, so delivery is not guaranteed at the exact publication time.
Tag and setting updates are asynchronous. Releasing a hold resumes unsent work in registration order while preserving progress. Removing a tag alone creates no new event, and notifications already handed off may not stop.
Explicit newsletter consent in the restock form subscribes both new and existing customers. This subscription itself does not require login or email verification. Leaving the checkbox unchecked does not change an existing subscription state.
Restocks can wait while an ACTIVE product is unpublished
When publication waiting is enabled, an incoming restock can be retained even if the product is ACTIVE but not published to the online store. After publication, the retained restock can resume without another inventory increase. No notification is sent before publication.
The retention deadline is based on the original restock and is not extended by each check. The behavior differs when waiting is disabled, the deadline expires, stock is insufficient, or the product is deleted or archived. A temporary failure to verify publication or stock does not permit an unverified notification.
Understand routing by registration channel
1. Review routing by registration channel
Where: Guidance in the restock scenario flow editor
Read Routing by registration channel on the right. The screenshot uses a review scenario to show the guidance location; it does not depict the complete new standard template.
Check: New standard templates route email registrations to email and LINE registrations to LINE. Having a linked LINE account is a different condition from this registration’s channel.

New standard templates open as flow drafts. If a customer registers by both email and LINE, the scenario runs for each registration: one sending step produces one email and one LINE message. Multiple steps send the matching channel at each step.
Notifications originating from favorites follow the configured message and permission conditions. LINE delivery requires the LINE integration contract and setup. Existing scenario branches are not changed automatically.
Create Shopify customers from back-in-stock registrations
Customers who register for back-in-stock notifications are added to StoreCRM. Those who subscribe to marketing emails are also synced to Shopify.
To sync customers who do not subscribe, open Restock notifications → Restock Settings → Email, enable the marketing subscription checkbox in the registration form, and enable Create Shopify customer regardless of marketing subscription status. Save and check the result with a test registration.

Configure duplicate restock notifications from favorites
In StoreCRM, open Back in stock → Back in stock settings → Delivery rules to configure notifications for products with multiple variants that customers have added to their favorites.
| Options | Notification behavior |
|---|---|
| Always send (default) | Send a restock notification whenever each favorited product or variant returns to stock. For example, if a customer favorites both the S and M sizes of the same product, a notification is sent when each size is restocked. |
| Do not send | After a restock notification has been sent for one variant of a product, do not send another notification when a different variant is restocked. For example, after notifying the customer that size S is back in stock, no notification is sent when size M is restocked. |
- Select the desired option and click [Save].
- Reload the page and confirm that your selection is retained.
- Before using this setting in production, use a test customer who has favorited multiple variants of the same product to confirm that notifications are sent as intended.

Exclude locations from restock detection
Under Restock notifications → Restock notification settings → Delivery rules, use Locations excluded from restock detection to select Shopify locations, such as physical store inventory, that should not trigger online notifications. Inventory at excluded locations is not counted when detecting a restock.
While the additional Shopify permission or inventory synchronization is being prepared, StoreCRM continues to use the previous total-inventory calculation. Contact support if a location that you need to exclude is not displayed.

Exclude individual SKUs from restock notifications
Open Restock notifications → Restock notification settings → Delivery rules and open the excluded SKU manager. Search by product name, variant name, or SKU, then select variants under Add SKUs. Remove exclusions from the Registered list. Additions and removals save immediately, independently of the page’s Save button.

Use CSV import for many SKUs. Use a SKU or Variant ID header, with an optional Product ID. Use Variant ID when a SKU is shared by multiple variants. Treat SKUs as text so leading zeros are preserved.
SKU
SHIRT-BLK-M
SHIRT-WHT-L
- Check successful, duplicate, and rejected row counts in the import history. Already registered rows count as duplicates. Correct rejected rows and import them again.
- Wait for Storefront update complete and verify that email and LINE restock registration are unavailable for the excluded variant. Updating or retrying does not mean publication is complete.

Exclusions apply per variant to new email and LINE registrations and restock delivery. Existing registrations are retained. Removing an exclusion restores the normal eligibility checks.
Notify store staff when a restock request is registered
In the same Delivery rules tab, enable staff email notifications, enter one to five recipient email addresses, and save. The default is off. Correct blank or invalid addresses.

Notifications cover new email or LINE requests and reactivated sent or canceled requests. Repeating the same active request does not send another notice. The message includes the product, variant, SKU, channel, registration time, active request count, and management links, without the customer’s name, email, or LINE ID.
Notices are sent asynchronously after registration. Each accepted recipient counts as one email and is not affected by store test mode or customer delivery settings. A notification failure does not cancel the customer’s request. After a test registration, check the staff inbox and registration list.
Distinguish total limits from per-send limits
With Limit the number of notifications, set Total limit for this restock. The limit applies cumulatively even when processing the same restock event takes multiple runs. This differs from the per-send quantity used with Limit the number and interval of notifications. Choose a fixed value or a percentage of stock, save, and verify the settings and delivery history.

4. Create a back-in-stock scenario
- Open Scenario and select Add new scenario.
- Choose Back in stock notification from the trigger list. Available triggers depend on your plan and integrations.
- Set the scenario name, delay, and email or LINE message. Select the no-send option for channels you do not use.
- Search for a message by name. Refresh the list after creating or updating a message.
- Configure follow-up messages, coupons, and execution conditions only when needed.
- After saving, review the configuration and Draft status, then use Test this scenario.
- When ready, change the status to Active. Check test mode and recipients before sending to customers.

SeeCreate an emailfor message editing andAdd a new scenariofor detailed settings.
5. summary
By using StoreCRM, various measures that could not be realized without installing a separate application and linking it with other MA applications, such as the restocking notification registration measures introduced this time, can be realized with this single application. StoreCRM also provides free support for app-related settings (setting up on behalf of the customer) and consulting services to increase sales for customers who have implemented StoreCRM. Inquiry FormPlease feel free to contact us from
Related articles