Shopify Custom Fields Help Center

Default Field Values

Follow

Comments

4 comments

  • Avatar
    Phong Nguyen

    Please add the feature to have default value when creating custom fields.

  • Avatar
    Bonify Support

    Hi, Phong. Great idea!

    Another alternative is to create one global field and add that to your template, which will only need updating in one place.

  • Avatar
    Phong Nguyen

    Thanks John for your reply!

    If I set a Globals Field, how do I get it back in Liquid code? Also, for Globals Field, the customer has to go to the app to change/set it? As oppose to like Products, they can just change/set them in the products.

    https://db.tt/jAkbglH3FV

  • Avatar
    Bonify Support

    Hi Phong,

    Click on "Configure Fields", then "Theme Info". The exact liquid snippets are in there. 

    Yes, the Customer would manage the values within the app as opposed to using the Chrome Extension.

     

Please sign in to leave a comment.