Re: Add subtitle under product title in Impulse theme.

Add subtitle under product title in Impulse theme.

Altea
Excursionist
17 0 5

add subtitle under product title in impulse theme

Replies 5 (5)

Anshul_arora
Navigator
453 128 98

Hello @Altea ,

I understand you are looking to display subtitle/subheading under Product name/heading.

You can add fields for providing information or subheading under the main heading by creating metafields.

Please go through the below mentioned links to understand, how the metafield was created and used.

- https://help.shopify.com/en/manual/custom-data/metafields

I hope it helps .

Please let me know if you have any query.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

Taknify
Shopify Partner
227 16 27

Either you can use product description (If it's not already used), use metafield (product metafield) or change the product template in the backend to include that (should be the same subtitle). 
Let me know if you require further explanation.

Need to tweak your store a bit? Come and visit us at Taknify or send me message.

Saima14
Visitor
3 0 0

To add a subtitle under the product title in the Impulse theme, you will need to make some changes to your theme code. Here are the steps: 1. From your Shopify admin, go to Online Store > Themes. 2. Find the Impulse theme and click on Actions > Edit code. 3. In the left-hand sidebar, click on Sections and open the product-template.liquid file. 4. Find the code for the product title, which should look something like this: ``` <h1 class="product-single__title">{{ product.title }}</h1> ``` 5. Below this code, add the following code to display the subtitle: ``` {% if product.subtitle %} <p class="product-subtitle">{{ product.subtitle }}</p> {% endif %} ``` 6. Save the changes and preview your product page to see the subtitle below the product title. Note that if your product does not have a subtitle, nothing will be displayed. You can add a subtitle to each product by editing the product in your Shopify admin and entering the subtitle in the "Subtitle" field.

Altea
Excursionist
17 0 5

Thank you! I do not have product-template.liquid in my sections I have main-product.liquid

 & product-full-width.liquid. I have searche both and do not find anything like <h1 class="product-single__title">{{ product.title }}</h1>

product liquid.png

aditya58singh
Shopify Partner
24 2 6

Hi @Altea 
Create a Product Subtitle Metafield:

  1. Go to your Shopify admin panel.
  2. Navigate to Settings > Metafields.
  3. Click Add Definition.
  4. Select Products as the namespace.
  5. In the Name field, enter "Product Subtitle" or a similar name.
  6. Under Key, enter a unique key, such as "product_subtitle".
  7. Select String as the value type.
  8. Click Save.

Add Product Subtitles to Products:

  1. Go to Products in your Shopify admin.
  2. Select the product you want to add a subtitle to.
  3. Scroll down to the Metafields section.
  4. Click Add metafield.
  5. Select the Product Subtitle metafield you created earlier.
  6. Enter the subtitle for the product in the Value field.
  7. Click Save.

In Theme Editor Where you want to show subtitle 
Add a Text and Add Meta field data or 

 

 

<p class="product-subtitle">{{ product.metafields.product_subtitle.value }}</p>

 

 


This code will display the product subtitle you entered in the metafield below the product title. You can style the .product-subtitle class to customize the appearance of the subtitle.

- Helpful? Like and Accept a solution.
- Cart Drawer Upsell & Free Gift Boost conversions & AOV with upsell-cross sell, free gifts & add-ons with customizable cart drawer.

Sales Countdown Timer Bar create urgency with count down timer, navigation menu with images and lot more.