Skip to product information
1 of 1
Published:2023.10.03

[Dawn] Example of settings to redirect to another URL after submitting the inquiry form for the Shopify theme "Dawn"

[Dawn] Example of settings to redirect to another URL after submitting the inquiry form for the Shopify theme "Dawn"

Applications

  • Contact formEdit

How to implement

  • LIQUID
View full details

By default, the contact form in the Shopify theme "Dawn" displays a message immediately upon successful submission and is complete. However, there are times when you may want to jump to a different page (URL) for measurement purposes or to display a message without a separate form. Here is an example of how to do this.


Example of settings to redirect to another URL after submitting the inquiry form for the theme "Dawn"


Setup Step 1: Add the scheme to "contact-form.liquid" and the label to "ja.schema.json"


Setup Step 2: Modify the code in “contact-form.liquid”


Step 3: Setting in the Theme Editor


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

Add scheme to "setting_scheme.json"


Add a label to "ja.schema.json"