During code development, some strange things happens and in routine, we will start blaming commerce server for not working. The same thing happened when we run basket pipeline after adding a product to the basket. Basket pipeline component has removed the newly added produce and written below error message in the log

Please note that one or more items were removed from your order because the product is no longer sold”.

As usual, by seeing the error message in the log, we started looking whether inventory for that product is over. Later we have disabled the inventory and at last we have remove the mapping of inventory catalog and product catalog. After some troubleshooting we found that the item we are adding into the basket is a product family and we are setting product ID in the line item but not the variant ID. A simple miss has created a big mess :) . So, friends, if you have seen such error either check for inventory or check if you are passing correct values to the line item.

Related Articles


If you like this post, please click on our sponsor advertisement.


One Response to “Please note that one or more items were removed from your order because the product is no longer sold.”

Leave a Reply

Follow me on Google+
Couldn't get data from google+
Sign up for Newsletter