Basware Features

Support for quantity based basket delivery charges

Written by Bhavna Bhatia | May 5, 2025 10:55:48 AM

Currently, basket-type delivery items operate on a “price” based system, where a single delivery charge is applied for all items in the basket based on their total price.

With the upcoming changes, we are introducing support for a “quantity” based delivery system. This means that the delivery charge will be calculated based on the total quantity of items added to the basket that utilize this delivery charge.

When creating a delivery type item, if the “Basket” delivery type is selected, a new field labelled “Delivery Basket Attribute” will appear, offering two options: Price and Quantity. Selecting ‘Price’ applies the delivery charge based on the total price of all items in the basket, while selecting ‘Quantity’ applies the charge based on the number of items present.

For example:

Item Name Associated Delivery Item Quantity Price
Item A Delivery item 1 1 10 Euros
Item B Delivery item 1 1 5 Euros
Item C Delivery item 2 1 5 Euros
Item D Delivery item 2 1 10 Euros

Delivery Item Name

Delivery Type Basket Attribute Delivery Charge
Delivery Item1 Basket Price

Price Breaks:

No. of units Price
10  5
15 3
20 2

 

Delivery Item2 Basket Quantity

Price Breaks:

No. of units Price
10  5
15 3
20 2

In the above example, if Item A and Item B are added to the basket, the total price is 15 Euros, resulting in a delivery charge of 3 Euros as per the table.

Conversely, if Item C and Item D are added with quantities of 5 and 20 respectively, the total quantity becomes 25, leading to a delivery charge of 2 Euros.

For content loading templates:

  • In the super content loader, the "Delivery basket attribute" column will support the new attribute value “QUANTITY,” defaulting to “Price” if not specified.
  • Other loading templates, such as content loader - Excel 32Bit and CSV, will recognize the value “BASKET_QUANTITY” in the delivery type column, defaulting to “Price” if not specified.
  • For BMECat files, a new element, "BUYER_AID" will be utilized to specify the delivery basket attribute with values P or Price for price and Q or Quantity for quantity. If this element is not included, the default will be “Price.”
    <BUYER_AID type="delivery-basket-attribute">Quantity</BUYER_AID>