3

I want to keep disabled product in cart.

Let's say I have added one product to the cart. After that I have disabled that product from Magento admin. Now when I visit cart page, there is message that your cart is empty. But I want to keep disabled product in cart.

Persistent shopping cart is already enabled in my case.

How to prevent Magento from removing the disabled items from cart?

  • 1
    What is your expectation with disabled products in cart? Since a disabled product can't be bought by a customer proceeding the checkout will be not possible with disabled products in the cart. – HelgeB Mar 4 at 13:53
  • Yes but i want to allow customer to buy even disable products as well. As we are not maintaining stock. – Hardik Mar 4 at 13:59
  • Then you should configure Magento not to manage stock and no product will be disabled or set out of stock. – HelgeB Mar 4 at 14:04
  • We are not managing stock. But can not prevent magento to disable products or set out of stock. – Hardik Mar 6 at 6:34
  • If you do not manage stock, a very simple solution could be to set stock to 10,000 or even more and then, in Advanced Inventory, set Notify for Quantity Below to 1,000. This way you will hardly have some product go out of stock, and you get notifications when you have sold 9,000 pieces. – Nicola Lepetit Mar 6 at 16:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.