Mastering Dimension-Based Sales in PrestaShop: A Deep Dive into the 'Price by Measurement' Module
Mastering Dimension-Based Sales in PrestaShop: A Deep Dive into the 'Price by Measurement' Module
For many PrestaShop merchants, selling products by standard units is insufficient. Industries dealing with flooring, fabric, cable, or bulk materials require pricing based on measurements like square metres, cubic metres, or linear metres. The standard PrestaShop quantity field simply isn't designed for this. This challenge is precisely what the "Price by Surface, Volume, Length, Perimeter & Weight" module aims to solve, offering a robust solution for dimension-based product sales.
Transforming Product Pages with Measurement Calculators
Developed by MEG Venture, this module integrates a sophisticated calculator directly onto your product pages. Customers input their required dimensions (e.g., width, height), and the module instantly calculates the total quantity and price. Crucially, these precise measurements are carried through the entire order process, appearing in the cart, order details, invoice, and delivery note, ensuring transparency and accuracy.
The module supports five distinct calculator types, enabling a single PrestaShop catalogue to manage diverse measured products:
- Surface: For items like flooring, wallpaper, or glass (width × height).
- Volume: For bulk goods such as soil or liquids (width × height × depth).
- Linear: For products sold by length, like rope or cable.
- Perimeter: For items like fencing or picture frames (2 × (width + height)).
- Weight: Converts dimensions to weight, suitable for cut-to-order sheet metal.
Advanced Pricing, Limits, and Bulk Management
Beyond basic calculations, the module offers comprehensive features to handle complex pricing scenarios:
- Flexible Pricing Rules: Implement minimum order prices, optional setup fees, and waste allowance percentages.
- Quantity/Price Modes: Choose from seven different modes to align with specific invoicing requirements, including calculated quantity with decimals or a fixed quantity of 1 with a calculated price.
- Product & Customer Group Limits: Set minimum, maximum, unit, and step values for each dimension. These limits can be configured per product and even per customer group, allowing for differentiated trade and retail offerings.
- Efficient Bulk Setup: Manage extensive product catalogues with CSV import/export for calculator settings. A "reference product" feature allows for rapid configuration copying to new products, streamlining setup.
Key Technical Considerations for PrestaShop Merchants
While powerful, the module introduces specific technical considerations crucial for PrestaShop users:
- Theme Overrides for Cart Display: Displaying dimensions on the cart line requires template overrides. The module provides copies for many popular themes, including Classic and Hummingbird. However, custom themes may require manual adjustments to ensure dimension text appears correctly, though the calculator and pricing will still function. The configuration page alerts users to missing theme hooks.
- Not for Complex Quoting: This module is designed for instant pricing based on customer input. It does not facilitate multi-step "customer asks, you measure, you quote" workflows.
- Core Class Overrides: This is a significant point: the module overrides PrestaShop's core
CartandCartControllerclasses to correctly manage measurement data through checkout. Merchants should be aware of potential conflicts if other installed modules also modify these core classes. Thorough testing on a staging environment is strongly recommended before live deployment.
Availability and Community Insight
The module is available directly from MEG Venture and on the official PrestaShop Marketplace, with differing pricing and versioning. Support is provided by MEG Venture.
This forum thread serves as a detailed announcement from the module's developer. As of its creation, there were no community replies or discussions within the thread itself, meaning all insights are derived directly from the comprehensive original post.
For PrestaShop stores requiring precise, dimension-based product sales, this module offers a robust and well-engineered solution, provided its technical implications are carefully considered.