Hello,
I'm trying to adjust nopcommerce to my future onlline shop.
To this end, the option available in stock is very important to appear in store.
I have products with variants, and I want to manage the stock because they are different products.
Example:
Fragrance X
Variant 10 ml-10 €
Variant 20 ml-20 €
I tried to create in nopcommerce with the following options:
Product Info
Product Name: Fragrance X
Product type: Standard Product
Product template: Variant in Grid
Published: Yes
Product Variant
Product variant name: 10 ml
Product SKU:1
Manage Stock: Track inventory fot this product
Stock quantity: 1
Display Stock Availability: Yes
Minimum stock quantity: 0
Allow out of stock orders: Yes
****************************
Product variant name: 20 ml
Product SKU:1
Manage Stock: Track inventory fot this product
Stock quantity: 0
Display Stock Availability: Yes
Minimum stock quantity: 0
Allow out of stock orders: Yes
In the store appears:
Product Fragrance X
variant 10 ml - Availability: In stock
variant 20 ml - Availability: In stock
After many tests I noticed that the option "Allow orders out of stock" is to blame for the mistake. Let me explain:
If I have the option "Allow out of stock orders with value true information that appears is always IN STOCK even though the product has stock = 0
If I have the option "Allow out of stock orders with value false, then the information that appears is correct and based on what is in the product data.
Example:
In the store appears:
With Allow out of stock orders = false (all variants)
Product Fragrance X
variant 10 ml - Availability: In stock
variant 20 ml - Availability: Out of stock
With Allow out of stock orders = True (all variants or in variant name 20ml) Product Fragrance X
variant 10 ml - Availability: In stock
variant 20 ml - Availability: In stock
Is bug?
Best regards