Skip to product information
1 of 1
Published:2024.01.11

A setting example for instantly applying a company discount coupon to a target user by simply registering and logging in to a Shopify account

A setting example for instantly applying a company discount coupon to a target user by simply registering and logging in to a Shopify account

Applications

  • DiscountEdit
View full details

This is a setting example for automatically applying a company discount coupon to a Shopify store when a member registers with their company domain email address. The coupon will be applied from the second time onwards by simply logging in. Even if the coupon is removed after purchase, a reapply button will be displayed in the header.


An example of how the company discount coupon can be applied immediately when the target user simply registers and logs in to their account


[Setup method 1] Create a flow that assigns a "company discount" tag to users who register with an email address in the company domain. Set the target customer segment and create a coupon that can only be used by that segment.


[Setting Method 2] Add a hidden item to the "main-register.liquid" and "main-login.liquid" forms to transition to a promotional URL that applies the coupon code.


[Setup Method 3] Add a custom Liquid section to the header group in the theme editor and insert code to show that the coupon has been applied and a reapply button.


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

テーマエディタでヘッダーグループにカスタムLiquidセクションを追加しクーポンが適用されていること&再適用ボタンを表示するためのコードを挿入

Related Post