• mukape

    (@mukape)


    Hi,

    I’m trying to use this plugin to display product variations as a single product, the plugin works for me perfectly
    but you know, when your product displays the variations as a single product, it’s keeping all the variations with the same name, so the first request: how can I change the variation’s name?

    the second thing I need to display the product variations as single products also, so if the user is looking for a black t-shirt which is a variation of a variable product, and when he is searching for black only, it will show the black variation only to him.

    we need also to know how to show the variations only if attributes are filtered

Viewing 1 replies (of 1 total)
  • miemie

    (@miemie)

    Hi @mukape,

    By default, WooCommerce doesn’t display attributes in variations of the variable products when there are 3 or more attributes.

    In order to make attributes of variable products appear again, you can try to add the following code snippet to the theme/function.php file of your site (How to add custom code:https://wpclever.net/faqs/add-custom-code?):

    add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_true', 99 );

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Variations not showing in the search’ is closed to new replies.