This topic has 27 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Olga Barlow
Dashboard warning says I have to reactivate the plugin…
Hello,
Yes, unfortunately, when you activate plugin it displays only products for the non-logged in users and we can’t find the reason why.
Regards
Maybe can you tell me the changes and I ask the Wholesale Plugin team?
Hello,
Changes were made in searchform.php and functions.php files of the child theme.
Regards
Hello Olga,
when can I remove the searchform.php and the functions.php? Do you will or had integrate that changes in xstore theme?
I’m in contact with the developers of wholesale suite too. They answered: “Yes, we are aware of this issue. Our developers are working on an update that includes the fix for this issue. But currently, we don’t have ETA yet.”…
They provided that code for functions.php:
add_action( 'pre_get_posts' , 'my_wwpp_pre_get_posts', 11);
function my_wwpp_pre_get_posts($query){
if ( ! $query->is_main_query() || isset($_GET['post_type']) ) return;
$query->set( 'meta_query' , array() );
$query->set( 'post_type' , 'post' );
}
But after adding that code I only got 404 errors so I had to remove it…
BEst regards and thank your for the good support. I extended my license today :).
Hi Olga,
the Wholesale Team provided a fix with the last update.
So I removed the changes from functions.php and searchform.php.
Please see hidden content.
Hello,
I’ll send your request to our developers and they will try to implement if it doesn’t break all the other features. Meanwhile, if you want to have the search by all the content you just need to leave customization that we made in child theme.
Regards
You must be logged in to reply to this topic.Log in/Sign up