{}).quantity, action: 'decrease' })">-</div>
<div x-text="(products.find(product => product.id === selected_product_id)
x-on:click="$dispatch('decreasecartitem', { product: selected_product_id, quantity: (products.find(product => product.id === selected_product_id) || {}).quantity, action: 'decrease' })">
increasecartitem
x-on:click="$dispatch('increasecartitem', { product: selected_product_id, quantity: (products.find(product => product.id === selected_product_id) || {}).quantity, action: 'increase' })">
decreasecaritem
(-`) function doesn't have it ...