Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Adding Banner To Magento Product Page
 
1stoptutorials
Jr. Member
 
Total Posts:  1
Joined:  2010-07-14
 

Hi Everyone i am seek your expertise. I am working on a magento store and am wanting to add a banner to my product page like the image attached. This banner needs to be different on each product page so am wanting a way that i can either browse my computer for the image or add a url to the image location. I am thinking i need to create an attribute and then under Admin > Catalog > Manager Product > Images list i will be able to pull in the banner just like adding a new image product. Is this the correct way of doing it? I am thinking i need to add some code in the view.phtml file that will call upon a attribute, but am not 100% sure what the code is or even if this is the correct way of doing this. Any help would be much appreciated

Thanks

Ali

Image Attachments
listing-page.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
djsheffer
Jr. Member
 
Total Posts:  6
Joined:  2013-02-13
 

create a static block under CMS in admin and name it something like category_product_banner and either upload your banner image or add the image code in the editor. Click save.

Then go to admin CMS widgets and create a new widget type = static block Design Package/Theme = your theme.
Widget Instance Title = category product banner
Sort Order = whatever you choose or leave blank.

Then while your on the same page scroll down and view Layout Updates.
click add layout update
pick your chosen destination Page: Block Reference: Template: 

I am not sure if you can get the banner to display exactly where you wanted it but you will be able to get it on there. You might need to change the banner size and add it to a column, footer, header.

If you add images to core files they will not be visible if you upgrade your version.

Oh ya make sure and select block type to reflect the static block you created category_product_banner

Hope the best for you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amasty
Mentor
 
Avatar
Total Posts:  3988
Joined:  2009-11-10
 

Hi!  With Promo Banners Extension you can easily put different banners on each product page. While creating a banner you choose both product category and SKU. See the image attached.
The great thing about the extension is you can add product list to any banner.
To see detailed user guide, live demo please follow the link http://amasty.com/promo-banners.html

Image Attachments
product page.png
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top