Shopify themes, liquid, logos, and UX
Is it possible to auto populate the product title field taking values from multiple other shopify fields and metafields?
e.g. We want the product title to follow a set format made up of " VENDOR | META1/META2/META3 | DESCRIPTION "
This so that anywhere within shopify or the online store the full product title as above would be displayed.
Thanks in advance for any advice or suggestions.
Hello @MyHealthOasis
Yes, it's possible to display other fields as a product title. Please follow the steps below:
Step 1: Go to admin and open Edit code
Step 2: Open the main-product.liquid section file to change on the product details page
Step 3: Find {{ product.title | escape }} and replace with {{ product.vendor | escape }} | {{ product.metafields.custom.META1 }}/{{ product.metafields.custom.META2 }}/{{ product.metafields.custom.META3 }} | {{ product.description }}
Note: Make sure to replace the meta fields namespace and key with your meta field namespace and key
Step 4: Save the file and check the result on the product details page
To change the product title over the product card, please follow the below steps:
Step 1: Open card-product.liquid (File may be different based on theme) snippets file
Step 2: Find {{ card_product.title | escape }} and replace it with {{ card_product.vendor | escape }} | {{ card_product.metafields.custom.META1 }}/{{ card_product.metafields.custom.META2 }}/{{ card_product.metafields.custom.META3 }} | {{ card_product.description }}
Note: Make sure to replace meta fields namespace and key with your meta field namespace and key
Step 3: Save the file and check the result over various pages where product cards display
Please hit Like and Mark it as a Solution if you find our reply helpful.
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Shopify Development Agency | Call: 877.536.3789
Canada: 150 King St W. STE 200, Toronto, ON M5H 1J9
| USA: 98 Cutter Mill Rd. STE 466, Great Neck, NY 11021
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025