Bumped by Community user
2 correct gramer mistakes
source | link

I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50.

Now i want to apply some price rules. A rule of 10% discount here.

Problem is how magentoMagento applies theto discounts.

Instead of rounding up the price to 50 and then do the discount ( 50 - 50*10% = 45 ) what it does from what iI understood is it applies the discount to the non rounded-rounded price.

To the 49.99 and it calculates the discount as 4.99. After that, it applies that discount to the product getting it to 45.01 instead of 45.

I want to know if there is any way to access the part where those price rules are applied and round up the price before any catalog price rules isare applied to it.

Thank you

I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50.

Now i want to apply some price rules. A rule of 10% discount here.

Problem is how magento applies the discounts.

Instead of rounding up the price to 50 and then do the discount ( 50 - 50*10% = 45 ) what it does from what i understood is it applies the discount to the non rounded price.

To the 49.99 and it calculates the discount as 4.99. After that it applies that discount to the product getting it to 45.01 instead of 45.

I want to know if there is any way to access the part where those price rules are applied and round up the price before any catalog price rules is applied to it.

Thank you

I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50.

Now i want to apply some price rules. A rule of 10% discount here.

Problem is how Magento applies to discounts.

Instead of rounding up the price to 50 and then do the discount ( 50 - 50*10% = 45 ) what it does from what I understood is it applies the discount to the non-rounded price.

To the 49.99 and it calculates the discount as 4.99. After that, it applies that discount to the product getting it to 45.01 instead of 45.

I want to know if there is any way to access the part where those price rules are applied and round up the price before any catalog price rules are applied to it.

Thank you

    Bumped by Community user
    Bumped by Community user
1
source | link

Round price before apply any catalog price rules to it

I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50.

Now i want to apply some price rules. A rule of 10% discount here.

Problem is how magento applies the discounts.

Instead of rounding up the price to 50 and then do the discount ( 50 - 50*10% = 45 ) what it does from what i understood is it applies the discount to the non rounded price.

To the 49.99 and it calculates the discount as 4.99. After that it applies that discount to the product getting it to 45.01 instead of 45.

I want to know if there is any way to access the part where those price rules are applied and round up the price before any catalog price rules is applied to it.

Thank you