Trying To Remove In Stock As A Field 4.36

There used to be a check box in V3 to remove in stock text as a field on product details page, looks like it needs commenting out now. I want to have inventory tracked but dont want to display in stock on product page.

Anyone know how I can remove please.

instock.JPG

There used to be a check box in V3 to remove in stock text as a field on product details page, looks like it needs commenting out now. I want to have inventory tracked but dont want to display in stock on product page.

Anyone know how I can remove please.

Settings > Appearance untick the Show number of available products box

Thanks John..

but that does the actual quantity of items, so if I check that it shows how many.

If I uncheck that it shows "in stock"

I want the "in stock" text not to show at all

Thanks John..

but that does the actual quantity of items, so if I check that it shows how many.

If I uncheck that it shows "in stock"

I want the "in stock" text not to show at all

You probably don't want to mess with that because I think it is part of the structured data.

design/themes/YOUR_THEME/templates/views/products/view.tpl

Please replace:

show_product_amount=true

with

show_product_amount=false

Then clear the cache. There is also hook in this file