i am usig and love the plugin, but wanted to ask if it is possible to change the defauld relation type between taxonomy fields, it says default relation is or, but can’t be changed.
the problem is than when i set the relation of search terms to OR it shows a lot results, if i set to AND it shows nothing when both terms are on the same taxonomy.
example. category: laptop, desktop
tags: core i5, core i7.
when i set to AND the logic is, ‘laptop’ AND ‘desktop’ OR ‘core i5’ AND ‘core i7’, wich would turn nothing as there is nothing with ‘core i5’ and ‘core i7’ together.
if i set to OR it would be, laptop OR desktop OR core I5 Or core i7, which practically means everything, and is almost useless.
What i want is it to be ‘laptop’ OR ‘desktop’ AND ‘core i5’ OR ‘core i7’ which is the common thing to search.
So practically asking to set the relation between fields selected to search (example, categories and tags) be AND and relation between terms be OR. is that possible. which is the narmal thing to be and not the inverse it is now on all searches.
]]>Lets say:
Floors category requirement and 1000$ requirement before free shipping.
Curtains category requirement and 500$ requirement before free shipping.
Is this possible?
]]>I’m playing with the free version for the first time. I set up a rule to display a container in Generate Blocks/Press. The only choices I see are And not Or. I want to set conditions to show the container if any of 5 fields has any values. I’m not seeing how to do that.
]]>how is it possible to combine two (or more) taxonomies so that a notification is sent only if all of them are true?
Example (using the Plugin WPAdverts):
advert_location/Berlin AND advert_category/househunting
I also have the taxonomy advert_category/houseoffer but don’t want to send a notification when something is posted there.
When I check both taxonomies in the settings it is interpreted as OR.
Thank you
Titus
I do want to create a query where I search posts by several taxonomies.
TWO of the taxonomies should be searched in an AND relation, while these TWO and a THIRD should be searched in an OR Relationship.
Let me explain this on hand of some “dummy” code:
$args = array(
'post_type' => 'post',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'this_tax_shall_query_its_terms_in_OR_relation',
'field' => 'slug',
'terms' => array( 'quotes' ),
'relation' => OR // not supported?!
),
array(
'relation' => 'AND',
array(
'taxonomy' => 'tax_one',
'field' => 'slug',
'terms' => array( 'post-format-quote' ),
),
array(
'taxonomy' => 'tax_two',
'field' => 'slug',
'terms' => array( 'wisdom' ),
),
),
),
);
$query = new WP_Query( $args );
So basically, this_tax_shall_query_its_terms_in_OR_relation
should look for posts that are in EITHER of its terms, while it should make sure that any terms selected in tax_one
or tax_two
are ALL applied, and the relation between these two must be AND, as well as the relation between these two and the this_tax_shall_query_its_terms_in_OR_relation
must be AND
This is helpful, for example, if you have this setup:
– this_tax_shall_query_its_terms_in_OR_relation
== this defines an access level, example level 1, 2 and 3. You may want to show a CHECKBOXES input to let the users find posts in level 1 OR level 2 at the same time (and since no two or more access level would be ever assigned to the same post, you need OR here)
– the tax_one
and tax_two
are just “normal” taxonomies for example countries and topics. Here, you want the user to NARROW DOWN the results, and thus, you need AND.
As well you NEVER want to show a post that has (example) access level 1 OR any of the term_one
/ term_two
. You would only want to show posts in term_one
/ term_two
that ALSO have the selected this_tax_shall_query_its_terms_in_OR_relation
(access level)
I hope this makes sense.
Basically, it is the inverse of the example here https://developer.www.ads-software.com/reference/classes/wp_query/#taxonomy-parameters > Nested Taxonomy Handling, with an OR relation between the _single terms_ of the first taxonomy.
And by my best will, this seems impossible? If so… that is a huge shortcoming. I cannot believe this so I assume I just don’t “see it”?
]]>From the perspective of a non-paying customer of Jetpack CRM who was evaluating and considering subscribing to the service. Explain to me how would I change my mind and pay for it in the future for something that doesn’t work or is broken by design?
I’m frankly appalled you published this! If I’m currently losing earnings from trying your service, how does this motivate me to get a subscription and spend money to use it? Your approach to this project is upside down, you’d do better served, allowing customers to use and see it work before monetizing on it, I’d be inclined to recommend it if it worked, but I’m now more motivated to give you bad publicity which you genuinely deserve and watch you fail.
Side note: I also tried leaving you feedback regarding this which also is broken, as an administrator who hasn’t got permission to see the page on their own WordPress site. To whoever runs this, this product isn’t fit to be in Beta, let alone monetized.
Teacher grade: F-
]]>already tried this:
https://www.ads-software.com/support/topic/disable-download-and-share-button-in-slider-before-lightbox/
Can you please help me with your Plugin? I am trying to filter Product Tags with “AND” logic, but when I choose tags on the shop page it reacts as if it is set to “OR” logic and it display “No product found” message.
Thank you!
Tomas Novak
I just set up the Themify Product Filter. The filter consists of PRICE, IN STOCK, ON SALE, MAAT (“size” in Dutch), CATEGORY.
I have set the logic to AND for everything, including Categories, Maat and “Logical Relationship Between Taxonomies”. The AND logic works for everything except between Maat and the Categories. Maat is created by Woocommerce Attributes.
To test this you can select a Maat (size) of XL. You should get 2 products, both of which have a size of XL. If you then slide the price to between 41 and 55 euros you get 1 product. This is correct.
If you then reset the filter and select a Maat of XL again, you get 2 products again, both of which have a size of XL. But if you then select “Grijs” (grey) from the Categories you get 5 products, none of which have a size of XL. This is an incorrect result for the filtering of XL AND Grijs.
If AND were working correctly, then the “No products available…” message should appear for the filtering of XL AND Grijs.
Thank you for your help on this.
]]>I think I saw it somewhere but would like to confirm one more time
If I have several trigger points in a recipe, will it work as ‘And’ or ‘Or’?
‘And’ as all trigger points to be fulfulled only then take action(s)?
‘Or’ as any of triggers is fulfilled, then take action(s)?
Please let me know. Thank you
]]>