I want to insert a video in a single category page.
I have the category "mou you" and I would like to insert an explain video in the head of this page, is it possible?
This is my page and the place where I want to insert the video:
you follow this step to add vedio for specific category
create one static block and add the code to display vedio on that static block
than after in admin-catalog-category select category that you want to add vedio .
select display option - static block adn product and select static block that you create in step1
.. now vedio will be display on that specific category
you can do this by different ways, like you can create a static block and add your video in that (however you want to display video like youtube link etc), the on your layout file you can call that block within the condition which check the category id along with category block page, conditional code you can write into your code block and call it on page where ever you want, please let us know if you need a code for this :)
Follow the steps :
>> You need to create category attribute(as text field). >> you can add seperate video URL as attribute value for any category as you wish. >> Get category attribute value on the front-end.
Hope it will be helpful.
You can insert video using different ways:
You can create static block then select from category dispaly setting.
You can create category attribute then call the attribute in category view page (catalog/category/view.phtml).