Rooks Agency
Forum Replies Created
-
However, what would be even more useful is if we could hide all attribute values that are not used by the current category.
For example, I have three category pages like this:
[woof_products taxonomies=product_cat:36]
[woof_products taxonomies=product_cat:37]
[woof_products taxonomies=product_cat:38]And each page displays a Woof like this:
[woof tax_only=’pa_social-media]Product_cat:36 has products with all three social media attribute values, so it’s filter looks like this:
Social Media
[] Facebook
[] Twitter
[] Google PlusProduct_cat:37 has products with only Facebook and Twitter social media attribute values, so it’s filter looks like this:
Social Media
[] Facebook
[] TwitterProduct_cat:38 has products with only Facebook and Google Plus social media attribute values, so it’s filter looks like this:
Social Media
[] Facebook
[] Google PlusSo can you implement some functionality to restrict attribute values based upon the current product_cat
[woof tax_only=’pa_social-media&tag_ID=40′]
This would display the attribute filter ‘social media’ with only the value of Facebook.The filter would look something like this:
Social Media
[] FacebookIf I wanted to show Faceboock, Twitter and Google Plus, I would use the following:
[woof tax_only=’pa_social-media&tag_ID=40&tag_ID=41&tag_ID=42′] or something like that.The filter would then look something like this:
Social Media
[] Facebook
[] Twitter
[] Google PlusThanks!
Thanks,
Is there any way you can add such functionality, as a premium extension perhaps?If not, I will have to look for an alternative. I really like your plugin and would prefer to stay with it.
Thanks for the prompt reply and the great plugin.
Your response did not answer my question.I want to show the size filter, but limit the attributes displayed in the filter.
Example: tax_only=pa_size&tag_ID=10, pa_size&tag_ID=11, pa_size&tag_ID=12which would hide the attributes; pa_size&tag_ID=13, pa_size&tag_ID=14, pa_size&tag_ID=15
I could not get this to work.
Smart Manager version 3.9.14
WordPress version 4.4.2
Woocommerce version 2.5.4Fatal error: Call to undefined function date_diff() in /home/domain/public_html/installation/wp-content/plugins/smart-manager-for-wp-e-commerce/smart-manager.php on line 373
Figured it out:
.woof_list.woof_list_checkbox li {
display:inline-block!important;
}