Bit of a different one, I need to filter the cart and calculate the figures with the filter on.
I have tried:
{{cart.data.where(`instock`, 1, '==').sum(`sell` * `qty`)}}
but this just gives me a 0
I am assuming that I have done something wrong here, can anyone please help ?