• Resolved nunziorash

    (@nunziorash)


    Hello to all, I’ve added attributes in the attribute section and when I go into the product beside the name of the attribute the name “Product” appears next to the name of the attribute.
    For example, if the attribute is Coating, i will see Coating Product.
    How do I delete a “product” and just leave the name of the attribute?
    thank you in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @nunziorash,

    Looking on a default install of WooCommerce for you I’m not seeing the name Product displaying next to attributes or variations on a product, variation nor on the front customer-facing product section. It could be another plugin you have installed on your site which is adding the text you describe.

    Attributes

    Variations

    Single Product

    Thread Starter nunziorash

    (@nunziorash)

    Yes it was a plugin problem I’m using.
    I solved this by changing this
    $attribute_name = $attr_tax->labels->name;
    with this
    $attribute_name = $attr_tax->labels->singular_name;

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product prepending to attribute name’ is closed to new replies.