Magento Banner Management Setup
To set up Magento to allow banner personalization with Pleisty, you have to follow four steps:
- Create new banner attributes in your Magento setup
- Create a new attributes set
- Create a banner template
- Create your banners based on the template
Complete each of these steps as described below.
Creating the Banner Attributes
Start by creating two attributes, named banner_url and banner_type.
- Go To Catalog > Attributes > Manage Attributes.
- Click Add New Attribute to add a new attribute.
- Type banner_url for the attribute code and select Yes for Use in Product Listing (as shown in Figure 1).
- Click Save Attribute.
- Type Banner URL for the Admin title (as shown in Figure 2).
- Click Save Attribute.
- Follow steps 1-3 once again to create the banner_type attribute, utilizing Multiple select as the Catalog Input Type, and selecting Yes for Use in Product Listing, as shown in Figure 3. Then click Save Attribute.
- When adding new attributes, type Banner Type for the Admin title and click Add Option to add new banner types. If unsure, add a new banner type with the value "200x300 - Home page - Slot 1" as shown in Figure 4.
- Click Save Attribute to save your new attribute.
These two attributes will then be listed in the Manage Attributes screen as shown in Figure 5.
Screenshot not preserved in this archive *Figure 1. Creating a the banner_url attribute* Screenshot not preserved in this archive *Figure 2. Editing the banner_url attribute* Screenshot not preserved in this archive *Figure 3. Creating the banner_type attribute* Screenshot not preserved in this archive *Figure 4. Editing the banner_type attribute* Screenshot not preserved in this archive *Figure 5. Your new attributes*Updating the Flat Catalog Index
If your shop uses the flat catalog module, you need to update the flat data index. To do this, go to System > Index management and click Rebuild for the Product Flat Data index, as shown in Figure 7.
Screenshot not preserved in this archive *Figure 7. Rebuilding the Flat Data index*Creating the Banner Attributes Set
Next you need to create a new banner attributes set. Follow these steps:
- Go To Catalog > Attributes > Manage Attributes Sets.
- Click Add new Set.
- Use the name Banner based on Default.
- Click Save Attribute Set.
- Under Groups, click Add New.
- Type Banner for the group name.
- Drag the following fields over your Banner group: name, sku, status (from General), banner_type, banner_url (from Unassigned Attributes), media_gallery (from Images). See Figure 6 for reference.
- Click Save Attribute Set.
Creating the Banner Template
Now create a new banner template product following these steps:
- Go To Catalog > Manage products.
- Click Add product.
- Create new Simple Product product using Banner attibute set with these properties:
- Banner > Name: Banner template
- General > Description: n/a
- General > Short Description: n/a
- Banner > SKU: banner_template
- Banner > Status: disabled
- General > Weight: 0
- General > Visibility: Not Visible Individualy
- Prices > Price: 0
- Prices > Tax Class: None
- Click Save.
You need to set all these properties to the template, so you don't need to do it for each banner
Creating Banners
- Go to Catalog > Manage products.
- Filter by Attrib. Set Name on Banner and click Search.
- Click the Edit link of the Banner Template.
- Click Duplicate.
- Enter banner properties
- Name = My Banner 1
- SKU = Banner 1
- Status = Enabled
- Banner Type = (pick one or more slots)
- Banner url = http://example.com/promo_landing_page
- Add a base image (Browse + Upload + Click the radio for the base/small/thumbnail image)
- Select the Base Image, Small Image and Thumbnail radio buttons for your image (see Figure 8)
- Click the Categories tab and select related categories (see Figure 9).
- Click Save.
- Repeat steps 1-6 for all banners you want to create.
Checking Imported Banners in Pleisty Dashboard
In your Pleisty dashboard, after the first import, you will now be able to see your newly imported banners - see Figure 10.
Screenshot not preserved in this archive *Figure 10. Imported banners in Pleisty dashboard*