Closed joelwmale closed 2 months ago
This fixes an issue with adding items with no price.
It currently works when doing Cart::add(id, name, null, quantity) but it does not when passing in an array:
Cart::add(id, name, null, quantity)
Cart::add([ 'id' => '', 'name' => '', 'quantity' => ''
This PR fixes that.
This fixes an issue with adding items with no price.
It currently works when doing
Cart::add(id, name, null, quantity)
but it does not when passing in an array:This PR fixes that.