Skip to product information
1 of 1
Published:2023.11.26

Example of how to add a custom Liquid input field to the right of the cart memo field (below on mobile) in the Shopify theme "Dawn"

Example of how to add a custom Liquid input field to the right of the cart memo field (below on mobile) in the Shopify theme "Dawn"

Applications

  • Cart Edit

How to implement

  • LIQUID
  • HTML/CSS
View full details

Although the title of the Shopify cart memo can be changed by "Edit Default Theme Content", it is not possible to add any comments. Here is how to set up the theme "Dawn" so that you can post supplementary information for the cart memo that can be edited with custom Liquid.


Example of setting to add a custom Liquid input field to the right of the cart memo field (below on mobile screen) in the theme "Dawn" so that comments can be freely inserted


Setting Step 1: Add the schema to "settings_schema.json" and the label to "ja.schema.json"


Setup Step 2: Add code to display custom Liquid in "main-cart-footer.liquid"


Setup Step 3: Go to "Theme Settings" > "Cart" and set the content you want to display in the Liquid code editing box.


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 the schema to "settings_schema.json"


Add a label to "ja.schema.json"


Add code to "main-cart-fo...

Related Post