You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sanity doesn't add commas to its number types to separate thousands . To format them to make them more readable, you can use the following steps to add commas to the number types fetched, for example prices being displayed:
Import the above components into your slug.js, product component, cart component or any other place you want to use it Example of implementation on the total price in the cart component:
The text was updated successfully, but these errors were encountered:
sanity doesn't add commas to its number types to separate thousands . To format them to make them more readable, you can use the following steps to add commas to the number types fetched, for example prices being displayed:


Import the above components into your slug.js, product component, cart component or any other place you want to use it
Example of implementation on the total price in the cart component:
The text was updated successfully, but these errors were encountered: