Skip to product information
【Dawn】Shopifyで特定のパラメータで流入された際にそのパラメータ名と値をorder.attributesとして注文情報に引き継ぐ設定例
Published:2023.10.11

[Dawn] An example of how to set up Shopify to pass on specific parameter names and values to order information as order.attributes when a specific parameter is entered

This is a slightly nerdy example of customization. This is a setting example for passing on the parameter name and its value to the order data so that it can be determined that the purchase came from a specific inflow route, such as in an ambassador campaign. If the specified parameter is given when accessing the store, the value is passed to the cart attributes.


An example of a setting that, when a specific parameter is entered, passes the parameter name and value to the order information as order.attributes.


Setup procedure: Create a new section file "takeover_urlparam_to_order.liquid" and set the Schema


How to use: Add "Parameters to pass to order" to the footer section group and specify the parameter name


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

View store information

[Dawn] An example of how to set up Shopify to pass on specific parameter names and values to order information as order.attributes when a specific parameter is entered

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Create a new section file "takeover_urlparam_to_order.liquid" and set the Schema

↗ Related Post

すべてのShopify TIPS

View all