Skip to content

Tier prices filtering in GraphQl - prices for different customer group but same quantity are not filtered out #29168

Closed
@pmarjan

Description

@pmarjan

Execute this query, to search for product that already meets the pre-conditions below

products(search: "[Product-name]"){ items { price_tiers { final_price { currency value } quantity } } }

Preconditions, expected results and actual results, are all based on an example with colliding ALL CUSTOMER GROUPS with NOT LOGGED IN.
Nevertheless, the problem is still present when colliding ALL CUSTOMER GROUPS group with any other group.

Preconditions (*)

  1. Have a product created that has tier prices set as
    a. Website: All Websites, Group: All Groups, Quantity: 3, Price: Fixed, Value: 3
    b. Website: All Websites, Group: Not Logged In, Quantity: 3, Price: Fixed, Value: 3.5

Steps to reproduce (*)

  1. Execute the query and watch for response

Expected result (*)

  1. There is only one "final_price" with "quantity" = 3 in the response
  2. The lower price value for the given quantity is displayed only

Actual result (*)

  1. Quantity 3 is listed twice for the both customer groups

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions