Shopify themes, liquid, logos, and UX
Hello,
I am struggling with the layout of my products on my store.
i would like to replace the product title and the product vendor with metafields
on the first line I want product.metafields.custom.geurnaam (this one should replace the title)
on the second line I want product.metafields.custom.concentraat
on the third line I want product.metafields.custom.merk (this one should replace the product vendor)
With your help I was able to get this set up in my old theme but unfortunately just copying doesn't help.
The image on the left shows how i want it , the right one shows its current state
https://el5298tkybtt82ws-53265825967.shopifypreview.com
Thank you for the help i appreciate it
Solved! Go to the solution
This is an accepted solution.
Go to your Online Store > Themes > in the theme you want to edit > click "..." > Edit code > find product-grid-item.liquid file, find this line of code
<div class="grid-item__meta-main">
Replace 2 lines of code below it with those codes
<div class="grid-product__title">product.metafields.custom.geurnaam </div>
<div>product.metafields.custom.concentraat</div>
<div class="grid-product__vendor">product.metafields.custom.merk</div>
Save your file
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
hello @Bramm ,
So this would be correct code .
Go to your Online Store > Themes > in the theme you want to edit > click "..." > Edit code > find product-grid-item.liquid file, find this line of code
<div class="grid-item__meta-main">
Replace 2 lines of code below it with those codes
<div class="grid-product__title">{{product.metafields.custom.geurnaam}} </div>
<div>{{product.metafields.custom.concentraat}}</div>
<div class="grid-product__vendor">{{product.metafields.custom.merk}}</div>
This is an accepted solution.
Hi @Bramm ,
I have reviewed your requirement, you just need to edit code liquid and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file "product-grid-item.liquid". In this file, search class="grid-item__meta-main" and replace lines of code below it with this code snippet :
<div class="grid-product__title">{{product.metafields.custom.geurnaam}} </div>
<div>{{product.metafields.custom.concentraat}}</div>
<div class="grid-product__vendor">{{product.metafields.custom.merk}}</div>
In this step, you will replace the product title and the product vendor with metafields as you describe:
- The first line I want product.metafields.custom.geurnaam (this one should replace the title)
- The second line I want product.metafields.custom.concentraat
- The third line I want product.metafields.custom.merk (this one should replace the product vendor)
Step 3: Save your code and reload this page.
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Go to your Online Store > Themes > in the theme you want to edit > click "..." > Edit code > find product-grid-item.liquid file, find this line of code
<div class="grid-item__meta-main">
Replace 2 lines of code below it with those codes
<div class="grid-product__title">product.metafields.custom.geurnaam </div>
<div>product.metafields.custom.concentraat</div>
<div class="grid-product__vendor">product.metafields.custom.merk</div>
Save your file
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
hello @Bramm ,
So this would be correct code .
Go to your Online Store > Themes > in the theme you want to edit > click "..." > Edit code > find product-grid-item.liquid file, find this line of code
<div class="grid-item__meta-main">
Replace 2 lines of code below it with those codes
<div class="grid-product__title">{{product.metafields.custom.geurnaam}} </div>
<div>{{product.metafields.custom.concentraat}}</div>
<div class="grid-product__vendor">{{product.metafields.custom.merk}}</div>
This is an accepted solution.
Hi @Bramm ,
I have reviewed your requirement, you just need to edit code liquid and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file "product-grid-item.liquid". In this file, search class="grid-item__meta-main" and replace lines of code below it with this code snippet :
<div class="grid-product__title">{{product.metafields.custom.geurnaam}} </div>
<div>{{product.metafields.custom.concentraat}}</div>
<div class="grid-product__vendor">{{product.metafields.custom.merk}}</div>
In this step, you will replace the product title and the product vendor with metafields as you describe:
- The first line I want product.metafields.custom.geurnaam (this one should replace the title)
- The second line I want product.metafields.custom.concentraat
- The third line I want product.metafields.custom.merk (this one should replace the product vendor)
Step 3: Save your code and reload this page.
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
You guys are all amazing, thank you!
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025