Dear Aizaz,
Thank you for your response — I understand your point in general.
In this specific case, however, I was hoping this functionality might already be supported by Woodmart.
WordPress itself provides a native way to define a custom order for attributes, for example to control the display order of variations on a product page. That’s why I was a bit surprised that this wouldn’t be possible here.
If this is not supported out of the box, could you perhaps point me in the right direction regarding a snippet I could add to functions.php to either:
1. respect the custom order defined for attributes, or
2. use the attribute slug order instead of the attribute name (so I could, for example, rename the slugs to something likea-red, b-blue, c-purple).
Any guidance would be greatly appreciated.
Kind regards,
Scholto
-
This reply was modified 5 months ago by
scholtobos.