Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #797345

    Hi team,

    I have a compatibility related issue with Wholesale Suite https://wholesalesuiteplugin.com/ and wanted to know whether my issue is within the realm of things that you help with.

    When logged in as a wholesale customer, retail products aren’t supposed to display. When I used the default Woocommerce shop page it displays correctly. However if I use the Product Grid from the Advanced Layout Builder, it no longer displays correctly – retail only products show. I’ve tried another theme and it works correctly so it looks like it’s an Enfold related issue.

    The plugin developer said if the theme is causing it then they won’t help, so I’m hoping you might be able to.

    Thanks,

    #797962

    Hey tankerhq,

    You are right, there are compatibilities issue.
    Although the easier solution is to contact the plugin author and ask them to give it a look
    Most probably they will be able to guide us so we can solve it out.

    Best regards,
    Basilis

    #799305

    Hey Basilis,

    The plugin dev said this:

    If the Enfold team can provide a filter for the product grid query, we might be able to attach our visibility filtering function to it. This is basically caused by Enfold using a non-default custom query to retrieve products which are not filtered for visibility.

    Could you please forward this to the Enfold support?

    #800622

    Hi,

    I will do, and we can see what they can come up!
    I will do let u know if there is any update about it!

    Thank you for your understanding and patience.

    Best regards,
    Basilis

    #816543

    Hey Basilis,

    Did you come up with anything on this?

    Cheers,

    #819620

    Hi,

    We are afraid not till now.
    We have been working hard on the new version 4.1 which was out today, so anything else will come after.
    I will do forward it again and will do let you know if there is anything else we can do.

    Best regards,
    Basilis

    #820912

    Thanks!

    #848378

    Hey Basilis,
    I know you’re all super busy and this isn’t a priority, and you always give great support where possible, do you think I should just give up on being able to use this plugin?
    Unless I can get it to work with the product grid element I’ll have to find another solution and am currently stalled on this as the plugin dev needs more info from you before they can fix it at their end.

    Cheers,
    Jessie

    #849794

    Hi,

    This is an example of the product grid query filter.

    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;
    }

    // https://kriesi.at/support/topic/show-1-recent-item-from-each-catergory/#post-810813
    // https://kriesi.at/support/topic/woocommerce-product-sorting/#post-669215

    Please forward it to the plugin developers.

    Best regards,
    Ismael

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