Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When creating a new order in magento admin console for a product that includes custom options, the total product price is incorrectly calculated using the option price for the default store instead of the option price of the new order store.
The product total in the products list is correctly calculated using the correct option price for the order store, but the order totals (the subtotal specifically) is calculated using the product option price for the admin (default) store
Expected Behavior
I would expect the subtotal of the order to match the correct amount calculated using the order store for the option prices
Steps To Reproduce
- In a multi-store magento installation
- Create a product that has custom options with different FIXED prices in different websites/stores
- In the admin console, create a new order in a specific store
- Add the product created to the order and configure the product to add the option(s) with specific prices
- The product list section shows the correct total for the product and option in the order store
- However, the order subtotal in the totals section is calculated with the product price in the order store but the option price in the admin store



Environment
- OpenMage: 20.12.2
- php: 8.2
Anything else?
No response