Product Subtitle Metafield

BenH40
Excursionist
30 0 12

subtitle.png

 

I'm wanting to add a subtitle too my new site using metafields and am struggling with getting it up and running.

Am I missing something when setting up metafields using the app or backend coding.

Cheers 

Replies 19 (19)
suyash1
Shopify Partner
5309 612 879

@BenH40 - which app are you using for it?

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
BenH40
Excursionist
30 0 12

I haven't used an app for it as yet 

suyash1
Shopify Partner
5309 612 879

@BenH40 - please check if you have an option for subtitle in the product vendor field in the backend.... you can then activate it from customizer

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
BenH40
Excursionist
30 0 12

We have already used the vendor field and where hoping for a subtitle field that could be used.

suyash1
Shopify Partner
5309 612 879
then you will need to find some app which allows to add meta fields and
then fetch those metafields into product page
You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
LitExtension
Shopify Partner
3720 738 782

Hi @BenH40 

You can totally use Metafield.

Firstly, you need to create Metafield for Subtitle: https://i.imgur.com/ZMaJ86f.png

Then add the code shown in the file product-template.liquid: https://i.imgur.com/4dAh2WQ.png , code: {{ product.metafields.my_fields.subtitle }}

And finally, you go to each product and add Subtitle, it will display fine: https://i.imgur.com/f16tp0z.png

Hope it clear to you.

Please mark as a solution if you find my comment helpful. Thanks and good luck!

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Have not had your Shopify store yet? Start the 14-day free trial HERE
Are you looking for a solution to migrate to Shopify? Try our FREE DEMO now!
Lisa_Bulpin
Excursionist
30 0 7

Hello!

Could you tell me where about I should put the code in the product template? I have tried to insert it but the subtitle pops on the top of the page or under the image.  I'm trying to get it to go below the product title but it's not working 😕 

suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - can you please share your page link? i will check on browser

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
Lisa_Bulpin
Excursionist
30 0 7

Thank you so much!

 

https://www.readerswarehouse.co.za/collections/new-boxsets-and-collections/products/9781529020618

I'm trying to make it show under my product price. (probably the best spot)

PaulNewton
Shopify Partner
4209 303 899

Note that product subtitle is a standard metafield definition

https://help.shopify.com/en/manual/metafields/metafield-definitions/adding-standard-metafield-defini...  

PaulNewton_0-1632812587554.png

 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - do you want like this?

suyash1_0-1632812582324.png

 

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
PaulNewton
Shopify Partner
4209 303 899

@Lisa_Bulpin wrote:

I have tried to insert it but the subtitle pops on the top of the page or under the image.  I'm trying to get it to go below the product title but it's not working 😕 


The exact line you need to place the code will vary wildly by theme.

Also make sure to wrap it in a relevant html tag , i.e <div>{{ product.metafields.my_fields.subtitle }}</div> or <p>{{ product.metafields.my_fields.subtitle }}</p>

or for a standard definition <p>{{ product.metafields.descriptors.subtitle }}</p>

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
Lisa_Bulpin
Excursionist
30 0 7

yes, in that area

suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - we will need to check code, can you add me as collaborator? I will send request , I can check it 

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
Lisa_Bulpin
Excursionist
30 0 7

Yes sure! thank you!

suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - i sent request

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - please check the product page - https://www.readerswarehouse.co.za/collections/new-boxsets-and-collections/products/9781529020618

 

suyash1_0-1632816249681.png

 

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly
Lisa_Bulpin
Excursionist
30 0 7

Thanks!!!!

suyash1
Shopify Partner
5309 612 879

@Lisa_Bulpin - welcome, do let me know if you need anything else, you have my email below.

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly