• Products marked to be hidden are still being displayed. The query should check that for an option “show hidden products”. I’ve harded coded this on shortcoderender.php.

    		$args = array(
    			'post_type'      => 'product',
    			'orderby'        => get_post_meta( $post_id, 'wps_order_by', true ),
    			'order'          => get_post_meta( $post_id, 'wps_order', true ),
    			'posts_per_page' => $wps_number_of_total_products,
    			'tax_query' => array (array(
    				'taxonomy'       => 'product_visibility',
    				'field'    => 'name',
    				'terms'    => 'exclude-from-catalog',
    				'operator' => 'NOT IN', )),
    		);
  • The topic ‘Issue with “catalog visibility”’ is closed to new replies.