Venture theme: Add some text above the "Add to Cart" button

tsmaco
Tourist
9 0 5

Hi, is there an easy way to to put some text (same on every product) here? Theme: Venture Thanks

text.png

0 Likes
aio_xp
Explorer
64 5 22

yes, you have to do some work on your theme editor

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
Feel free to contact me on kuparkoti@gmail.com regarding any help
Shopify Expert | Whatsapp: 00971568836211

Guleria
Shopify Partner
1476 304 421

Hello @tsmaco ,

Shopify introduce a new inbuilt option 'Metafields' you can use it. 
You have to just add field in products from Settings -> Metafields 
Once you add it after that you will find option with each product to add unique text with each product. And once you add text in product then you have to edit your product template ( code part ) and call that field where you need it.

More you can check here https://help.shopify.com/en/manual/metafields

Thanks

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
tsmaco
Tourist
9 0 5

Thanks, @Guleria , I have made a couple of relevant metafields. Would you happen to know how I can call 1 of them to display above the Add to Cart button?

Amarjyoti
Excursionist
20 8 19

Hey @TS,

You can follow the below steps to add the metafield just above Add to Cart button.

Step 1:
Navigate to Online Store > Click on Actions dropdown > Choose Edit Code

Step 2:
Under sections find product-template.liquid. Search for the line marked on red and add the below code just above that line.

venture.png

Assuming instructions is the Namespace and text is the Key

 

<div class="product-form__item product-form__item--instruction">
    {{ product.metafields.instructions.text }}
</div>

 


Let me know if this works for you.

Thank you!

Amarjyoti | I'm here to help and share some insights. Not looking for work.
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution