Shane Eckert

Team Lead @ Automattic

WooCommerce Multiply all costs by person count

WooCommerce Multiply all costs by person count

Today I had a really great question about the Multiply all costs by person count option in WooCommerce Bookings.

This can be a pretty confusing option. So no worries. If you got confused by this one, you are not alone.

So you check the check box next to Multiply all costs by person count thinking “great, now the price will be multiplied per person”. In our example the Alien person type is $1 per Alien.

Multiply all costs by person count

You head to the front end and you add one Alien person type to the booking. Great! $1. That’s what you expected. Then you add another Alien thinking it’s going to be $2, but it’s $4? How is 1X2 = 4?

Well of course it’s not. Here is what’s going on.

Ticket = $1

1 Ticket = $1
2 Tickets = $2
3 Tickets = $3

Vs.

Ticket = $1

1 Ticket = $1
2 Tickets = $4 ($2 per ticket X 2)
3 Tickets = $9 ($3 per ticket X 3)
4 Tickets = $16 ($4 per ticket X 4)

If you deselect the box next to Multiply all costs by person count, then the math will work as you expected. 1X2=$2. This is because with the option enabled, WooCommerce Bookings is multiplying all COSTS by the amount of persons. But by default Bookings will simply multiply each ticket by the amount of persons. Or in our case, Aliens. 🙂