Search Results for 'archive-product'

Forums › Forums › Search › Search Results for 'archive-product'

Viewing 10 results – 51 through 60 (of 68 total)
  • Author
    Search Results
  • #10696

    Ross
    Keymaster

    Hi James

    This is a bit out of the realm of the plugin support.

    Basically what your theme is doing is loading a sidebar on the woocommerce product page, but not on the S&F results page.

    You can try one setting, under “advanced” tick “force is_search to true” – if this doesn’t work be sure to disable it after testing.

    In this case, you must duplicate your archive-product.php (because we will be making customisations) and use this as your template. You need to update this new template to show a specific / different sidebar (will require some coding).

    For info on how to create a sidebar/widget area see – http://www.wpbeginner.com/wp-themes/how-to-add-dynamic-widget-ready-sidebars-in-wordpress/

    Most people prefer to use a plugin though, something like widget logic – https://wordpress.org/plugins/widget-logic/

    Thanks

    #10695

    Anonymous
    Inactive

    Thank you very much for quick reply, Ross. So I tried to add /woocommerce/archive-product.php to custom template field and it’s working now. Anyway, there si another problem. The sidebar disappears when results are loaded. So I can see the results, but no sidebar with filtering. I’m using exactly same template as shop homepage.

    Thank you very much,
    James


    Anonymous
    Inactive

    Good day,

    I’ve been using your plugin on a site we’re developing to sell photos: http://flex.gelderlander.nl/regiobeeld/

    The plugin seems to work fine when it can find results (though the string saying how many products are displayed isn’t updated).

    However, when it can’t find any results, say when you fill in a load of garble for a title, it doesn’t seem to display a notification that nothing was found. It just lists the entire content of our product database.

    Is there a WooCommerce template I should be using instead of archive-product.php?

    The jQuery selector I’ve used for the results container is ‘ul.products’.

    #9941

    Ross
    Keymaster

    Hey Janno

    In this case you must put the search form on the product archive page… so place the shortcode in your theme file (archive-product.php) above the results!

    To add a shortcode to a themefile you just wrap it in a functions and possibly php tags:

    <?php do_shortcode('[searchandfilter id="99"]'); ?>

    Thanks for the kind words.

    #9929

    Anonymous
    Inactive

    Hi Ross,

    I checked force is_search always be true (it was not set before). But no difference. I added a H2 tag to archive-product.php and it is shown in the results. So it’s definitely loading the template.

    Do you need login credentials to WordPress and FTP?

    Best regards, Janno

    #9896

    Anonymous
    Inactive

    Extra info:

    If you go to http://vanka.magicservices.nl/?s=ketjap%20gekruid&post_type=product Woocommerce will show you 3 products in a correct lay-out.

    If you search voor ‘Ketjap Gekruid’ on page http://vanka.magicservices.nl/producten2/ your plugin is using woocommerce/archive-product.php but the layout is different: the products are not listed next to each other. The URL is then: http://vanka.magicservices.nl/producten/?s=Ketjap%20gekruid

    Please help, I’m running out of time on a strict deadline for next friday afternoon.

    Best regards, Janno

    #9895

    Anonymous
    Inactive

    Hi Ross,

    back from holidays I updated the plugin and tested the integration. Maybe I’m doing something wrong, please help me with the correct way to use your plugin.

    I created a new page, inserted the [searchandfilter id=”2726″]. In Settings I selected ‘As an archive page’, ‘Use a custom template for results’ and entered the filename: /woocommerce/archive-product.php

    Under Ajax: I checked Load results using Ajax.

    Search is working. However, my lay-out is not consistent with the Woocommerce output of the search results.

    What must I do to get them the same?

    Best regards, Janno

    #9676

    Anonymous
    Inactive

    Hi, believe I’ve almost got Search & Filter Pro working properly but have two problems with display results and could use your assistance. (More than happy to get on the phone and do paid support if my questions are out of scope for this forum.) My current settings are as follows: display results as an archive page = true; use a custom template = true; woocommerce/filter-plays.php is the template (which is a straight copy of archive-product.php); load results using Ajax = true. Two problems as follows:

    1) I have a custom meta dropdown for Genre. When a genre is selected, results filter correctly, but when you deselect back to “All Genres” nothing happens. In your Demo 2, I can see parameters updating in the URL as filters are applied and so that “All Product Categories” returns products to default state of all visible.

    For some reason my URL remains the same no matter what’s selected: http://test.broadwayplaypub.dev/the-plays/

    And so I just can’t seem to replicate the desired result that Demo 2 displays. Can you advise me on what I’m doing wrong?

    2) One of my products (a play) is named “Darlene & The Guest Lecturer.” The filter refuses to recognize this product, and I’m guessing it’s because the ampersand character is not escaped somehow in the code, right? If that’s the problem, I’d like to request that you escape common special characters in the next iteration of the plugin. Especially ampersands as Search & Filter Pro would not be able to find itself in results right now. 🙂

    Looking forward to your response, and thanks for making such a cool plugin.

    Best,
    Michael

    #9336

    Anonymous
    Inactive

    Dear support,

    I have a working WooCommerce setup filled with products. It took me a while to get all the styling done. However Woocommerce is limited in search capabilities so that’s the reason why I bought search and filter Pro.

    As far as I understood i should deselect Ajax and use a page template. Mine is (relative to the theme directory) /woocommerce/archive-product.php. I think it cannot find it because it sticks to the default results.php which is located in {themedir}/search-filter/results.php.

    What am I doing wrong?

    #8573

    Anonymous
    Inactive

    Hi there,

    I have just bought your plugin and installed it on the following url

    http://smarterwith.info/shop

    Attached is the page with the shortcode, and the plugin settings.

    On the url above, the filter works great, but
    1) IT doesnt update the URL (I have enabled it to allow bookmarking – see attached plugin settings screenshot)
    2) When I click the pagination the layout doesnt recognise the archive-product.php
    3) When you click on a product, then begin filtering from the single-product page the results appear laid out like (2) above.

    I am not sure how I can get the URL updating for bookmarks and keep the same grid layout throughout searching as seen on /shop

    ?

    thank you!

Viewing 10 results – 51 through 60 (of 68 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.