I would like to import my products with the YouTube video in the "image or video gallery". Do you guys know the right attribute?
I did for all pictures and worked fine, but I don't know for videos.
magento2
I would like to import my products with the YouTube video in the "image or video gallery". Do you guys know the right attribute?
I did for all pictures and worked fine, but I don't know for videos.
Best Answer
There is no way for now (Magento 2.2) for export / import product video.
Some workaround can be - create your own new product attribute and import complete YouTube video URL like https://www.youtube.com/watch?v=XXXXXXXX or just video ID (XXXXXXXX which send to ?v=) there by CSV file. Then modify your product page template file and display that attribute value on specific format to generate YouTube embed code like