Everything you'd want to know before you install.
A detailed look at how Category Banner for PrestaShop 8 & 9 works, why we built it the way we did, and the thinking behind the features above.
Place a banner exactly where you want it in the product grid
PrestaShop offers no native option to insert visual content in the middle of a listing. DataFirefly Category Banner fills that gap: in the back office you pick the target category, the product number the banner follows, and the artwork to use for each language. The banner appears in the grid at the requested position, taking the width of a product cell by default, or the width you choose through a grid class such as col-md-6 or col-12.
Schedule your campaigns in advance
Every banner accepts a start date and an end date. Prepare your sales, Black Friday or holiday artwork weeks ahead: it appears and disappears on its own, with nothing to do on the day. A banner without dates stays visible permanently, and the active switch lets you suspend one without deleting it.
One banner for a whole category tree
The subcategory option saves you from recreating the same banner in every aisle. Set on a parent category, the banner shows in that category and in all of its subcategories, at any depth. Resolution relies on PrestaShop's native nested tree, so it costs no extra query per page.
Multilingual, multistore, no hole in the grid
You configure artwork and alt text per language. When a language has not received its own image, the module displays the one from the shop's default language rather than hiding the banner. In multistore, each banner is associated with the shops you select from the form, through a real association table.
Works with faceted filters and AJAX pagination
On PrestaShop 8 and 9, faceted filters, sorting and pagination reload the product list over AJAX. The module listens to the updateProductList event and re-inserts the banners after every DOM refresh. Positions are computed against the products actually present on the page: a banner at position 4 always lands after the fourth product displayed, and a position beyond the number of products on the page is simply skipped.
Light, and no image loss on update
CSS and JavaScript are loaded on category pages only, and only when the current category has at least one active banner. The banner markup is rendered server side by a Smarty template; the JavaScript only inserts it at the right place, with no jQuery and no third-party library. Uploaded images are stored in /img/datafireflycategorybanner/, outside the module folder, which keeps them through updates. Their dimensions are written in the HTML to avoid any layout shift on load.
There are no reviews yet.