Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there @robot76 ??

    Thank you for contacting Woo support, and for your patience! We are experiencing an unusually high volume of support requests at the moment, and that has affected our response times.

    Is there a way to get this work permanently through some sort of snippet or piece of code in functions.php?

    For a more permanent workaround, feel free to follow the instructions in the documentation section linked here, for an?upgrade-safe way?using?overrides.

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

    Thread Starter robot76

    (@robot76)

    I solved the issue with the following code to be placed in functions.php:

    function custom_modify_attribute_labels($labels) {
    if (is_array($labels)) {
    // Sostituisci singular_name con name
    $labels[‘singular_name’] = $labels[‘name’];
    }
    return $labels;
    }

    add_filter(‘woocommerce_attribute_labels’, ‘custom_modify_attribute_labels’);

    I how this will be helpful for the many who experience such an issue.

    Thanks

    Hi @robot76

    I solved the issue with the following code to be placed in functions.php. I how this will be helpful for the many who experience such an issue.

    Thanks for getting in touch with WooCommerce Support and for sharing your solution. It’s fantastic to hear you managed to fix the issue by tweaking the attribute labels in your functions.php file. Your initiative to share this with us and the community is genuinely appreciated.

    Your code snippet will undoubtedly come in handy for other users facing a similar problem. We’re always thankful for community members like you who share their knowledge and solutions.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    Hope you have a fantastic day!

    Thread Starter robot76

    (@robot76)

    with the upgrade of woocommerce the word “product” came back on my breadcrumbs, what’s wrong with my snippet?

    Hi there @robot76 ??

    with the upgrade of woocommerce the word “product” came back on my breadcrumbs, what’s wrong with my snippet?

    Feel free to go ahead with adding the snippet via Code Snippets. Additionally, consider setting a priority for it.

    Some further reading:

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove the word “product” from attributes’ breadcrumbs’ is closed to new replies.