[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Magento. How to add a video attribute (if there is no Video Url field in product options)

In this tutorial you will learn how to add a video attribute (if you do not have a Video Url field in product options).

Magento. How to add a video attribute (if there is no Video Url field in product options)

  1. Log into your admin panel and navigate to Catalog -> Attributes -> Manage Attributes:

    video_url1

  2. Click on Add New Attribute button.

  3. Specify videoid as an Attribute code, select Store View for the Scope and Text Field for Catalog Input Type for Store Owner:

    video_url2

  4. Open Manage Label/Options tab and specify your attribute title for Admin and all additional languages:

    video_url3

  5. Save the attribute.

  6. Go to Catalog -> Manage Attribute Sets:

    video_url4

  7. Select your attribute set which you are using for your site. In our case it is a Default:

    video_url5

  8. Under Unassigned Attributes you will see videoid item which you should drag into the left column, under General section:

    video_url6

  9. Click Save Attribute Set.

  10. Go to Catalog ->Manage products, select your product to edit.

  11. Input your video URL in the Video URL field:

    video_url7

    The link should have the following format:

    //www.youtube.com/embed/xxxxxxxxxxx

    where xxxxxxxxxxx is the ID of your YouTube video.

Thank you for watching this tutorial. Now you know how to add a video attribute in Magento template(s).

Feel free to check the detailed video tutorial below:

Magento. How to add a video attribute (if there is no Video Url field in product options)