shortcode without the open filter button or image
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 pleaseIf 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.
Quote from lisa@outhouse-media.co.uk on April 2, 2024, 17:01Hi
I have the plugin working as I would like it to, but a couple of questions:
- Using the widget there is no open filter button/image just the search form, however it won't allow hierarchy drop down as my shortcode does see link in private data for this topic- I don't want anyone to have to click on anything to open the search filter
- I would like the search results to display the search terms chosen i.e. Citroen, Relay, 2007, L1H1 as a title.
Hope you can help :-)
Hi
I have the plugin working as I would like it to, but a couple of questions:
- Using the widget there is no open filter button/image just the search form, however it won't allow hierarchy drop down as my shortcode does see link in private data for this topic- I don't want anyone to have to click on anything to open the search filter
- I would like the search results to display the search terms chosen i.e. Citroen, Relay, 2007, L1H1 as a title.
Hope you can help :-)
Quote from Pablo Borysenco on April 3, 2024, 10:00Hello
1 Please check this option - https://share.pluginus.net/image/i20240403105159.png
2 Unfortunately the plugin does not have such a feature. SEO URL extension can provide similar functionality - https://products-filter.com/extencion/seo-url-request
Hello
1 Please check this option - https://share.pluginus.net/image/i20240403105159.png
2 Unfortunately the plugin does not have such a feature. SEO URL extension can provide similar functionality - https://products-filter.com/extencion/seo-url-request
Quote from lisa@outhouse-media.co.uk on April 3, 2024, 11:04Hi
I want to use the shortcode instead but it keeps displaying a button first instead of just the filter search form. This is my shortcode:
[woof sid='generator_660552c11daa7' redirect='https://www.omtest.co.uk/vanrack/shop' autohide='0' autosubmit='1' is_ajax='0' ajax_redraw='1' start_filtering_btn='1' btn_position='b' dynamic_recount='-1' hide_terms_count_txt='0' mobile_mode='0' ]
Thanks in advance
Hi
I want to use the shortcode instead but it keeps displaying a button first instead of just the filter search form. This is my shortcode:
[woof sid='generator_660552c11daa7' redirect='https://www.omtest.co.uk/vanrack/shop' autohide='0' autosubmit='1' is_ajax='0' ajax_redraw='1' start_filtering_btn='1' btn_position='b' dynamic_recount='-1' hide_terms_count_txt='0' mobile_mode='0' ]
Thanks in advance
Quote from Pablo Borysenco on April 3, 2024, 11:55OK! Please read docs - https://products-filter.com/shortcode/woof
you enabled this option - start_filtering_btn='1' - try to delete it in the shortcode
OK! Please read docs - https://products-filter.com/shortcode/woof
you enabled this option - start_filtering_btn='1' - try to delete it in the shortcode
Quote from lisa@outhouse-media.co.uk on April 3, 2024, 13:04you are amazing - thank you :-)
you are amazing - thank you :-)
Quote from Pablo Borysenco on April 4, 2024, 16:29Hello
Great! Welcome;)
Hello
Great! Welcome;)
Quote from lisa@outhouse-media.co.uk on May 7, 2024, 19:18Just another issue I have noticed - My site's mega menu works perfectly on website pages but on any of the swoof search result pages it breaks?
https://www.omtest.co.uk/vanrack/shop/swoof/select-vehicle-boxer/
hope you can help - nearly there :-)
Just another issue I have noticed - My site's mega menu works perfectly on website pages but on any of the swoof search result pages it breaks?
https://www.omtest.co.uk/vanrack/shop/swoof/select-vehicle-boxer/
hope you can help - nearly there :-)
Quote from Pablo Borysenco on May 8, 2024, 10:21Hello
Can you make a video with the issue?
Hello
Can you make a video with the issue?
Quote from lisa@outhouse-media.co.uk on May 8, 2024, 11:33Hi
please see the link: https://www.loom.com/share/5c1f6d2d397741b2a17e0ff3c47a5313?sid=14b4c9e1-6c20-4cb8-9b37-6e65d02ed077
many thanks in advance
Hi
please see the link: https://www.loom.com/share/5c1f6d2d397741b2a17e0ff3c47a5313?sid=14b4c9e1-6c20-4cb8-9b37-6e65d02ed077
many thanks in advance
Quote from Pablo Borysenco on May 8, 2024, 12:29Looks like I figured out what the problem might be: the filter's search query also affects these product blocks - https://c2n.me/4kPoTRA.jpg - code customization is needed to solve this incompatibility
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Looks like I figured out what the problem might be: the filter's search query also affects these product blocks - https://c2n.me/4kPoTRA.jpg - code customization is needed to solve this incompatibility
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Quote from lisa@outhouse-media.co.uk on May 13, 2024, 18:12Hi
it's ok, we worked around it. However, the website is now live but the client wants the title on the search resultds page to be:
You searched for: (terms)
Is this possible and how would I do it? Thanks again
Hi
it's ok, we worked around it. However, the website is now live but the client wants the title on the search resultds page to be:
You searched for: (terms)
Is this possible and how would I do it? Thanks again
Quote from Pablo Borysenco on May 14, 2024, 11:15Hello
The standard functionality looks like this - https://products-filter.com/shortcode/woof_search_options
If this doesn't work for you, then you need code customization
Hello
The standard functionality looks like this - https://products-filter.com/shortcode/woof_search_options
If this doesn't work for you, then you need code customization
Quote from lisa@outhouse-media.co.uk on May 14, 2024, 13:40Thank you - that works fine but how do I get it to show the full search hierarchy
if I do a search for Renault > Kangoo > 1998 > L1 the search result just shows the last in the hierarchy
Thank you - that works fine but how do I get it to show the full search hierarchy
if I do a search for Renault > Kangoo > 1998 > L1 the search result just shows the last in the hierarchy
Quote from Pablo Borysenco on May 15, 2024, 09:42Hello
Unfortunately the plugin does not have such a feature.
Hello
Unfortunately the plugin does not have such a feature.
Quote from lisa@outhouse-media.co.uk on May 15, 2024, 16:43Thanks
I am trying to make it work and have added this code to functions.php. I am using the theme thegem by codex who don't use the archive-product and appear to have removed the before and after - see end of post
function display_selected_terms_with_woof() {
// Initialize an empty array to store selected terms
$selected_terms = [];// Get all taxonomies for products
$taxonomies = get_object_taxonomies('product', 'objects');foreach ($taxonomies as $taxonomy => $taxonomy_object) {
if (isset($_GET[$taxonomy])) {
$term_slugs = explode(',', $_GET[$taxonomy]);
foreach ($term_slugs as $term_slug) {
$term = get_term_by('slug', $term_slug, $taxonomy);
if ($term) {
$selected_terms[] = $term->name;
}
}
}
}// Display selected terms
if (!empty($selected_terms)) {
echo '<div class="selected-terms">';
echo '<h3>Selected Terms:</h3>';
echo '<ul>';
foreach ($selected_terms as $term) {
echo '<li>' . esc_html($term) . '</li>';
}
echo '</ul>';
echo '</div>';
}
}
add_action( 'woocommerce_before_shop_loop', 'display_selected_terms_with_woof', 9 );
Thegem woocommerce.php file beginning:
woocommerce.php<?php/*** Template Name: Woocommerce* The Woocommerce template file* @package TheGem*/if (isset($_GET['thegem_products_ajax'])) {remove_all_actions('woocommerce_before_shop_loop');remove_all_actions('woocommerce_after_shop_loop');remove_all_actions('woocommerce_archive_description');echo '<div data-paged="' . get_query_var( 'paged' ) . '">';woocommerce_content();echo '</div>';exit;}$archive_template_id = thegem_archive_product_template();$thegem_grid_type = thegem_get_option('product_archive_type');
Thanks
I am trying to make it work and have added this code to functions.php. I am using the theme thegem by codex who don't use the archive-product and appear to have removed the before and after - see end of post
function display_selected_terms_with_woof() {
// Initialize an empty array to store selected terms
$selected_terms = [];
// Get all taxonomies for products
$taxonomies = get_object_taxonomies('product', 'objects');
foreach ($taxonomies as $taxonomy => $taxonomy_object) {
if (isset($_GET[$taxonomy])) {
$term_slugs = explode(',', $_GET[$taxonomy]);
foreach ($term_slugs as $term_slug) {
$term = get_term_by('slug', $term_slug, $taxonomy);
if ($term) {
$selected_terms[] = $term->name;
}
}
}
}
// Display selected terms
if (!empty($selected_terms)) {
echo '<div class="selected-terms">';
echo '<h3>Selected Terms:</h3>';
echo '<ul>';
foreach ($selected_terms as $term) {
echo '<li>' . esc_html($term) . '</li>';
}
echo '</ul>';
echo '</div>';
}
}
add_action( 'woocommerce_before_shop_loop', 'display_selected_terms_with_woof', 9 );
Thegem woocommerce.php file beginning:
Quote from Pablo Borysenco on May 16, 2024, 11:11Hello
Ok! thank you for your cooperation
To make this code work with the SEO URL option:
Try using this code to get the current search query by taxonomy ( instead of $_GET )
if(class_exists('WOOF')){
global $WOOF;
$search_request = $WOOF->get_request_data();
}
Hello
Ok! thank you for your cooperation
To make this code work with the SEO URL option:
Try using this code to get the current search query by taxonomy ( instead of $_GET )
if(class_exists('WOOF')){
global $WOOF;
$search_request = $WOOF->get_request_data();
}
Quote from lisa@outhouse-media.co.uk on May 16, 2024, 12:00Thank you - where would I add this? Sorry I am a beginner but trying :-)
Thank you - where would I add this? Sorry I am a beginner but trying :-)
Quote from Pablo Borysenco on May 17, 2024, 11:25Hello
I changed the function
function display_selected_terms_with_woof() {
// Initialize an empty array to store selected terms
$selected_terms = [];// Get all taxonomies for products
$taxonomies = get_object_taxonomies('product', 'objects');$search_request = $_GET;
if(class_exists('WOOF')){
global $WOOF;
$search_request = $WOOF->get_request_data();
}
foreach ($taxonomies as $taxonomy => $taxonomy_object) {
if (isset($search_request[$taxonomy])) {
$term_slugs = explode(',', $_GET[$taxonomy]);
foreach ($term_slugs as $term_slug) {
$term = get_term_by('slug', $term_slug, $taxonomy);
if ($term) {
$selected_terms[] = $term->name;
}
}
}
}// Display selected terms
if (!empty($selected_terms)) {
echo '<div class="selected-terms">';
echo '<h3>Selected Terms:</h3>';
echo '<ul>';
foreach ($selected_terms as $term) {
echo '<li>' . esc_html($term) . '</li>';
}
echo '</ul>';
echo '</div>';
}
}
add_action( 'woocommerce_before_shop_loop', 'display_selected_terms_with_woof', 9 );
Hello
I changed the function
function display_selected_terms_with_woof() {
// Initialize an empty array to store selected terms
$selected_terms = [];
// Get all taxonomies for products
$taxonomies = get_object_taxonomies('product', 'objects');
$search_request = $_GET;
if(class_exists('WOOF')){
global $WOOF;
$search_request = $WOOF->get_request_data();
}
foreach ($taxonomies as $taxonomy => $taxonomy_object) {
if (isset($search_request[$taxonomy])) {
$term_slugs = explode(',', $_GET[$taxonomy]);
foreach ($term_slugs as $term_slug) {
$term = get_term_by('slug', $term_slug, $taxonomy);
if ($term) {
$selected_terms[] = $term->name;
}
}
}
}
// Display selected terms
if (!empty($selected_terms)) {
echo '<div class="selected-terms">';
echo '<h3>Selected Terms:</h3>';
echo '<ul>';
foreach ($selected_terms as $term) {
echo '<li>' . esc_html($term) . '</li>';
}
echo '</ul>';
echo '</div>';
}
}
add_action( 'woocommerce_before_shop_loop', 'display_selected_terms_with_woof', 9 );
Quote from lisa@outhouse-media.co.uk on May 17, 2024, 13:13Thank you - how do I make this work with the seo url option. Ive read the documentation and not sure what to add:
Thank you - how do I make this work with the seo url option. Ive read the documentation and not sure what to add:
Quote from Pablo Borysenco on May 20, 2024, 12:00Hello
You need to insert a search query (for which you want to do SEO optimization) - https://share.pluginus.net/image/i20240520125910.png The other fields are headers that will change if the user uses this search link.
Hello
You need to insert a search query (for which you want to do SEO optimization) - https://share.pluginus.net/image/i20240520125910.png The other fields are headers that will change if the user uses this search link.