Skip to main content

Shop Custom Width Length Weight plugin

This plugin prices a product by its surface and also adjusts the shipping weight and dimensions from the length and width entered by the customer. The price is multiplied by length times width, both in the cart and on the order, and the product weight and parcel size are recomputed so that shipping methods quote correctly for the cut piece.

If you only need the price by surface, without the weight and dimension changes, use the Shop Custom Width Length plugin instead. Install only one of the two.

Features
  • Multiplies the product price by the length and the width entered by the customer.
  • Recomputes the product weight and parcel dimensions (including a girth conversion) from the entered surface, for accurate shipping quotes.
  • 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 Weight 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 Weight").
  • 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, set their base weight and dimensions, 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.2 on the 19th of November 2026

  • The parcel size used for the shipping quotes now keeps the product's own height, and its own width or length when the customer enters only one of the two, plus 0.1 m: before, they were always replaced by 0.1 m.

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
Shop Custom Width Length Weight plugin
The add to cart button will appear once you select the values above
Type
Integration