Forums Forums Search Search Results for 'woocommerce'

Viewing 10 results - 1,301 through 1,310 (of 1,497 total)
  • Author
    Search Results
  • #17640

    Anonymous
    Inactive

    WOW, you have a demo2(woocommerce) on your site. I viewed it and it does most of what I want. Can I view the reply.php theme you use and I can customize it to meet my requirements….Thanks

    #17359

    Anonymous
    Inactive

    Thanks! I followed this:::::
    !!!!!!1.Create a folder in your theme folder called search-filter.
    2.Copy the file wp-content\plugins\search-filter\templates\results.php from the templates folder in to the newly created folder in your theme – wp-content\themes\your-theme-name\search-filter\results.php

    From now on, Search & Filter will load this version of the template instead of its own – so you can make any customisations that are necessary.!!!!!

    Search & Filter works and loads the Divi created Page, However this page does not honor all of the CSS code(as woocommerce and Divi do) and all of the other pages do. Any ideas>? This is my last hurdle!

    #17351

    Anonymous
    Inactive

    I followed your doc to use display search results using your short codes.. I created a divi page called search_results and pointed your software to it….Page comes up, displays your search criteria and the results of the search…But the image shows gigantic, text appears way too big and is not following any of the DIVI and Woocommerce settings….Where is your plugin getting font sizes, image sizes etc. and how do I make the search follow the rules…..thanks

    #17059

    Ross
    Keymaster

    Hi Paul

    I’ve had a quick look… the problem seems to be the wrong CSS is being applied to the search results page.

    As I mentioned before ,these customisations are normally out of scope of support, but I think I’ve cracked it anyway.

    Essentially, on your shop page, the body tag has the following class woocommerce-page (amongst others).

    When I add these in firebug to the search results page, the results look like a grid – not sure if its exactly the same, but very similar…

    So what you need to do is add some wordpress code to add these two classes to your body tags, on search result pages (take from: https://support.searchandfilter.com/forums/search/woocommerce-page/):

    add_filter('body_class','add_body_class_to_search_filter');
    function add_body_class_to_search_filter($classes) {
    	
    	global $sf_form_data;
    	
    	if ($sf_form_data->is_valid_form())
    	{		
    		$classes[] = "woocommerce-page";
    	}
    	// return the $classes array
    	return $classes;
    }

    You can add this to the functions.php of your theme.

    Hope that helps!

    #17049

    Anonymous
    Inactive

    Ross,

    I have used that template (now in the child theme folder) and it’s called archive-product.php btw. That is the one currently seen in the test_page (very like the same results from woocommerce.php) but there is still something I am missing. I am getting a list rather than the grid.

    #17032

    Ross
    Keymaster

    Hey Paul,

    Typically with Woocommerce – the best template to use is product-archive.php – try to make sure there is a copy in your child theme (just in case) – if its not in your theme, you should be able to copy it out of the WooCommerce templates folder,

    Bit busy atm but I’ll try to poke around again later on.

    Thanks

    #17029

    Anonymous
    Inactive

    Ross,

    The site is and always has used a child theme – as supplied with the X theme, called Icon.

    I honestly can’t remember how the pre WP4.2 forms were set up but I am 90% sure I didn’t set a template name. The results container was set to #content but I can’t see that in any page I view, so I am currently experimenting (see test_page and Test Quick Search). The nearest I got to the old results (but not near enough) is to use the woocommerce.php as the template.

    If you need FTP access so you can see how the X Theme and Icon child theme is structured let me know.

    #17025

    Anonymous
    Inactive

    Ross,

    Yes, up until the WP4.2 update everything was working perfectly – however I was running a very old version of S&F (because the site is not getting update notifications at all – and I have checked that CURL is installed on the server).

    Pre WP4.2 I had two S&F forms and both used ‘Archive’ and dumped the results into #content and the products appeared in the normal WooCommerce way (image, title, price).

    Post WP4.2.1 neither form would work using archive or shortcode so I recreated them both. Archive wouldn’t work anymore so I had to switch to Shortcode but the resulting output is way to basic and unusable.

    I need to go back to the Archive style but I am guessing that something else has changed in the theme? So I am kind of stuck and would appreciate some pointers.

    In the mean time I will experiment further with shortcode/templates and see if I can get closer.

    #16881

    Anonymous
    Inactive

    Hello,
    I bought search and filter plugin from your site. I install to my website. It’s a woocommerce site. I need to woocommerce product cateogry will be with ajax filter but It’s not working properly.
    Please help me.

    #16701

    Ross
    Keymaster

    Hey Stefania

    Do you have a link I could look at?

    admin-ajax.php is used by all WordPress plugins & themes for any ajax functionality however the particular function you mention seems to be a woocommerce one.

    Thanks

Viewing 10 results - 1,301 through 1,310 (of 1,497 total)