Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #840697

    Hi Team,

    All my hidden products have started showing in the shop. Assuming this started when I updated Woo a couple of days ago.
    They are hidden in the default shop but not the pages that use the Product Grid from the Advanced Layout builder.

    If you go to this page http://cathypope.co.nz/collections/stonestruck/ the product “Chrysophase Silver Necklace” is displaying despite being set to hidden.

    Any help would be much appreciated.
    Thanks!

    #841396

    Hey tankerhq,

    Please refer to this thread for a possible solution.

    Best regards,
    Victoria

    #841808

    Hi Victoria,

    That thread is about the product slider in particular, however I tried the suggestions it made about changing theme, removing css and deactivating plugins to try to find a conflict. None of this helped me narrow it down and had no effect on my hidden products being hidden. Any ideas for where to go from here?

    Cheers,

    #842868

    Hi,

    How did you hide the product? There is no option for that by default if I am not mistaken. Are you using a third party plugin to toggle the visibility of the product?

    Best regards,
    Ismael

    #843317

    Hi Ismael,
    I can see the option by either clicking on Quick Edit:Visibility:Hidden or clicking into the product and on the right hand side there’s the option to hide the product. See screenshot: http://imgur.com/a/cV1rn
    As far as I’m aware, all Woo products have this option. They were hiding fine until the latest Woo update, however when I contacted them they said to talk to you as they hide in the default Woo shop but not on pages using the Product Grid.

    Any help would be much appreciated :)

    #843477

    Hi,

    Ah. Alright. I’m sorry I missed that option. However, I still can’t reproduce the issue on my own installation, “hidden” products are not displaying on product grid and slider. Did you add any filter to change the product grid query?

    Best regards,
    Ismael

    #843726

    Hi Ismael,
    We haven’t added any filters that would affect the product grid that I’m aware of, and I haven’t made any changes in the site recently except for updating Woocommerce. So I’m at a loss!

    Thanks,
    Jessie @ Tanker

    #844288

    Hi,

    I would like to check the settings but the login credentials are not working anymore. Please check it.

    Best regards,
    Ismael

    #844610

    Great, thanks, made a new password made for you:

    #844688

    Hi,

    Thank you for the update.

    The product is also “out of stock”. We enabled the Woocommerce > Settings > Products > Inventory > “Out of stock visibility” option.

    Best regards,
    Ismael

    #845108

    Hi Ismael,

    The issue with that is that my client doesn’t want ALL out of stock items hidden from the website. Items which will be coming back in stock are left visible (with an out of stock badge), and out of stock items that aren’t coming back soon are hidden.

    I’ll advise my client that if she wants them hidden they’re better to be turned to draft instead.

    Cheers,

    #845653

    Hi,

    If that’s the case, please try this filter in the functions.php file.

    add_filter('avia_product_slide_query', 'avia_product_slide_query_mod', 10, 2);
    function avia_product_slide_query_mod($query, $params) {
    	$hidden_term = get_term_by( 'name', 'exclude-from-catalog', 'product_visibility' );
    	if( $hidden_term instanceof WP_Term )
    	{
    		$query['tax_query'][] = array(
    			'taxonomy' => 'product_visibility',
    			'field' => 'name',
    			'terms' => 'exclude-from-catalog',
    			'operator'	=>	'NOT IN'
    		);
    	}
    	 return $query;
    }

    Best regards,
    Ismael

    #846049

    Eep, unfortunately that code just brings up a “HTTP ERROR 500” page until it’s removed.

    #846753

    Hi,

    Please make sure that the “avia_product_slide_query_mod” function is not duplicated.

    Best regards,
    Ismael

    #850573

    Dear Kriese Team.

    I had the same issue…i searched the forum…and the solution was already there!!!
    I copied the code to the function.php. Great guys wahat a support!

    I guess in the next update this wil be solved?

    Regards

    Gilbert
    http://www.celebrationevents.nl

    #850870

    Hi,

    Thank you for the confirmation. We have reported the issue to Kriesi.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.