You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this request requires additional support (e.g., such as direct email/phone/meeting/development), I have the following interest in helping to sponsor the effot via GitHub Sponsors:
None, please continute to work for me for free :P
Absolutely, I get value out of this!
Maybe later
I'm already a sponsor... Woot!
Describe the bug
The drilldown view model does not respect the "When Out of Stock, Show but Don't Allow Purchaases" setting option. Products with this inventory mode setting are expected to show on the category drilldown view even if inventory is zero. The product when set with a positive inventory integer does show in the view and it still shows after setting it to zero but it dissapears once the HCC cache is cleared. It's not in the JSON once cache is cleared either which is what's used to populate the view.
Software Versions
TESTED ON 2 VERSION of DNN & HCC
DNN: 09.13.06 & 09.13.02
Hotcakes: 03.08.02 & 03.06.00
To Reproduce
Steps to reproduce the behavior:
HCC Category module should be set to drilldown view
A product's Inventory Mode should be set to "When Out of Stock, Show but Don't Allow Purchaases" with a positive inventory count.
Observe the product does appear in the category module.
Set the inventory to 0, observe the product still appears in the category module.
Clear the cache, the product no longer shows on the category module.
Expected behavior
The product with inventory mode set to: "When Out of Stock, Show but Don't Allow Purchaases" is expected to still show or be in the JSON for the Category Module's DrillDown View Model even if inventory is at 0 regardless of cache.
Actual behavior
The product no longer appears in the category module drilldown view when inventory is set to 0 after clearing cache.
Sponsorship
If this request requires additional support (e.g., such as direct email/phone/meeting/development), I have the following interest in helping to sponsor the effot via GitHub Sponsors:
Describe the bug
The drilldown view model does not respect the "When Out of Stock, Show but Don't Allow Purchaases" setting option. Products with this inventory mode setting are expected to show on the category drilldown view even if inventory is zero. The product when set with a positive inventory integer does show in the view and it still shows after setting it to zero but it dissapears once the HCC cache is cleared. It's not in the JSON once cache is cleared either which is what's used to populate the view.
Software Versions
TESTED ON 2 VERSION of DNN & HCC
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The product with inventory mode set to: "When Out of Stock, Show but Don't Allow Purchaases" is expected to still show or be in the JSON for the Category Module's DrillDown View Model even if inventory is at 0 regardless of cache.
Actual behavior
The product no longer appears in the category module drilldown view when inventory is set to 0 after clearing cache.
Screenshots
If applicable, add screenshots to help explain your problem.
Video recording of the steps to reproduce the bug
https://www.dropbox.com/scl/fi/gyltgz5evfe749enf8b7q/HCC_Bug_InventoryMode.mp4?rlkey=4bst9ob2rxu5copeps17y226d&st=mxrrfk68&dl=0
The text was updated successfully, but these errors were encountered: