Comments on: How to grey out WooCommerce variations that are out of stock https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/ WooCommerce Plugins Fri, 24 Mar 2023 22:28:57 +0000 hourly 1 By: Gareth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-151896 Wed, 11 Aug 2021 07:00:49 +0000 https://pluginrepublic.com/?p=8198#comment-151896 In reply to Robert Wilkinson.

Yes, please check https://pluginrepublic.com/documentation/not-working-for-more-than-30-variations/.

Thanks.

]]>
By: Robert Wilkinson https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-151889 Tue, 10 Aug 2021 23:46:56 +0000 https://pluginrepublic.com/?p=8198#comment-151889 In reply to Gareth.

This only seems to work for a limited number of variations – what if I have 32 variations? Does your plugin handle that? Thats what I need

]]>
By: Gareth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-121771 Mon, 07 Dec 2020 11:08:57 +0000 https://pluginrepublic.com/?p=8198#comment-121771 In reply to Hassan.

Hi Hassan

Yes, you can do this. Just deselect the ‘Disable out of stock’ option but leave the ‘Show unavailability text’ option enabled.

Thanks.

]]>
By: Hassan https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-121769 Mon, 07 Dec 2020 11:01:29 +0000 https://pluginrepublic.com/?p=8198#comment-121769 I want to be able to allow users to still be able to Select the size (as we have a waitlist functionality) is there a way to keep it enabled but have Out of Stock written next to it?

E.g.

Size 4 – Out of Stock

]]>
By: Gareth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-120618 Sat, 28 Nov 2020 07:53:17 +0000 https://pluginrepublic.com/?p=8198#comment-120618 In reply to Robert Hedlund.

Hi Robert

You can do that using this plugin: https://pluginrepublic.com/wordpress-plugins/woocommerce-better-variations/

Thanks

Gareth

]]>
By: Robert Hedlund https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-120617 Sat, 28 Nov 2020 07:51:29 +0000 https://pluginrepublic.com/?p=8198#comment-120617 If i want the grey out items that are out of stock to be in red color, how do i do that?

]]>
By: Gareth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-120587 Fri, 27 Nov 2020 16:24:26 +0000 https://pluginrepublic.com/?p=8198#comment-120587 In reply to Paul Hildreth.

Hi Paul

If your variations are based on ‘Paper’ and ‘Fold Type’ attributes, then this plugin should do what you need: https://pluginrepublic.com/wordpress-plugins/woocommerce-better-variations/.

Thanks

Gareth

]]>
By: Paul Hildreth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-120586 Fri, 27 Nov 2020 16:22:14 +0000 https://pluginrepublic.com/?p=8198#comment-120586 Hello,
Awesome snippet, been searching for hours to find a simple solution to my current issues and you seem to have the closest so far.

I see your snippet checks the stock level and if 0, it greys it out (awesome)
However, I was wondering if it could be altered slightly to solve my issue.

I have a printing site:
example:
paper (A5 4pp | A5 6pp etc) – fold type (half-fold | Z-fold | C-fold)
if I choose A5 4pp (half-fold) from the paper dropdown, I need the z-fold and c-fold options to grey out
if I choose A5 6pp (c-fold or z-fold) from the paper dropdown, I need the half-fold option to grey out

So using your logic, rather than checking stock, it would be a case of check if Z or C are part of the A5 4pp variable options and if not, grey them out.

I understand you may be busy so I do apologise.

]]>
By: Smail https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-110066 Wed, 19 Aug 2020 12:09:36 +0000 https://pluginrepublic.com/?p=8198#comment-110066 Thanks a lot. I was looking for a couple of hours how to change that. There is one checkbox on Woocommerce inventory but that removes the Out of Stock items entirely, and I don’t want that.

]]>
By: Gareth https://pluginrepublic.com/display-stock-variations-unavailable-woocommerce/#comment-93916 Sat, 16 May 2020 13:27:48 +0000 https://pluginrepublic.com/?p=8198#comment-93916 In reply to Dade.

Yes, you can do this in the latest version of the plugin: https://pluginrepublic.com/wordpress-plugins/woocommerce-better-variations/.

Thanks

Gareth

]]>