vercel / commerce

Next.js Commerce
https://demo.vercel.store
MIT License
11.48k stars 4.24k forks source link

Correct default cart tax currency #1260

Closed matthew-petrie closed 1 month ago

matthew-petrie commented 11 months ago

The cart defaults the tax to be USD if there is no tax amount set for the cart. This is an unhelpful default due to international and multi currency stores where the currency changes with the cart (most of the this repo handles this correctly).

This changes defaults the currency to the same currency as the cart total currency if there are no taxes set for the current cart.

Before: Screenshot 2023-12-15 at 14 55 28

After: Screenshot 2023-12-15 at 14 55 38

vercel[bot] commented 11 months ago

@matthew-petrie is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.