Wrong pricing when using customer groups pricing feature
I have multiple customer groups with different prices for each one. When creating a draft order prices are not updated after selecting a customer and the draft is created using the default prices.
As a workaround, replacing the product with the same one in the order (not draft) admin page makes the pricing right, but it needs multiple extra steps and a refund to be created.
Custom pricing for products is not working
When trying to set a custom pricing for a draft order it's working. Instead, default price is set.
Wrong pricing when creating draft order
Wrong pricing when using customer groups pricing feature
I have multiple customer groups with different prices for each one. When creating a draft order prices are not updated after selecting a customer and the draft is created using the default prices.
As a workaround, replacing the product with the same one in the order (not draft) admin page makes the pricing right, but it needs multiple extra steps and a refund to be created.
Custom pricing for products is not working
When trying to set a custom pricing for a draft order it's working. Instead, default price is set.
System information
Medusa version (including plugins):
Node.js version: 20.5.1 Database: PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1)
Steps to reproduce the behavior
Steps for "Wrong pricing when using customer groups pricing feature":
Expected behavior
Price for product should be the one from customer's group instead of default one.