Public Ticket #5000212

Question about carton quantities and mixed unit/carton orders

Closed
Comments
1 Ticket
Lode Speleers started the conversation 2 weeks ago on November 3, 2026 at 4:47pm

Hello,

We are evaluating B2BKing for our B2B webshop and would like to clarify whether it supports the following specific wholesale ordering scenario.

Our products have:

  • One standard wholesale price per individual unit.

  • A configurable carton quantity per product (e.g. 4, 6, 8, 9 or 12 units per carton).

  • A 5% discount on complete cartons for a specific customer group.

We would like customers to be able to order loose units and full cartons simultaneously, within one order line.

Example:

  • Unit wholesale price: €6.00

  • Carton quantity: 6 units

  • Loose units: 2

  • Full cartons: 3

Expected result:

  • 2 loose units at €6.00 = €12.00

  • 18 units in 3 full cartons with a 5% discount = €102.60

  • Total: 20 units, €114.60

Inventory should be managed in individual units (20 units deducted from stock), but the order should retain the distinction between 2 loose units and 3 cartons.

My questions:

  1. Can B2BKing handle this scenario natively, without custom development?

  2. Can the product page display two separate quantity fields: loose units and cartons?

  3. Can the carton discount be applied only to the carton quantities, not to the loose units?

  4. Can the order retain both quantities separately?

  5. Is this functionality compatible with WooCommerce's REST API, for a future integration with Odoo ERP?

If this is not supported natively, could you indicate whether you have an existing extension or recommended implementation for this scenario?

Thank you.

2,765
KingsPlugins replied 2 weeks ago on November 4, 2026 at 11:18am

Hi Lode,

Thanks for getting in touch,

The exact setup with loose units and cartons on a single order line isn't available natively. The closest no-code option is to use one variable product with two variations. I've set up two working examples for you to check:

1. Standard variation selector
2. B2BKing variations table, showing both quantity fields together

Quantities are entered as individual units. The carton variation has a minimum and step of 6, so entering 18 represents three cartons, and B2BKing can apply the 5% group price to just this variation.

Both variations share the main product's inventory, so ordering 2 + 18 deducts 20 units in total. They'll appear as separate order lines, with their variation IDs and quantities available through the WooCommerce REST API.

 

Let me know if you have any questions or anything I can do to help,

Kind Regards,
Stefan

Sign In