Display Multiple Attributes in Variation Names
-
Most products in my store have two or more attributes associated with the variations. When I display them, I see that the variations with only one attribute have names like
Product - Attribute
. This is great.
However, if a product has more than one attribute, none of them are displayed. The variation name becomes simplyProduct
. This is not great.For example, one of my products is Crochet Hooks. They have attributes for hook size, brand name, and handle design, but when they are displayed in a search like this, they all just say
Crochet Hooks
.Ideally they would say something like
Crochet Hooks - H/8, Susan Bates, Blue Tortoise
, which would be much more helpful to someone shopping for a hook.
At the very least, I’d like to see the first attribute displayed (as inCrochet Hooks - H/8
) .I have tried exporting all of my items and re-importing them with customized names, but that has no effect at all, as if that field is ignored.
Is there some way to change the variation display name so that it always tacks on at least one attribute? Some function I can stick in
functions.php
maybe?Thanks for the help!
The page I need help with: [log in to see the link]
- The topic ‘Display Multiple Attributes in Variation Names’ is closed to new replies.