Relative Content

Tag Archive for wordpresswoocommerceattributes

WordPress Custom Column for Attribute Terms Color extra info

I manage to add custom column to attribute called “hex code” which displays the
terms’ color hex code. It displays ok. But there is also a square color displayed as well.
I need to remove that square box under the hex code in column “hex code”.

How to hide empty product attributes?

I am creating a webshop with 4000 products, with 60 attributes per product.
Each product contains only 20-25 attributes, there is no value for all of them.
I would like the attribute label and value, which value is empty, not to be displayed on the product page.
All products are single-product.
Can someone help me with this? What php code is needed?