Your PrestaShop store sells tiles by the box, but customers usually know how many square metres they need — not how many boxes to order.
You could display the coverage of each box and let customers do the math. But once you add cutting waste and rounding, it’s surprisingly easy to get the quantity wrong.
The calculation itself isn’t complicated. The interesting part is making sure the correct number of boxes ends up in the cart.