Skip to product information
【Dawn】Shopifyで特定の流入元から購入された際に商品をプレゼントする場合の設定例
Published:2024.09.10

[Dawn] Example of setting up a gift when a purchase is made from a specific source on Shopify

用途

With Shopify, you can use a discount (coupon) promotion URL to offer discounted sales to visitors who come from a specific page (such as an influencer account), but this is an example of how to set it up if you want to run a campaign that automatically gives away products instead of offering a discount.


Example of setting up a gift when purchasing from a specific source


[Method 1] Add a customized Liquid section to the header group and insert code that sets the from parameter to the cart attributes.


[Setup Method 2] Create a Flow that adds a product to an order when specified values are set in the cart attributes.


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

View store information

[Dawn] Example of setting up a gift when a purchase is made from a specific source on Shopify

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a customized Liquid section to the header group and insert code that sets the from parameter to the cart attributes.

↗ Related Post

すべてのShopify TIPS

View all