(e-commerce) What's the average number of cart items per customer?

rafark

Elite Member
Jan 15, 2013
3,234
1,959
Been developing a WooCommerce plugin for a while and I'd like to know how many items per cart/order an average e-commerce store gets?
Is there a website that has this data? I'm assuming it varies by industry.

Why do I want to know? Basically I want to make sure the plugin I'm developing doesn't use too much memory (it has a very advanced filtering algorithm that relies on the subset sum problem which can generate hundreds or thousands of variations depending on the number of cart items (it grows exponentially)).
 
imo it varies a lot by industry, but one will win most likely
I'm thinking most stores have 1-5 items per order on average, but there might be some type of e-commerce stores that may have a much higher item count like online grocery stores, which worries me a bit since my plugin uses subset sums to compute the result of some filters. The subset sum problem is NP-Complete and might potentially create thousands or even millions of possible combinations which obviously impacts performance.

So I'm trying to optimize the algorithm as much as possible to improve scalability.
 
Last edited:
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock