skip to Main Content

I am creating an app in Shopify where I have to add additional fields to Shopify and show these fields in the Shopify order admin page. Please guide me to complete this task.
Please see screenshot http://prntscr.com/fsqiux

Thanks

2

Answers


  1. There is no way in Shopify to extend the admin page. If you need to store additional info to an object, for example an order, you can use metafields. What you can do with Metafield and all resources are explained at https://help.shopify.com/api/reference/metafield

    Login or Signup to reply.
  2. You can simply do this by setting cart attributes. No need to create an app.

    Documentation

    For example, you can use the following code.

    <p class="cart-attribute__field">
      <label for="new-attribute">New Attribute</label>
      <input id="new-attribute" type="text" name="attributes[New Attribute]" value="{{ cart.attributes["New Attribute"] }}">
    </p>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search