Page 1 of 1

Hide Out of Stock message

Posted: Sat Aug 22, 2026 3:59 am
by FlagShipper
I don't keep tabs on stock (I know, bad), I have Check Stock Level set to False, but it still shows all of my items with an "Out Of Stock" message. I can see a negative number of stock, so I know how many of each item I've sold. Is there another way to check how many of an item has been sold? Just upgraded to CEPhoenix so still getting used to where everything is coming from osc2.3

Re: Hide Out of Stock message

Posted: Sat Aug 22, 2026 9:03 am
by burt
I think you are asking to remove mentions of Stock across your site?

Can you say on what pages you see this?

One would likely be shopping_cart.
Your Admin > Modules > Content > {select "Out of Stock Notice" } > Uninstall.

Any others?

--

ps, you can set your Version of Phoenix in your profile...

Re: Hide Out of Stock message

Posted: Sat Aug 22, 2026 3:20 pm
by FlagShipper
v1.1.0.7

I have modules>content>Out Of Stock Notice set to false but it's still showing Out of Stock on index, product_info, etc.

I uninstalled the module via modules>content>out of stock notice> Remove Module and it's still showing the message

Re: Hide Out of Stock message

Posted: Sat Aug 22, 2026 3:37 pm
by FlagShipper
modules>layout>product info>stock set to false removed the message from product_info but it's still showing on the main "latest products" on the front page

Re: Hide Out of Stock message

Posted: Sat Aug 22, 2026 4:36 pm
by burt
That is in the product_card component.

Place a COPY of
/templates/default/includes/components/product_card.php
Into
/templates/override/includes/components/product_card.php

In this *new* file, remove:

Code: Select all

<span>ยท</span>
<span><?= ($product->get('in_stock') <= 0 ? IS_PRODUCT_OOS : IS_PRODUCT_IIS); ?></span>
--

See Example 1 on this page:
https://phoenixcart.org/phoenixcartwiki ... a_Template
for a basic overview of a similar concept.