Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / POSM to not display out of stock variants

POSM to not display out of stock variants

Started by lsde on 30 Dec 2024, 2:24 PM · Views: 753

Results 1 to 3 of 3
30 Dec 2024, 2:24 PM
#1
lsde avatar

lsde

New Zenner

Join Date:
Jul 2014
Location:
Delaware USA
Posts:
26
Plugin Contributions:
0

Post #1 by lsde

2.1 on localhost with php 8.1.25.
Upgrading from 1.58 to 2.1 and from SBA to POSM using radio buttons. In SBA you could have an attribute/variant with 0 stock to not show on the product page, the radio buttons would not show up for those variants with 0 stock. With POSM the out of stock variants show the radio button with "[Back-ordered]", and they cannot be selected.

Is there a way to have the out of stock variants not show up on the product page, as was possible with SBA?

Thank you for any suggestions.
Randy

30 Dec 2024, 3:18 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,154
Plugin Contributions:
56

Post #2 by lat9

lsde:

2.1 on localhost with php 8.1.25.
Upgrading from 1.58 to 2.1 and from SBA to POSM using radio buttons. In SBA you could have an attribute/variant with 0 stock to not show on the product page, the radio buttons would not show up for those variants with 0 stock. With POSM the out of stock variants show the radio button with "[Back-ordered]", and they cannot be selected.

Is there a way to have the out of stock variants not show up on the product page, as was possible with SBA?

Thank you for any suggestions.
Randy
You might be able to affect that display by adding the following to one of your template's .css files:

.no-stock { display: none; }
1 Jan 2025, 2:45 PM
#3
lsde avatar

lsde

New Zenner

Join Date:
Jul 2014
Location:
Delaware USA
Posts:
26
Plugin Contributions:
0

Post #3 by lsde

lat9:

You might be able to affect that display by adding the following to one of your template's .css files:

.no-stock { display: none; }


Thanks for your suggestion but after looking at all of our templates .css files and editing 6 or 7 of them to add the line all I was able to do was to remove the red Back Ordered notice.  The radio  buttons still appeared as before.  I am using responsive classic.  Would you know what .css file I should be looking at?

Thanks for your help.