category oscprofessionals - Blogs - How to Create Meta objects in Shopify

How to Create Meta objects in Shopify

Bhavesha | 4 April,2023 | 5 min reads

Metaobjects are objects in Shopify that allow you to store and retrieve custom metadata associated with different types of Shopify resources. such as:

  • Product Page
  • Collections Page
  • Customers Page
  • Order Page

Create Metaobjects

You can add structured information to your store by using meta-objects. Meta-objects allow you to store information about a product, such as specifications and size charts. By using the shopify admin apps and the meta objects API, you can retrieve and edit meta-objects. Meta objects can also be accessed through the liquid and the storefront API.

  1. Content -> Metaobjects
  2. Settings -> Custom Data
create-metaobjects
create-metaobjects-mobile

Here are the fields required to define a meta object:

  1. In the shopify admin, go to Content > Meta Objects or Settings > Custom Data.
  2. For the new meta-object entry
  3. Give your definition of a name in the Name field. You can edit the type of your meta object before saving it.
  4. Click add field and then select the type of content type which you want to include in this meta-object.
  5. To allow storefront visibility select accessible from the storefront visibility drop-down menu
  6. Add additional fields to your meta objects as needed
  7. Click save.

Creating an Entry

  1. Navigate to content > metaobjects
  2. Click on Add Entry.
  3. When your entries are active, you can publish them to your store. By default, the status of new entries is Active. If the status of an entry is draft, you cannot publish it.
  4. Click save

Editing an Entry

  1. Content > metaobjects
  2. Edit the entry as necessary.
  3. Set the status to drafts or active.
  4. Click save.

Deleting an Entry

  1. Content > meta object
  2. An entry that you want to delete
  3. Delete to remove the entry.
custom-metaobject-mobile

To customize your product page for mete object, navigate to the Customize section

  1. Select “Insert Dynamic Source”
  2. and your respective meta field from the list.
protein-bag
protein-bag-mobile

Having designed high-converting product pages for your online store, you are now ready to attract more customers.

Leave A Comment