Adding Variants to a Product is a less than ideal process - even more so if we want to add / alter it afterwards.
The 2 variants we have are colour and size. The variants are stored in Umbraco in the desired order (visually), however it seems as though TeaCommerce sorts them in NodeId order, which may be different.
So, the first question is - can I make TC respect / retain the Umbraco defined order when selecting Variants?
Secondly, once the variants have been added to a Product, there is no way of changing the order of them. This is especially a problem if a new Variant is added as I cannot put it in the right place.
In the backend - after adding Variants to a Product using the "TeaCommerce: Variant Editor", there is no way to sort them - e.g. I can't drag and drop them into the correct order.
This is especially an issue if extra variants are added later.
Sorting Variants once added to a product
Umbraco 7.4.2, TC v3.1.1
Adding Variants to a Product is a less than ideal process - even more so if we want to add / alter it afterwards.
The 2 variants we have are colour and size. The variants are stored in Umbraco in the desired order (visually), however it seems as though TeaCommerce sorts them in NodeId order, which may be different.
So, the first question is - can I make TC respect / retain the Umbraco defined order when selecting Variants?
Secondly, once the variants have been added to a Product, there is no way of changing the order of them. This is especially a problem if a new Variant is added as I cannot put it in the right place.
Are we talking back end? (selecting variants in the product editor) or front end? (selecting a variant on the product page)
In the backend - after adding Variants to a Product using the "TeaCommerce: Variant Editor", there is no way to sort them - e.g. I can't drag and drop them into the correct order.
This is especially an issue if extra variants are added later.
Hey Gordon,
It looks like there is already an issue for this https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/issues/48
Looking at the source code for the variants property editor, I found this line https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/blob/master/Source/TeaCommerce.Umbraco.Application/PropertyEditors/variant-editor.controller.js#L708 which defines a sort order for variant columns, but not sure if that's what you are after.
I'm going to have to go away and try it out to see what can be done.
is working on a reply...