How to configure Product Metafield?
Written by Annie
Last updated
To configure the Metafield for your products, please go to Settings > Custom data > Products > Add definition. Kindly follow the video below:
1. Product Metafield – Countdown
If you wanna add a Countdown option for each product – with a different time, you can configure to use the Metafield Countdown for your products.
1.1. Add Metafield Countdown
You need to configure some options below:
Name: You can add any name here. Example: Product Metafield Countdown.
Namespace and key: This is a required option, you have to add theme.countdown key here.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose Date and time.
Click Save button and then you will get the option below:
1.2. Configure Metafields Countdown in Product
In Shopify backend > Products > open the product that you wanna add the Metafields Countdown. You guys can follow the video below:
1.3. Show Metafields Countdown on the Product Page
Please follow my video below to know how to add the Metafields Countdown in Customize > Products page.
With all the rest products that you do not configure the Metafield Countdown, the countdown Timer still show if you configure the Countdown Timer Loop in a day in the Product Page > Countdown Timer option:
And choose All products here:
If you only wanna show the Countdown Timer option on the Product page with the Product that has been configured Metafield Countdown, you should remove the Time Settings here:
2. Product Metafield - Frequently Bought Together
You can learn more this article.
3. Product Metafield - Product Grouped (Advanced Products)
You can learn more this article.
4. Product Metafield - External/ Affiliate
If you wanna add an External/ Affiliate button for each product, you can configure to use the Metafield - External/ Affiliate for your products.
4.1. Add Metafield title External/ Affiliate
You need to configure some options below:
Name: You can add any name here. Example: External Title.
Namespace and key: This is a required option, you have to add theme.external_title key.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose Text > Single line text.
4.2. Add Metafield button Link External/ Affiliate:
You need to configure some options below:
Name: You can add any name here. Example: External Link.
Namespace and key: This is a required option, you have to add theme.external_link key.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose URL.
After configuring done, we will get 2 Metafield definitions as the image below:
4.3. Configure Metafields External/ Affiliate in Product
In Shopify backend, go to Products > open the product that you wanna add the Metafields External/ Affiliate button. Please follow this video:
And when you view the product, you will see the External/ Affiliate button shown as the image below:
5. Product Metafield - Delivery Start/ Delivery End
5.1. Add Metafield - Delivery Start Date
You need to configure some options below:
Name: You can add any name here. Example: Estimate Start Date.
Namespace and key: This is a required option, you have to add theme.estimateStartDate key.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose Number > Integer.
5.2. Add Metafield - Delivery End Date
You need to configure some options below:
Name: You can add any name here. Example: Estimate End Date.
Namespace and key: This is a required option, you have to add theme.estimateEndDate key.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose Number > Integer.
After configuring, we will get 2 Metafield definitions as the image below:
5.3. Configure Metafields Delivery in Product
In Shopify backend, go to Products > Open the Product that you wanna add the Metafields Delivery. Kindly follow my video to add the Metafield Delivery Start/ End for the product.
5.4. Show Metafields Delivery in Customize > Product Page
You can follow my image below:
Example: Today is October 11, 2022 and I set the start date for delivery as the next 2 days, it's October 13. And the End date of delivery is the next 4 days, it's October 15, 2022.
6. Product Metafield - Custom Badge
6.1. Add Product Metafield Custom Badge
You need to configure some options below:
Name: You can add any name here. Example: Custom Badge.
Namespace and key: This is a required option, you have to add theme.custom_badge key here.
Description: You can add any text for the description.
Select Content Type: This is a required option, you have to choose Text > Single line text or Multi-line text.
Then click Save button to save all changes, we will get the metafield definition as the image below:
6.2. Configure Metafield in Products
In Shopify backend, go to Products > open the product that you wanna add the Product Custom Badge. In the product, please scroll down to the bottom of the page, you will see the Product Custom Badge metafield option. Kindly follow the video below:
6.3. Configure Metafield Custom Badge in Theme Customize
In Shopify backend, click the Customize button to go to Theme Settings > Products > Scroll to Badges option > Tick on the Use custom badge checkbox > The custom badge will show as the image below:
[Private Offer] EComposer Partner Plan
Exclusively for Belyn users, you can get EComposer - Theme Partner Plan for ZERO and start making beautiful, high-converting store pages today:
FREE 100% EComposer Standard plan for 6 months (save you $114)
Build ANY Shopify pages: Landing page, Sales Funnel page, Lead pages, & other custom pages tailored for your marketing campaigns.
Create advanced sections & add to Belyn with ease
Save up to 50 pages/sections
100+ professional, stunning pre-designed templates
Anyone can build pages with live drag-drop editor
How to claim offer: Install EComposer HERE. Then open chatbox icon in EComposer dashboard and leave a message with subject “Belyn+EComposer” to upgrade for free
Cheers,
The4.