Hello
Please use search logic – https://c2n.me/4gT1CrB.png
in this case we i and my friend @2beards want set in shortcode condition.
EXamole we have in system attribute with status
VAUUE_A: 10 products
VALUE_B: 5 products
VALUE_C: 3 prodcuts
VALUE….
VALUE_xxxxx: (many values)
now we want put shortcode on one page sit default condition: pa_status = VALUE_A
But on another page we want shortcode with default condition: all values WITHOUT VALUE_B
We don’t want manually add included values.
And question is: is possible add excluded own attribute value from filter like this?
-
This reply was modified 3 years, 5 months ago by
macdante.
-
This reply was modified 3 years, 5 months ago by
macdante.
-
This reply was modified 3 years, 5 months ago by
macdante.
And is possibility change number type of value in shortcode on slug or name ?
example:
[woof sid=”auto_shortcode” autohide=0 taxonomies=product_cat:647]
Cat name is : “home”
And when someone delete this cat and add it again then number changed and shortcode don’t work, and we must manualy change id of cat in shortcode. (category tree is build dynamicly)
Hello @macdante
In this case, you need code customization
You can use hook – https://products-filter.com/hook/woof_sort_terms_before_out
And is possibility change number type of value in shortcode on slug or name ? – Unfortunately no!