Adding a ribbon ad (image overlay) to catalog entry thumbnails
To draw attention to certain catalog entries
on the storefront, you can display a ribbon ad over the thumbnail
image. To do so, you must create an attribute in the attribute dictionary
to represent the ribbon ad. Then, you can assign the attribute to
one or more catalog entries.
Before you begin
- Read Ribbon ads (image overlays) for catalog entry thumbnails.
- Ensure that a store developer defined styles for ribbon ads in a CSS file.
- If you plan to use a CSS style for the ribbon ad that is not the default style, obtain the name of the style from a store developer.
Procedure
- In the attribute dictionary, create
a ribbon ad attribute:
- Assign the ribbon ad attribute to
catalog entries.Note: If you assign a ribbon ad to a product, the ribbon ad displays on the product thumbnail and the SKU thumbnail. However, if you assign a ribbon ad to a SKU, the ribbon add displays only on that SKU.
- Preview the catalog entry thumbnail images in the storefront
to confirm that the ribbon ad is displayed as expected.For example, navigate to the appropriate category page and look for the thumbnail image of the catalog entry to which you assigned the attribute.