Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk Pricing Rules Data Unavailable on Product Listing Faceted Search #2479

Open
axondigital opened this issue Jul 29, 2024 · 0 comments
Open

Comments

@axondigital
Copy link

Expected behavior

On Product Listing Page
Bulk Discount Rates Call out/Link to show on product cards even when faceted search is used.

Actual behavior

On page load (Product Listing Page)
Product cards show bulk discount rates call out/link

As soon as faceted search is used (product filters or pagination) the product card bulk discount rates call out no longer renders.

Steps to reproduce behavior

Have tested on the latest version of cornerstone and still getting this issue.

  1. config.json - "bulk_discount_rates": true
  2. Navigate to a category with products that have bulk pricing rules.
  3. See Bulk Discount Rates call out on product card
  4. Use faceted search, filter or next page of results
  5. Bulk Discount Rates call out no longer renders on product cards

Additional info
It seems that bulk_discount_rates are no longer apart of page context when faceted search is used.
The first conditional check for bulk_discount_rates.length is true on initial page load though,
return false on faceted search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant