feat: Add necessary middlewares for tax inclusive pricing (#7827)
We are adding tax inclusive pricing calculation when listing products. Two things to keep in mind: - `region_id` will be required if you request calculated prices. - We won't accept `currency_code` anymore, as that will come from the region info (since ultimately a cart and its currency are tied to a region) REF CORE-2376 DEPENDS ON #8003
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { HttpTypes } from "@medusajs/types"
|
||||
|
||||
export const getProductFixture = (
|
||||
overrides: Partial<HttpTypes.AdminProduct>
|
||||
overrides: Partial<HttpTypes.AdminCreateProduct>
|
||||
) => ({
|
||||
title: "Test fixture",
|
||||
description: "test-product-description",
|
||||
|
||||
Reference in New Issue
Block a user