-
AuthorPosts
-
May 22, 2017 at 1:46 am #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,
May 22, 2017 at 10:56 pm #797962Hey 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,
BasilisMay 25, 2017 at 2:03 am #799305Hey 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?
May 27, 2017 at 7:36 pm #800622Hi,
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,
BasilisJuly 4, 2017 at 11:52 pm #816543Hey Basilis,
Did you come up with anything on this?
Cheers,
July 11, 2017 at 8:55 pm #819620Hi,
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,
BasilisJuly 14, 2017 at 2:40 am #820912Thanks!
September 6, 2017 at 12:09 am #848378Hey 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,
JessieSeptember 9, 2017 at 3:20 am #849794Hi,
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-669215Please forward it to the plugin developers.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.