• Resolved nick07

    (@nick07)


    Hi , today i updated my woocommerce plugin to 3.2.6 , after this cat_operator=”AND”‘ in product shortcode is not working . [products limit="8" columns="4" category="hoodies, tshirts" cat_operator="AND"]

    i checked with cat_operator="NOT IN"' & cat_operator="IN"' everything is working perfect but cat_operator=”AND” is not working , before it is working .

    And operator is for show product that come in both category .

    So please check

    • This topic was modified 7 years, 3 months ago by nick07.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    The AND operator is working for me under the following conditions:

    WP 4.9.1
    WC 3.2.6
    SF 2.2.5

    It’s possible that you have an interference coming from another plugin/your theme.

    Have you tried switching to a default WordPress theme, such as Strorefront (https://www.ads-software.com/themes/storefront/), and disable all of your plugins, except for WooCommerce, to see if the issuer persists?

    Cheers!

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks!

    Hi,

    In my WP 4.9.4 and with Woocommerce 3.3.4 the cat_operator=”AND” is malfunctioning.

    With the code [products category="ruark_audio"] one gets the expected results.
    If the one enters [products category="ruark_audio" cat_operator="AND"] only the products with subcategories (children of ruark_audio), besides “ruark_audio” show up.

    Interestingly, there are some products with “ruark_audio” category, but also with the category “acessorios”. But the code [products category=”ruark_audio, acessorios” cat_operator=”AND”] does not provide any result.

    Example in: https://audioteam.pt/wp/marcas/ruark-audio/

    I’ve tried deactivating all plugins expect woocoomerce of course, and using Twentytwelve. Same results.

    Would really appreciate the help.

    • This reply was modified 6 years, 11 months ago by Musiphilos.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After updating cat_operator=”AND”‘ is not working .’ is closed to new replies.