Jump to content

Wrong price calculation with attribute and discount


gdilove

Recommended Posts

  • Labels:

    None

     

  • Environment:

    Front Office

    Customer->Group->discount + product->Attribute combination->increase price = mistake in FO product list and schedule

    Trouble with calculation (and show) of the right price with discount in product list and product schedule.

    State of art: customer in a group with 15% discount - product with many attributes that add cost to base price.

    What happen and showed in FO:

    1) Price showed in product list = (Price without VAT + Increase cost special attribute) * ((100 - group discount)/100) * ((100 + VAT)/100);

    2) Price shoved in the schedule of the product = (Price without VAT * ((100 - group discount)/100) + Increase cost special attribute) * ((100 + VAT)/100;

    3) Price added to the cart is equal to point "1" (I think the right one).

    I think the point "2" is wrong and must be equal to point "1"; in point "2" the group discount is not applied to the "Increase cost special attribute".

the version is 1.6.0.14

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...