Assumption.
- Storefront API is used to build and operate the store.
- Product prices are registered with tax included.
I don’t know how long this has been happening, but suddenly the prices of items on the product page and collection page are being obtained with the tax amount added to the price registered as including tax.
In the admin page, for each product, I check the box to charge tax, and in the overall settings, I set the price to include tax.
The amount after adding to cart and on the checkout page is the amount I registered for the product.
I didn’t know how to solve this problem, so I did a product amount / 1.1 to handle it.
Does anyone know how to get the correct amount in the API response?
Translated with DeepL.com (free version)