• Resolved ceyhunyildiz

    (@ceyhunyildiz)


    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]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    Hi there,

    After we installed a plugin to bulk edit product attributes

    What extension was it?

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    Hi Remi, thank you for your response.

    https://codecanyon.net/item/woocommerce-advanced-bulk-edit/8011417

    This was the plugin. We installed it. We used it to Create New Attribute (Gender) and value (Women), and only visible on product page, skipped used for variations.
    After it demolished all the product data and broke the site we uninstalled it and reverted to our backup from 2 days ago and product data was fixed but this feature “Visible on the product page” by default for all product attributes has been disabled. So now all the new product attributes we import to Woocommerce are unticked in product page visibility by default.

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    Attributes Visible on the product page

    How can I turn it on by default? Anybody help?

    AJ a11n

    (@amandasjackson)

    Hi @ceyhunyildiz

    The support for the plugin you are using is provided by the developers of that plugin. It looks like you can reach out to them for help with this here:

    https://codecanyon.net/item/woocommerce-advanced-bulk-edit/8011417/support

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    Hi,

    We already uninstalled that plugin. We do not use it anymore. The question is related to Woocommerce plugin. Are product attributes visible on product page by default on Woocommerce? If not, how can we change it to make it visible by default when we add a new product attribute?

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    @ceyhunyildiz,

    Product attributes are only visible on the product page if the Visible on the product page checkbox is checked.


    Full Size: https://d.pr/i/hKM3WW

    This box is checked by default when you add an attribute to a product. If it is currently unchecked, then that must have been something you did by choice or the result of some operation that the plugin you installed must have run.

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    Thank you for your response. Is there a way or a PHP code to run within woocommerce or wordpress to make all product attributes visible on the product page for all current products? Sorry I am not a professional developer, I need help because turning them all on one by one is a time-consuming approach.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Visible on the product page default’ is closed to new replies.