Using product title in description as a variable

Solved

Using product title in description as a variable

Connor1836
Tourist
14 0 0

IMG_6082.png

I want to add the product title at the start of each description on my store. I was hoping to just add [[product title]] or something similar but it doesn’t seem to work.

 

ive attached a photo of a product I did manually to show the desired outcome and I’m using the ride theme 

Accepted Solution (1)

K_Br4
Pathfinder
91 6 17

This is an accepted solution.

You ca do such changes with a spreadsheet app (if you don't want to go to the theme source code).

Have the product titles in one column, pull the SEO descriptions in another column, and use the CONCATENATE formula to include whichever elements from the spreadsheet:

mt - example concatenate.png

View solution in original post

Replies 2 (2)

oscprofessional
Shopify Partner
16343 2438 3177

Hi @Connor1836 ,

Steps to Add Product Title to the Description:

  1. Go to Shopify Admin → Online Store → Themes
  2. Click ... next to the Ride theme and select Edit Code.
  3. Open Sections → main-product.liquid (or Templates → product.liquid in some versions).
  4. Find this line (usually where the description is rendered):

 

{{ product.description }}

 

     5. Replace it with

 

<strong>{{ product.title }}</strong><br>
{{ product.description }}

 

    7. Click Save and refresh your product page.

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

K_Br4
Pathfinder
91 6 17

This is an accepted solution.

You ca do such changes with a spreadsheet app (if you don't want to go to the theme source code).

Have the product titles in one column, pull the SEO descriptions in another column, and use the CONCATENATE formula to include whichever elements from the spreadsheet:

mt - example concatenate.png