Developer forum

Forum » Feature requests » Product Stock and block add to cart

Product Stock and block add to cart

Nuno Aguiar
Reply

Hi,

 

Not sure if I ever requested this, but keeps showing up in multiple projects. We would love to have 2 booleans to control:

  • Block add to cart
    Disabling this product from being added to the cart and don't have to develop cart notifications
  • Disable stock control
    So we don't have to keep forcing stock levels to 999999 on products we don't need to control stock and actual levels on products we do

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

@1: It is a rendering related feature as I see it. You have an option already to not display products that are not in stock. But you want it to be displayed, still show the "Add to cart" button on the product, and when the user tries to add the product to the cart, then what should happen? Nothing?

@2: You can already do this. On the product, you can set the product type to be "Service" - which means that stock is not taken into consideration. It also removes the stock field on the product edit screen.

BR Nicolai

 
Nuno Aguiar
Reply

Hi Nicolai,

 

  1. I see your point. However we've had situations where a product must no longer be added to the cart. Users can still go to their order history and click "reorder" - voilá
    Another issue is that some other users figured "cartcmd=add" and voilá again
    To be 100% sure we have to build orderline added notifications to check product's custom field and manage that
     
  2. Yes you can, but you also lose the weight and volume on those products, messing up the shipping fee calculations.
    Although the fields are there, they are also not taken into consideration

 

Best Regards,

Nuno Aguiar