… setting the default product image to be a youtube video.
I have been experimenting with adding an iframe embed, putting the product in a specific template for just that product where I can add a video to load just below the breadcrumbs, etc. Can’t really get what I am looking for here.
If you are looking for a quick solution, creating another template specific for that product then adding the embed code in that template should work, can you provide more details as to what you tried and why it didn’t work?
A more detailed approach would be using dynamic data and JSON based template.
That is what I was thinking as well. I do have the specific products loading into specific templates for each of them. My thought was to add a line in there to render the video just above the “{%- section ‘product’ -%}” component. However I am seeing conflicting info on how to best get the video to display dynamically. We have a meta-field driven page header we have in the code already and I am seeing many speaking to using a metafield to call a youtube ID… so that is where I am currently.
Thanks for the quick response.
If you have a simple solution, I will gladly compensate you for it.
Currently the template we are running for this client has been heavily modified over the past few years by various parties, it is all still running liquid and ideally I would prefer to keep it that way if at all possible. I am hoping after this mod we can begin to put them on a path to moving to Shopify 2.0.