Visible on the product page default
-
Hello,
We are importing products with a software to Woocommerce. Everything was working fine and product attributes were visible on the product page by default. After we installed a plugin to bulk edit product attributes, Woocommerce started to not show the product attributes on the product page by default. After product import, we have to go to every single product attribute for every product to tick on “Visible on the product page”. We tried to search the web for a solution and come up with a filter that was written in a blog. But this filter did not work to make “Visible on the product page” box ticked by default. Can you help us how to make product attributes shown on the product page by default?
We tried to run this code but it did not change anything.
add_filter( ‘default_attribute_visibility’, ‘__return_true’ );
The page I need help with: [log in to see the link]
- The topic ‘Visible on the product page default’ is closed to new replies.