-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report
Description
Explanation of issue
When a store is configured to use a different currency than the Base Currency and a discount is applied to the shipping, the quote_address.shipping_discount_amount
field will not be multiplied by the currency conversion rate, even though it should be.
Steps to reproduce issue
- Install Magento CE 2.0.0 with sample data.
- Configure the store to use a non-USD currency. Something like this:
- Go to Stores > Currency Rates and ensure that conversion rates have been imported for your selected rate.
- Setup a "10% off" shopping cart price rule. Configure the rule to apply discount to shipping amount.
- Ensure that a shipping method (like flat rate) is configured.
- On the frontend, add a product to cart.
- In the "Estimate Shipping and Tax" section of the cart, enter a country/region/postal code. When a shipping method is selected, the cart total should update.
- Apply the 10% off coupon your created earlier.
- Look at the
quote_address.shipping_discount_amount
andquote_address.base_shipping_discount_amount
fields for your current quote. They will be the same value, even though theshipping_discount_amount
should be multiplied times the currency conversion ratio.
You should be able to reproduce this issue by following the steps listed above, but if you are not, let me know and I can provide more exact steps. I noticed that this behavior is inconsistent. It happens on the cart and when you place an order, but on the final step of the checkout, the price is different because the shipping_discount_amount
field is being multiplied by the conversion rate.
Metadata
Metadata
Assignees
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report