Commit Graph

8 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues 2b2e2fbb3d chore(order): preview order change (#8025)
What:
 - new method `previewOrderChange`
   - Calculate all the actions related to an order change.
   - Return the preview of the final Order, with all the calculated values.
   - Associate actions with items and shipping_methods they modified.

FIXES: CORE-2509
2024-07-09 14:45:55 +00:00
Stevche Radevski 1c3ef13371 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
2024-07-09 09:37:13 +00:00
Stevche Radevski db6969578f feat: Plug tax inclusivity in cart and order workflows (#8013) 2024-07-09 11:10:42 +02:00
Carlos R. L. Rodrigues 9f3998393b fix(totals): order item totals (#7867) 2024-06-28 09:34:25 -03:00
Carlos R. L. Rodrigues 7602fe8b61 chore: totals refundable_total (#7857) 2024-06-27 13:56:55 -03:00
Carlos R. L. Rodrigues 096372463e chore(promotion): big number calc (#7537) 2024-05-30 07:23:57 -03:00
Carlos R. L. Rodrigues 4ef70d37bf feat(order): receive return and additional calculations (#7314) 2024-05-14 08:35:31 -03:00
Adrien de Peretti bbccd6481d chore(): start moving some packages to the core directory (#7215) 2024-05-03 13:37:41 +02:00