This plugin lets you price a product by its surface: the customer enters a length and a width, and HikaShop multiplies the unit price by length times width, both in the cart and on the order. It is ideal for products sold by the square metre, such as fabric, panels, flooring or glass.
Features
Multiplies the product price by the length and the width entered by the customer.
Works in the cart and is kept consistent on the final order.
Accepts decimal values typed with either a comma or a dot as the decimal separator (for example 2,5 or 2.5).
No configuration: it activates as soon as a product has the length and width custom fields filled in.
Installation
1) Download the Custom Width Length plugin from our website.
2) Install it on your Joomla website via the extension manager (Extensions > Manage > Install).
3) Enable the plugin in Extensions > Plugins (search for "Custom Width Length").
4) In HikaShop, go to Display > Custom fields and create two product fields with the column names set to exactly "length" and "width". Any other column name is ignored by the plugin.
5) Edit your products and fill in the length and width fields as needed.
Use
This plugin is compatible with all the editions of HikaShop
Compatible with PHP 7.4 minimum
Compatible with Joomla and WordPress
No limit of time
No limit of use
Changelog
1.0.1 on the 12th of June 2026
Fixed the price calculation when the length or width is entered with a comma as the decimal separator: a value like 2,5 is now read as 2.5 instead of being truncated to 2.
1.0.0
Initial release of the plugin.
Free
The add to cart button will appear once you select the values above