Forums Forums Search Search Results for 'woocommerce'

Viewing 10 results - 1,411 through 1,420 (of 1,497 total)
  • Author
    Search Results
  • #8178

    Ross
    Keymaster

    Hey Matthew

    Thanks for the info and how you managed to get it working… just to make sure I am following you properly and can help other users:

    1) your results are displaying fine (style/layout), but WooCommerce does not recognise this as a product page?
    2) adding the code you mentioned, allows other WooCommerce functionality to work properly on this page?

    Thanks!

    #8163

    In reply to: Result page


    Ross
    Keymaster

    Hey Andrea

    Have you copied over the woocommerce templates in to your theme?

    If so (or you bought a theme that does this), then you probably want to choose the product archive for layout – which is normally located:

    wp-content/your-theme/woocommerce/archive-product.php

    So in the custom template settings of S&F you should use

    woocommerce/archive-product.php – just look in your theme folder to make sure this file exists first 🙂

    Let me know if this helps?

    Thanks

    #8086

    Anonymous
    Inactive

    Hi Ross,

    I have been able to solve this issue by editing the Search and Filter plugin (not the paid pro version).

    I changed line 879 in search-filter.php from

    $this->urlparams .= “post_types=”.$post_types;

    to

    $this->urlparams .= “post_type=”.$post_types;

    Basically just removed the ‘s’.

    I’m not yet sure how this would react if you now try to search multiple post types using the plugin, but it works perfectly for the WooCommerce ‘products’ post type search, now pulling in the layered navigation in the sidebar.

    Thanks

    Matt

    #8047

    Anonymous
    Inactive

    Hi! I just bought your plugin, and I think it’s great.
    You can see a test result here:
    http://www.controlloaccessi.org/web/shop/

    My problem is that when I press the “submit” button (after selecting a category) I get the result page as a blog, instead of using the woocommerce shop page. I tried to modify the “custom template file” inside the “General” tab of the settings, but I didn’t know what to put there. I tried with: “shop/index.php” but it doesn’t work.

    Is there anyone who can help me out here?

    Thanks.

    #7987

    Anonymous
    Inactive

    Hi Ross,

    I have already selected the option to use the post type ‘product’ only. I think it perhaps has something to do with how the WooCommerce plugin recognises a product search. Maybe it relies upon the post_type=product variable being in the URL? I’m not sure though.

    Is there anyway I can append &post_type=product to the url? I don’t mind editing the plugin to achieve this.

    Thanks again for your help.

    Matt

    #7973

    Ross
    Keymaster

    Hey Matthew, surely you dont need that in the URL? With that in the URL, all it is doing is filtering your results by the post type “product” – this is something built in to wordpress already.

    Why dont you, in S&F settings panel, choose only the post type “product” (the checkbox’s)? Does that now work as you would want?

    Thanks

    #7899

    Anonymous
    Inactive

    Hi Ross,

    Thanks for your super quick response :).

    I’ve have made the adjustments you mentioned (ignore the styling of the search form, I’ll sort that later) and although it is now using the correct template, it is not being recognised as a WooCommerce search.

    If you run a search, leaving the text input blank and selecting ‘All Product Categories’, you will notice the results display. If you now append the url with the post type ‘&post_type=product’ it will show the same result on the template page, but with the filters etc.

    http://cu9088.hypedev.com/?sfid=23752
    http://cu9088.hypedev.com/?sfid=23752&post_type=product

    Is there anyway I can ensure the post_type=product is always in that url? I have tried using the ‘Set a Slug’ option, but upon saving my ‘&’ and ‘=’ are being stripped and the slug is becoming ‘post_typeproduct’

    Thanks for your help.

    Matt

    #7835

    Ross
    Keymaster

    Hey Matt

    You need to tick “use custom template” – and then specify the location of the woocommerce template file – this is so the plugin knows which template to use.

    However, saying that, I had a look at the site, and it says you are using the free version of the plugin?

    Pro version is very different to the free version – make sure you disable the free plugin first before trying to use 🙂

    Thanks

    #7830

    Anonymous
    Inactive

    Hi,

    I am trying to use this plugin to search against my WooCommerce product database.

    If you head over to http://cu9088.hypedev.com/ you will see that the search bar is sitting nicely in front of the header image.

    If you use this input and select a category (e.g. Bathroom Spot) and enter a term (e.g. Chrome), you will see that the resulting page shows the WooCommerce Products using the WooCommerce archive template.

    However, if you go back and use the same search term, but this time choose ‘All Product Categories’ as the option from the select, you will notice that the results are displayed on the search.php template file provided by my theme.

    How can I ensure that the WooCommerce template displays all the time?

    Something I have noticed is that if I change the ‘post_types’ to ‘post_type’ in the results page url like so…

    http://cu9088.hypedev.com/?s=Chrome&post_types=product
    to
    http://cu9088.hypedev.com/?s=Chrome&post_type=product

    I get the desired template page.

    Is this a bug with the plugin, or is there something I am configuring incorrectly?

    I have tested this with both the Pro and unpaid versions with no luck.

    Matt

    #7316

    Ross
    Keymaster

    Hey Marc I’m back on this feature again now after some other large updates – I’m looking to complete this week.

    Thanks

Viewing 10 results - 1,411 through 1,420 (of 1,497 total)