Jump to content

Discreet stock management


azurtem

Recommended Posts

Hi

I would like to manage my stock but without affecting customer product views

I don't want a customer to know the status of the stock, either in quantity or in the form of warnings

However, I want customers to be able to continue ordering all products on my site, whether in stock or not

I managed to disable the display of quantities, and allow customers to buy items that are out of stock

But as soon as I activate the (simple) stock management warnings are displayed in the "categories product list",

on the "product page" and on the "basket" at checkout

I found the following suggestions to hide the 'out of stock' and 'available' warnings:

https://www.prestashop.com/forums/topic/417152-how-to-remove-in-stock-and-out-of-stock-option-from-categories/

https://www.prestashop.com/forums/topic/558833-disable-hide-availability-label-in-shopping-cart/

https://www.prestashop.com/forums/topic/473452-remove-in-stock-on-the-product-page/

The concern is that when I apply these workarounds customers can no longer order items that are out of stock

Could someone please suggest me or refer me to an alternative solution?

thank you

regards

yann

Link to comment
Share on other sites

I ended up adding the following line at the top of product.tpl, product-list.tpl et product-cart.tpl :

{assign var='PS_STOCK_MANAGEMENT' value=false}

I also ensured that that out_of_stock was set to 1 or 2 in the stock_available table

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...