Solved

How can I customize row content blocks for different products in Dawn theme?

TBNP22
Tourist
14 0 1

How do I give different products different row content for the same block? For example, I have a collapsible row block called Materials. When I change the row content, it applies to all my products.

Accepted Solution (1)

AvadaCommerce
Shopify Partner
3879 839 963

This is an accepted solution.

Hi @TBNP22,

 

1. In order to add different Materials for each product, you first need to create metafield and then connect it with your theme setting to display metafield on your product pages:

 

  • Create Metafield by going to Setting > Metafields > Products > Add definition > fill out the required info.
  • Go to Products > Within each product page, scroll down to the bottom and you'll see the metafield you've created before, then fill out the specific content for each.
  • Navigate to Online Store > Theme > Customize 
  • Select Products then Default Product from the page selector at the top
  • Within the sidebar menu, click on the Materials section > Row content >  click on the Insert Dynamic Source as the photo attached below > Select the associated metafiled

AvadaCommerce_0-1660357493862.png

  • Finally, hit Save

 

2. Alternatively, you can create a different template for each product and assign it to each product in product settings:

1. From your Shopify admin, go to Online Store > Themes > Customize 

2. Select Products from the page selector then click on Create template

AvadaCommerce_1-1660357608698.png

 

3. Edit the template then save it.

 

Next, you'll need to assign products to each template:

  1. From your Shopify admin, go to Products.

  2. Use the search filter to locate the product that you want to change, or click on the product from the list of existing products.

  3. In the Online store section, use the dropdown menu to select a new theme template to apply to the selected product.

  4. Click Save.

AvadaCommerce_2-1660357608708.png

 

I hope it helps.

 

banned

View solution in original post

Reply 1 (1)

AvadaCommerce
Shopify Partner
3879 839 963

This is an accepted solution.

Hi @TBNP22,

 

1. In order to add different Materials for each product, you first need to create metafield and then connect it with your theme setting to display metafield on your product pages:

 

  • Create Metafield by going to Setting > Metafields > Products > Add definition > fill out the required info.
  • Go to Products > Within each product page, scroll down to the bottom and you'll see the metafield you've created before, then fill out the specific content for each.
  • Navigate to Online Store > Theme > Customize 
  • Select Products then Default Product from the page selector at the top
  • Within the sidebar menu, click on the Materials section > Row content >  click on the Insert Dynamic Source as the photo attached below > Select the associated metafiled

AvadaCommerce_0-1660357493862.png

  • Finally, hit Save

 

2. Alternatively, you can create a different template for each product and assign it to each product in product settings:

1. From your Shopify admin, go to Online Store > Themes > Customize 

2. Select Products from the page selector then click on Create template

AvadaCommerce_1-1660357608698.png

 

3. Edit the template then save it.

 

Next, you'll need to assign products to each template:

  1. From your Shopify admin, go to Products.

  2. Use the search filter to locate the product that you want to change, or click on the product from the list of existing products.

  3. In the Online store section, use the dropdown menu to select a new theme template to apply to the selected product.

  4. Click Save.

AvadaCommerce_2-1660357608708.png

 

I hope it helps.

 

banned