Report a bug
DDBUILDER is a comprehensive layout, template, and content management module for PrestaShop designed to give full control over how every part of the store is structured and rendered. It allows merchants and developers to define headers, footers, templates, blocks, and product layouts, and to assign them precisely based on page type, category, product, or hook — all from a single, unified interface.
The module is built specifically for PrestaShop’s architecture, leveraging its hook system, data models, and multilingual capabilities without relying on per-language editors or page-by-page duplication.
Core Concept
DDBUILDER separates content structure from assignment logic.
You define:
- Layouts
- Templates
- Blocks
- Hook content
And then assign them using clear, rule-based conditions, such as:
- Page type (home, product, category, CMS, manufacturer, supplier)
- Category or subcategory
- Individual product
- Product belonging to one or more categories
- Specific hooks or layout positions
This approach enables scalable store design without hardcoding or repetitive configuration.
Main Features
1. Layout & Template Builder
- Create reusable layouts for:
- Product pages
- Category pages
- CMS pages
- Custom landing pages
- Define templates for:
- Header
- Footer
- Product detail structure
- Product list structure
- Layouts and templates are independent objects and can be reused or reassigned at any time.
2. Rule-Based Assignment System (Conditions)
DDBUILDER does not rely on free-form conditional logic. Instead, it uses explicit PrestaShop-oriented rules, including:
- By page type
- Home
- Product
- Category
- CMS
- Manufacturer / Supplier
- By category
- Assign a layout to a specific category
- Apply layouts to subcategories
- By product
- Each product can:
- Use the default layout
- Select a specific layout
- Inherit layout from its category
- Each product can:
- By product within category
- Products inside Category A use Layout X
- Products inside Category B use Layout Y
- By hook
- Attach blocks or layouts to any PrestaShop hook
- Different designs per hook position
This ensures predictable behavior and avoids complex or opaque condition builders.
3. Hook-Based Content Management
- Full integration with PrestaShop hooks:
- displayHeader
- displayFooter
- displayTop
- displayHome
- displayProductAdditionalInfo
- displayLeftColumn / displayRightColumn
- Any custom or module-defined hook
- Each hook can have:
- Its own layout
- Its own blocks
- Its own language-aware content
- Hook content can be reused across multiple pages or restricted to specific contexts.
4. Block System
- Create modular blocks that can be placed inside:
- Layouts
- Templates
- Hooks
- Blocks support:
- Static content
- Dynamic PrestaShop data (product fields, prices, attributes)
- Custom HTML or module output
- Blocks are reusable and centrally managed.
5. Product Layout Management
- Define multiple product page layouts.
- Assign product layouts by:
- Category
- Individual product
- Default fallback
- Each product can explicitly select:
- A specific layout
- A hook-based structure
- A category-inherited layout
This allows full control over merchandising strategies without duplicating product templates.
6. Multi-Language in a Single Interface
- All layouts, templates, and blocks support multi-language content.
- Translations are managed within the same interface, not through separate language editors.
- Language variations apply to:
- Text
- Images
- Labels
- Dynamic content overrides
- Language fallback rules are handled automatically by PrestaShop.
7. Multi-Model Support
DDBUILDER works across all major PrestaShop data models:
- Products & combinations
- Categories & subcategories
- CMS pages
- Manufacturers & suppliers
- Customer groups (optional targeting)
- Carriers and shop context (where applicable)
All models can reference layouts, templates, or blocks without duplication.
8. Performance & Output Control
- Only assigned layouts and blocks are loaded.
- No unnecessary assets on unrelated pages.
- Clean output compatible with PrestaShop themes and overrides.
- No modification of core files.
9. Centralized Management
- One interface to manage:
- Layouts
- Templates
- Blocks
- Hook assignments
- Language content
- Changes propagate automatically to all assigned pages and products.
Typical Use Cases
- Different product page designs per category
- Special layout for flagship products
- Custom headers or footers for campaigns
- Category-specific merchandising layouts
- Hook-specific content without theme overrides
- Multi-language stores managed without duplicated work
Summary of Benefits
| Benefit | Description |
|---|---|
| Rule-Driven Design | Layouts assigned by page type, category, product, or hook |
| No Per-Language Editors | Multi-language managed in one interface |
| Scalable Architecture | Reuse layouts and blocks across the store |
| Native PrestaShop Logic | Built around hooks and data models |
| Product-Level Control | Each product can define or inherit its layout |
| Clean Integration | No core edits, no theme lock-in |