-
Couldn't load subscription status.
- Fork 2.2k
Description
Expected behavior
"sold out" tag should appear only when the quantity is less the available quantity or warn quanity
Actual Behavior
"sold out" tag appear random on products that has still available quantity above 1
Steps to Reproduce the Behavior
The issue appears random and most of the time it occurs after uploading 20 product items. But sometimes it appears even in less than 20 products
Scenario :
-
Create custom plugin under /imports/plugin/custom
-
configure predefined shop and product data in private/data :
- shop.json
- empty products.json
- default 2 level tags in private/data
- Level 1 : Root-Category
- Level 2: Category1, Category2, Category3, Category4
-
Upload one products at a time and tag the product to show in one of the level-2 category and also in level-1 root-category. Make sure to publish and make it visible.
-
After 20+ products, the "sold out" message appears in random products.