-
AuthorSearch Results
-
June 8, 2020 at 4:11 pm #247890
In reply to: Can’t get Woocommerce to work
TrevorParticipantOur posts crossed.
So, the WooCommerce method attaches to the shop page yes, so you can only have one such form. But, the other type of form, as I said in my last reply, is not set as that method, so more than one of those is OK.
June 8, 2020 at 4:07 pm #247884In reply to: Can’t get Woocommerce to work
TrevorParticipantAhh. The penny has dropped at my end.
That page is a real page in WordPress. Our WooCommerce/Post Type Archive/As an Archive methods do not work in real pages.
There are other methods that can work. Such as the Elementor Post element method. So, you could place a products widget on that page and filter that. In the form you make for that page, you simply use the Tags, Categories and Taxonomies settings tab to INCLUDE only the taxonomy term(s) that you need.
June 5, 2020 at 4:39 pm #247712In reply to: Can’t get Woocommerce to work
AnonymousInactiveLooks good! As a curious sort, I’m just wondering why it does indeed seem to work now?…
Here’s my thinking…
Location and Location type are examples of Attributes. The SFP documentation states that “Attributes are actually Taxonomies – so simply add a Taxonomy field to your Search Form to add WooCommerce attributes as fields.” This is what I did and I assumed that was enough.
I hadn’t realised that Variations would also come into play, given that each variation is merely a price for a combination of attributes and there is no price search in the filter. So, 30 products, yet almost 1000 variations! (and counting)
However, I reckon it could be because the variations are needed to calculate the price range for each variable product to enable the low-high and high-low price sorts? Does that sound right?
Whatever the reason, thanks Trevor, ticking the Attributes box seems to have done the trick! Nice work.
June 4, 2020 at 6:00 pm #247496In reply to: Can’t get Woocommerce to work
AnonymousInactive“Filtering on Taxonomy Archives” is now disabled, as suggested – so that’s solved one problem.
I’ve renamed Woocommerce’s shop page in the permalinks to be online-shop. Elementor Pro won’t let me edit it directly (in the same way that it doesn’t allow me to edit /blog).
I had already created a product-archive template in Elementor and added the archive products and products widgets to it prior to my enquiry. It is ‘assigned’ to the online-shop.
Images aren’t that important to my products so I turned off the main image in the product-archive-template (something I don’t think I could do in the theme). Any ‘images’ you see in the shop may well be font awesome icons.
As a relative newbie to Astra Pro and Elementor Pro, it’s all a bit confusing to me sometimes as to what is affected by Astra pro and what is controlled by Elementor Pro. Now that you feel I’m using the theme’s Woocommerce pages I’m even more confused and doubting what I’ve done!
Have a look at https://d.xmarksthespot.co.uk/online-shop. Below the S&F Pro form I’ve added the equivalent filtering using “Filter product by attribute” – with ‘AND’ between terms throughout. The latter is returning the expected results, e.g. hen party (5 records) reduces to (4) when outdoor filter is applied and this reduces to (2) when Aberdeen is applied as a location.
On S&F Pro however, the equivalent counts as each are applied are (5) – and displaying 5 records, rising to (6) and displaying 3 records then (1) and displaying no records. It seems as if the counts aren’t being updated as each filter is applied.
For what it’s worth some products don’t have prices and some products are in more than one category. Both are intended.
The pricing (and possibly ordering of same) may be screwing up results. As a minimum, 1 record is always returned irrespective of the search.
Puzzling. Ideas?
June 4, 2020 at 1:02 pm #247403In reply to: Can’t get Woocommerce to work
TrevorParticipantAs an afterthought, you may need to build the shop using the Products Widget and the Archive Products widgets from Elementor. I think you are currently using the default theme WooCommerce pages.
June 3, 2020 at 5:05 pm #247222In reply to: change the combobox selection color via CSS
TrevorParticipantCan you first change the combobox script that S&F is using, and remove that CSS and let me know when done?
Change the combobox script to Select2 (there is an option in our settings page to choose which Combobox script to use). Your current form uses Chosen, which is set within our plugin by default. However, it is now pretty much abandoned and has not received any major updates in a long time. It has poor support for iOS devices for example.
Select2 is maintained now by the WooCommerce team, who are, of course, owned by Automattic, the owners of WordPress, and as such is used by a lot of themes and plugins.
Then, this post shows all the formatting CSS for Select2 (and how to change it):
https://support.searchandfilter.com/forums/topic/customise-dropdown-combobox/#post-180345
June 3, 2020 at 3:13 pm #247186In reply to: Isotope + Masonry
TrevorParticipantYes, it is possible to use our plugin with an archives grid using Masonry.
There are a number of options:
1. Your theme has archive pages that already use masonry
2. You have a page builder that uses masonry
3. You use Divi Builder, which uses a Masonry alternative called Salvattore
4. You want to write your own code/template to use MasonryDepending on your choice above, I can point you in the right direction. for #4, see this thread (and any others linked in that thread):
https://support.searchandfilter.com/forums/topic/infinite-scroll-with-masonry/
We have received feature requests to allow the one form to be broken into parts to be placed (and styled) in different places (and differently styled) on the page.
We have taken those requests on board for our forthcoming V3 (which we hope to release in a few weeks – but that may flex a little as we polish the code and UI). For example, you might have a form in WooCommerce that has a Search Box (text field), a Sort Order drop down, and then other fields (Product Categories, Product Tags, Variations, etc). You will be able to place the Search Box in the header, and the Sort Order above the products, and the rest of the form in the sidebar.
But, that is not possible right now.
Custom CSS styling can turn a form field like a checkbox or radio buttons into what appear to be choice buttons (like a Tag cloud).
June 2, 2020 at 3:05 pm #246975
AnonymousInactiveI used this just to accomplish the first step:
function mk_purchased_filter_function( $query_args, $sfid ) {
//if search form ID = 225, the do something with this query
if($sfid==62057)
{//modify $query_args here before returning it
$include = array(154400,148684);
$query_args[‘post__in’] = $include;
}return $query_args;
}
add_filter( ‘sf_edit_query_args’, ‘mk_purchased_filter_function’, 20, 2 );____________________
BUT: It does not influence my results. Maybe because Relevanssi is used for the filter, too?
Or is there any other explanation?[searchandfilter id=”62057″]
[searchandfilter slug=”woocommerce-shop”]June 1, 2020 at 10:01 am #246694Topic: post grid order by popular
in forum Search & Filter Pro
AnonymousInactiveHi, I have used the post grid to display my woocommerce products.
and I want to display the products by popular (like rating score).
is that able to do with this plugin?May 31, 2020 at 10:21 pm #246686Topic: Auto-count not working – woocommerce
in forum Search & Filter Pro
AnonymousInactiveHi,
I’m using S&F in combination with WooCommerce.
The problem I’m facing is that the count is not updated after interacting with the filter.
You can see it here: https://cadeau.compion.dev/momenten/zwangerschap/
When you select the filter ‘Voor kinderen (3)’ the filter numbers are not updated.How can I fix this?
Geert
-
AuthorSearch Results
-
Search Results
-
Topic: post grid order by popular
Hi, I have used the post grid to display my woocommerce products.
and I want to display the products by popular (like rating score).
is that able to do with this plugin?Hi,
I’m using S&F in combination with WooCommerce.
The problem I’m facing is that the count is not updated after interacting with the filter.
You can see it here: https://cadeau.compion.dev/momenten/zwangerschap/
When you select the filter ‘Voor kinderen (3)’ the filter numbers are not updated.How can I fix this?
Geert