Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I embed YouTube videos on product pages?

How can I embed YouTube videos on product pages?

Flo2809
Visitor
2 0 0

I am running a shop for a record label with different artists having products listed. I would like to embed the official music videos of our artists on their respective artist product pages. Not as a "product video" but just as an YT embed on the bottom of the product page. Working with the Dawn theme.

Replies 2 (2)

JHKCreate
Shopify Partner
3571 638 931

Hi @Flo2809 

 

You could create a metafield where you would add the YouTube ID inside each of the instances per product, then use the YouTube embed code as part to fill the YouTube ID dynamically.

 

Without access to your theme, there is not much we can do to assist except the above. Let us know if you need hands-on help for this. Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com

webwondersco
Shopify Partner
1176 169 172

@Flo2809, Hope you are doing well.

 

Create the meta field for the YT id. And add for each product. once you are done with that.

 

open your customization screen and go to the product page. Use the video section and call the meta field value dynamically there. so, based on your value in Product admin it'll show the video for each product in the front end.

 

Hope you get some basic Idea to get the desired output

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram