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

Fix Category Drilldown View to respect Inventory Mode settings #527

Conversation

ArielBlanco1990
Copy link
Contributor

@ArielBlanco1990 ArielBlanco1990 commented Jan 16, 2025

Related to Issue

Fixes #510

Description

This fix addresses an issue where products set to the inventory mode "When Out of Stock, Show but Don't Allow Purchases" disappear from the Category Drilldown view after clearing the HCC cache.
The implemented solution automatically clears the store cache after saving changes to the inventory, ensuring that the changes are reflected correctly in the view.

How Has This Been Tested?

Tested in DNN 09.13.06 and HCC 03.09.00

Screenshots (if appropriate):

https://app.screencast.com/26FO0pcWlSpQL

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@ArielBlanco1990 ArielBlanco1990 deleted the bugfix/category-drilldown-inventory-mode branch January 16, 2025 22:19
@ArielBlanco1990 ArielBlanco1990 restored the bugfix/category-drilldown-inventory-mode branch January 17, 2025 02:00
@WillStrohl WillStrohl added the bug label Jan 20, 2025
@WillStrohl WillStrohl added this to the 03.09.01 milestone Jan 20, 2025
Copy link
Member

@WillStrohl WillStrohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@WillStrohl WillStrohl merged commit 26e199c into HotcakesCommerce:development Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Category Drilldown View does not respect Inventory Mode
3 participants