PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Automatic Submission

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello, thanks for the feedback, how do I create a 4-way widget that automatically redirects without a search button so that it is only on the shop page?

Danke für die Unterstützung

Hello

To add filter - https://products-filter.com/shortcode/woof_front_builder

I gave you a custom code that works for the entire site, now we can try to limit this functionality. An example:

add_filter('woof_filter_shortcode_args', function($args){

if (is_home()) {

$args['ajax_redraw'] = 0;

} else {

$args['ajax_redraw'] = 1;

}

return $args;

});

Hallo, danke für den code, leider funktioniert der code nicht, es wird von der startseite nicht zur shop seite weitergeleitet.

add_filter('woof_filter_shortcode_args', function($args){
if (is_home()) {
$args['ajax_redraw'] = 0;
} else {
$args['ajax_redraw'] = 1;
}
return $args;
});

When I use your builder, I can't set there to be 4 fields next to each other on the desktop and 4 fields one below the other in the mobile version.

Is there a solution for this please?

Thanks for the support

Hello

Ok!  My test  - some video

 I can't set there to be 4 fields next to each other on the desktop  -  in this case you need CSS customization, add the filter correctly and I will do this customization

Hello Pablo, thank you, it's online

Can you please delete the screenshot thanks

Hi, unfortunately the forwarding doesn't work with your code. Thanks for the help

Hello

unfortunately the forwarding doesn't work with your code -  Unfortunately I didn't understand. I tested it and made a video where you can see that it works. Maybe I'm missing something?

Hello Pablo, can you please help me with the filter as discussed so that it fits responsively on the homepage again?

Thank you

""Hello

Ok!  My test  - some video

 I can't set there to be 4 fields next to each other on the desktop  -  in this case you need CSS customization, add the filter correctly and I will do this customization""

Hello

Please add  this  CSS

.woof-front-builder-container .woof_auto_1_columns .woof_container {
 width: 24%;
min-width:200px;

Hi thanks for the update, there are now 2 tiles next to each other on the phone and where one is like on the Samsung s8 it is not 100% per line

Hello Pablo, is this okay for responsiv?

.woof-front-builder-container .woof_auto_1_columns .woof_container {
width: 24.6%;
}
@media (max-width: 894px) {
.woof-front-builder-container .woof_auto_1_columns .woof_container {
width: 49%;
}
}
@media (max-width: 768px) {
.woof-front-builder-container .woof_auto_1_columns .woof_container {
width: 49%;
}
}
@media (max-width: 479px) {
.woof-front-builder-container .woof_auto_1_columns .woof_container {
width: 100%;
}
}

Yes it looks like it should work correctly

thx :-)

Welcome;)

Hello Pablo, I now have the Front End Builder running on the homepage and the search shortcode on the homepage.

Everything works so far.

Now I tried your code again so that the search button is always displayed on the shop page.

If you activate the shortcode in function.php, the search as text input and the redirection no longer works.

https://pluginus.net/support/topic/advanced-search-by-text/?part=2#postid-87096

add_filter('woof_filter_shortcode_args', function($args){
if (is_home()) {
$args['ajax_redraw'] = 0;
} else {
$args['ajax_redraw'] = 1;
}
return $args;
});

Thx for Support

Hello

Try  in file  - wp-content\plugins\woocommerce-products-filter\ext\by_text\assets\js\husky.js -  add code  - https://share.pluginus.net/image/i20231229115607.png and -  https://share.pluginus.net/image/i20231229115700.png

woof_ajax_redraw = 0;

Clear all cache and do a test

Hello Pablo, I tried it with and without the code:

add_filter('woof_filter_shortcode_args', function($args){
if (is_home()) {
$args['ajax_redraw'] = 0;
} else {
$args['ajax_redraw'] = 1;
}
return $args;
});

And the code woof_ajax_redraw = 0; We entered it on the 2nd picture, unfortunately I can't open the 1st picture.

Unfortunately, the Front End Builder on the homepage does not work with the redirect.

Thanks for the support

the 2nd picture - https://share.pluginus.net/image/i20231229115607.png

Hello Pablo, unfortunately it still didn't work. No idea what it is

Hello

Ok. can you drop me ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png