WiseBlock: Revolutionizing PrestaShop Content with Dynamic Personalization and A/B Testing
Unlocking Dynamic Content for PrestaShop 8 & 9 with WiseBlock
In the evolving landscape of e-commerce, static content blocks are rapidly becoming a relic of the past. Merchants are constantly seeking ways to deliver more personalized and engaging experiences to their customers. A recent thread on the PrestaShop forum introduces WiseBlock, a compelling free module designed to bring advanced contextual content personalization to PrestaShop 8 and 9 stores. Developed by Marcin Gajewski, WiseBlock aims to transform how PrestaShop merchants manage and display promotional and informational content across their sites.
The module positions itself as a 'contextual content-personalization engine,' moving beyond simple HTML insertion to offer dynamic content delivery based on a multitude of real-time conditions. This means the same content block can display entirely different messages to various visitors, depending on their browsing behavior, cart contents, customer group, and even the time of day.
Key Features that Set WiseBlock Apart:
- Advanced Targeting Rules: WiseBlock boasts 11 combinable targeting rules, allowing unprecedented control over content visibility. Merchants can target based on category, tag, customer group, country, cart value, manufacturer, supplier, product features, currency, UTM parameters, and specific products in the cart. These rules can be combined with 'AND' / 'OR' logic, offering immense flexibility.
- Custom Hook Builder: A standout feature is the ability to create custom display hooks directly from the back office. This eliminates the need for theme file modifications, simplifying integration for merchants and developers alike. A single Smarty tag is all that's needed:
{hook h='displayWiseBlockAnything'} - Dynamic Placeholders & Conditional Logic: The module supports dynamic placeholders like
{{price}},{{stock_quantity}}, and{{free_shipping_remaining}}. Crucially, it includes conditional logic such as{{#if_free_shipping_not_achieved}}…{{/if}}. This enables highly interactive elements, such as a 'free shipping progress bar' that updates instantly via AJAX when products are added to the cart, without requiring a page reload. - Integrated A/B Testing: WiseBlock incorporates a built-in A/B testing mechanism. Merchants can set up variant A vs. B, track views and clicks, and even enable automatic winner selection, providing valuable conversion rate optimization (CRO) insights without relying on external tools.
- Flexible Scheduling: Content can be scheduled for specific date ranges (ideal for sales and promotions) or time-of-day windows (e.g., a lunch offer from 11:00–14:00), with support for overnight ranges.
- UTM Campaign Targeting: Tailor content specifically for traffic from different marketing campaigns. For instance, a unique banner can be shown to visitors arriving from Google Ads versus a newsletter link, with campaign data remembered via a cookie for 30 days.
- Performance Optimization: To ensure speed, WiseBlock includes render caching per product, hook, language, and shop, along with lazy loading of blocks, which only load as they scroll into view.
Beyond these core functionalities, WiseBlock also offers a [wiseblock id="123"] shortcode for use in product descriptions and CMS pages, JSON import/export for configurations, a rule tester, custom CSS options, support for over 20 languages, and a modern admin UI.
Practical Applications for PrestaShop Merchants:
- Creating dynamic 'free shipping progress bars' to encourage higher order values.
- Displaying 'Welcome back' messages for logged-in customers or 'Sign up and get a discount' for guests.
- Targeting specific categories or brands with tailored promotional banners.
- Delivering exclusive offers to traffic from particular UTM sources.
- Showing 'Only X left in stock!' messages on low-stock products to create urgency.
The module is actively developed, with full PrestaShop 9 compatibility already implemented. It requires PrestaShop 8.0 – 9.x and PHP 7.4+. The source code is freely available on GitHub. While the forum thread currently shows no replies, the author is actively seeking feedback and ideas for future features, inviting the PrestaShop community to engage and contribute to its evolution. For any PrestaShop store looking to enhance personalization and drive conversions, WiseBlock presents a powerful, free solution worth exploring, especially for those migrating to or already on PrestaShop 8 or 9.