Forums Forums Search Search Results for 'woocommerce'

Viewing 10 results - 481 through 490 (of 1,497 total)
  • Author
    Search Results
  • #210895

    Trevor
    Participant

    The “Detect defaults from current page” look at the page (URL/type) to determine what it can then set in the form. It does not look at the post itself to see what terms the post uses.

    So, if you have a WooCommerce shop, where you have a product category of ‘shoes’, if you go to the shoes product category archive page, and you have a product category field in the form, it will then detect shoes and pre-select it in the form.

    The free version of our plugin (not supported in this forum), works very differently. What you want cannot be done in the Pro version.


    Anonymous
    Inactive

    Hi Trevor,

    Maybe I should start over.

    Is it possible to query both posts and woocommerce products in the same search?
    My test search is not giving me any products. https://www.debralynndadd.com/search-test

    My goal is to replace the current search. https://www.debralynndadd.com/super-search/

    Enter books and click the green search button, it will take you to the results: https://www.debralynndadd.com/?s=book

    Thank you


    Anonymous
    Inactive

    I have a custom WP Query set to grab some WooCommerce products that have an ACF True/False field set to true. I then hook this into a S&F form I created.

    $args = array(
       'numberposts' => -1,
       'posts_per_page' => 25,
       'post_type' => 'product',
       'post_status' => 'publish',
       'paged' => get_query_var('paged'),
       'meta_key'      => 'special_offer',
       'meta_value'    => true,
    );
    $args['search_filter_id'] = 4672;
    

    The S&F form itself has Taxonomy filters for pa_size and pa_color.

    There are 300+ products in the store with many sizes and colours but only 2 are marked as special offer being true. The initial results that show when visiting this page reflect the 2 that I should see but the filters are displaying as if that special_offer = true requirement was not there. The total number of products shown in brackets for each filter value is well over the maximum of 2 that I should see, when any of the filters are selected it shows no results (apart from the rare occasion where the filter value I select is actually assigned to one of the 2 products that should show).

    As for the S&F form settings, its set to Product and Variation with Display Results as Custom and pointing at the URL of my Special Offers page where this query runs.

    Can anyone help advise what I am doing wrong here?

    Thanks


    Anonymous
    Inactive

    Hello,

    I have mentioned this issue before (with no solution), but now it is occurring alot more often.
    Similar problem has benn mentioned here…
    https://support.searchandfilter.com/forums/topic/rebuild-cache-after-all-import/

    So, I use “Search & Filter Pro” on my Woocommerce website.
    Quite often, sometimes 3-4 times a day, various categories show 0 (zero) results.
    I then used to “rebuild” the “Search & Filter Pro” so the products in the categories would show.
    Because this was a time consuming problem, I tried to find other solutions, so I came up with this…
    I created a product which belonged to ALL categories – and I made it draft. So everytime this problem occurs, I edit this product, save it (and then draft again so it doesnt show), and suddenly all the products in all categories show again.

    Now, this is a problem again as it happens in random times so I need to find a real solution.
    I will need your help for this.
    What do you think is the problem here?
    What solutions are there?

    From my testing:
    – I have disabled any caching plugin in order to see if the problem is from here.
    – I use a VPS
    – I have tried other “filter plugins” and they work fine (however, yours has the BEST features and more flexible though – which is why I want to keep using it).

    Please help with this matter.
    Looking forward to your reply.
    Thank you!
    Giannis

    #209999

    Trevor
    Participant

    mmm

    The alternaitve is to use Select2, which we include with the plugin, is maintained by Automattic (via WooCommerce) and is quite good?

    These two threads discuss this (many of the posts won’t be relevant to you):

    https://support.searchandfilter.com/forums/topic/design/

    and

    https://support.searchandfilter.com/forums/topic/customise-dropdown-combobox/

    #209146

    Trevor
    Participant

    The behavior of what and how to display the results is handled by your theme and/or woocommerce, in their template files. It is not something we have control over.

    As to the Includes mystery. when you select all the values, you exclude any post that doesn’t actually have any value (term) for that attribute. Also, when you add new attributes, you would have to edit the form. This way (not including any), you do not have edit the form every time you add a new attribute.

    #209138

    In reply to: Ajax not working


    Trevor
    Participant

    You may need to change the Ajax Container to:

    .elementor-widget-container > .woocommerce

    Once we have fixed this, we need to look at the arrows problem.

    #208895

    Anonymous
    Inactive

    Hi all,
    New to the plugin, but not finding it very intuitive. Hoping to get some help to stick with it.

    Search form made: https://prnt.sc/nfly78

    Live page: http://www.importtesting.com.php72-2.phx1-2.websitetestlink.com/shop/

    There are products in each of those attributes, but no luck on having them display.

    The cache builds and shows all my products, https://prnt.sc/nflypf, so I would think they should show up?

    Thoughts?

    Thank you in advance.
    Adam

    #208764

    Anonymous
    Inactive

    this is the code that woocommerce product table use for the query i presume:

    $args = shortcode_parse_atts( str_replace( array( ‘[product_table’, ‘]’ ), ”, $shortcode ) );
    $args = ! empty( $args ) && is_array( $args ) ? $args : array();

    if ( is_product_category() ) {
    // Product category archive
    $args[‘category’] = get_queried_object_id();
    } elseif ( is_product_tag() ) {
    // Product tag archive
    $args[‘tag’] = get_queried_object_id();
    } elseif ( is_product_taxonomy() ) {
    // Other product taxonomy archive
    $term = get_queried_object();
    $args[‘term’] = “{$term->taxonomy}:{$term->term_id}”;
    } elseif ( is_post_type_archive( ‘product’ ) && get_query_var( ‘s’ ) ) {
    // Product search results page
    add_filter( ‘wc_product_table_run_in_search’, ‘__return_true’ );

    if ( have_posts() ) {
    global $wp_query;
    $args[‘include’] = wp_list_pluck( $wp_query->posts, ‘ID’ );
    } else {
    // Force ‘nothing found’ message if no posts in query
    $args[‘include’] = -1;
    }
    }

    #208760

    In reply to: Ajax not working


    Trevor
    Participant

    If you are using this combination, then it should be set up as this post describes:

    https://support.searchandfilter.com/forums/topic/search-and-filter-pro-woocommerce-elementor-pro/#post-206659

    And make sure that the Elementor archive template display condition is set to “Shop” and not category

Viewing 10 results - 481 through 490 (of 1,497 total)