Add video to display on product page
-
09-10-2020 - |
Solución
- Create one attribute under admin panel > catalog > attributes > create attribute on the name of video
- By using , you can get that data
<iframe width="100%" height="auto" src="<?php echo $_product-> getData('video'); ?>" frameborder="1" allowfullscreen></iframe>
- You have to use this code at your view.phtml file.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange