• Resolved gjv

    (@garethjohnvaughan)


    I have a set of variable products with over 10 attributes. I wanted to show the attributes as part of the product title.

    e.g. T-Shirt – White – Large – Sleeveless

    I found this excellent solution https://stackoverflow.com/questions/47462265/change-woocommerce-variable-product-title-based-on-variation but it only lets me add a single attribute ‘color’ to the title. I can see the loop in PHP can be adjusted to loop on all attributes, but can’t see a way of changing the jQuery to do the same, as currently it only added ‘color’ and nothing else.

    Has anyone else been able to add all the selected attributes of a product in to their titles?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Variable Product Title – Add Attributes’ is closed to new replies.