Stock Inventory Level Bug (Single Stock level but using attributes in the same transaction)

Posted: July 05, 2019 at 3:53 AM Quote #242183
1. nopCommerce version: 4.2
2. Expected Behaviour: Only allow stock level quantity of items to be sold
3. Actual behavior: Allows stock level to be sold "for each attribute, IF purchased in the same transaction"
4. Steps to reproduce the problem
Create a product with a product attribute Age with dropdown list options of Adult / child.
Inventory Method: Track Inventory, Stock Level 20
Buy the product and add 20 to the qty, while selecting child and add 20 while selecting adult
Added to basket with no errors which is wrong as there are only 20 places in total.

Note that if you add 20 adult tickets and buy them, the stock level is correctly updated and you cannot buy child tickets so the problem is purely for buying in the same transaction.

5. Any private modifications you made to your nopCommerce: None. Using the latest download to explore nop commerce for use with event bookings.

Thanks
Andy
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 10, 2019 at 10:11 AM Quote #242354
Reported in previous post.
https://www.nopcommerce.com/boards/t/45229/able-to-buy-more-product-than-available-quntity.aspx
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more