Skip to content

"Sold out" message shows on products after 20+ products upload #2029

@vigyano

Description

@vigyano

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 :

  1. Create custom plugin under /imports/plugin/custom

  2. configure predefined shop and product data in private/data :

    1. shop.json
    2. empty products.json
    3. default 2 level tags in private/data
      • Level 1 : Root-Category
      • Level 2: Category1, Category2, Category3, Category4
  3. 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.

  4. After 20+ products, the "sold out" message appears in random products.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions