BoltTheme includes a powerful, automated product specifications table system. Rather than manually creating HTML tables for each product, you can enable the Auto-include metafields option in your product details section. The theme will then automatically compile and render all product metafields from a selected namespace as a specifications table.
️How it Works in BoltTheme
In the product page sections (product-tabs.liquid and product-immersive-main.liquid), the theme checks for:
show_metafieldsToggle: When enabled, the theme loops through the selected metafield namespace (default:custom).- Dynamic Table Generation: The theme automatically renders a table row for each metafield in that namespace:
* Left Column: Metafield name (underscores replaced with spaces, capitalized).
* Right Column: Metafield value.
️Step-by-Step Configuration Guide
Follow these steps to create your dynamic specifications tables:
Step 1: Create Metafields under Shopify Admin
Create metafield definitions for the specifications you want to display (e.g. Dimensions, Weight, Material, Battery Life):
- Go to Shopify Admin > Settings > Custom Data > Products.
- Click Add definition.
- Set the Name to your specification (e.g.
MaterialorBattery Life). - Set the Namespace and key (ensure it uses the
customnamespace, e.g.custom.materialorcustom.battery_life). - Set the Type (e.g.
Single line text). - Click Save.
Repeat this step for each specification row you want to display in your table.
Step 2: Populate Specification Values on Products
- Navigate to Shopify Admin > Products.
- Click on a product to edit it.
- Scroll to the bottom of the page to find the Metafields card.
- Input the values for your specifications (e.g., set Material to Aluminum, Battery Life to 40 Hours).
- Click Save.
Step 3: Enable the Specifications Table in the Theme Editor
- Open the Theme Editor and navigate to your Product page template.
- Select the Product Tabs block (or Product Main Info depending on layout).
- Scroll down in the block settings sidebar.
- Check the Auto-include metafields checkbox.
- In the Metafield Namespace input field, ensure it is set to
custom(or your custom namespace). - The theme will automatically construct a clean specifications table listing all metafield details for the product.