LaravelShoppingcart icon indicating copy to clipboard operation
LaravelShoppingcart copied to clipboard

fix return tag in cart methods using numberFormat

Open vintagesucks opened this issue 1 year ago • 0 comments

Both tax and subtotal return numberFormat(), which returns the result of a number_format call: string.

https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L253-L270

https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L272-L289

https://github.com/hardevine/LaravelShoppingcart/blob/42902040472895e495a50a9ccaab5d99129b05ff/src/Cart.php#L555-L577

vintagesucks avatar Oct 10 '23 14:10 vintagesucks