• Resolved Shane Gowland

    (@thewebatom)


    Hi,

    It’s no longer to possible to disable individual variations since 3.3.1. When ‘Enabled’ is unchecked, the variation is still available on the front-end.

    Have confirmed this on two different websites; one running a custom theme and the other running Storefront.

    Regards,

    Shane

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Shane Gowland

    (@thewebatom)

    Also want to add that variations disabled prior to 3.3.1 are still hidden, but as soon as those products are updated (without changing the Enabled status) the disabled variations become visible on the front-end again.

    Thread Starter Shane Gowland

    (@thewebatom)

    Alright, fixed this with:

    add_filter( 'woocommerce_hide_invisible_variations', '__return_true' );

    It’s utterly perplexing that hiding “invisible” products isn’t the default behavior. A bug, surely?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I tested this and the same occurred in 3.2, 3.1 and 3.0. To be clear, we’re talking about attributes, NOT variations.

    There is an option issue + PR on Github. I suggest you reply there instead of on this forum now it’s known.

    https://github.com/woocommerce/woocommerce/pull/18878

    Thread Starter Shane Gowland

    (@thewebatom)

    I’m quite sure this was working as expected in 3.0 through to 3.2. Are we definitely talking about the same thing?

    Our shop assistant is given a list of variations to enable/disable every Friday. We then generate a list of disabled variations to manually check that none are displaying on the front-end. There’s no way this has been broken for almost a year with nobody noticing.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I think we found it: https://github.com/woocommerce/woocommerce/pull/18908

    Thanks for the report.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t disable variations since 3.3.1’ is closed to new replies.