One issuis that you need some how to identify what variant you want a price for if variants have custom pricing. So you should properly in your URL have that variant id and then use that id in your method toextract a SKU and the price.
That one is used if your order line has a property with "color" and then you specify color as a uniqueness property alias. Then if an order line has the value "red" in "color" and another one has "green" - it will be added as a unique order line. So maybe you can use it, if you add a property with the alias "id" to your order lines.
Teacommerce variants - U7 Grid Data Type
Hi
I´m about to make a shop using variants at each product.
There are this optision
Size
There are different prices, sku, and size. But the only one to choose is the size (It is abouth cloth)
Is there any expirience ein using the U7 Grid Data Type for variants in Teacommerce.
Any suggestions or limitatisions.
René
Hi René
We havent used it but, you can write your own ProductInformationExtractor to get the price, SKU etc from your custom variant.
Kind regards
Anders
Hi Anders
So you do not see any problems in using it? if not i will give ti a try
Kindly René
One issuis that you need some how to identify what variant you want a price for if variants have custom pricing. So you should properly in your URL have that variant id and then use that id in your method toextract a SKU and the price.
HI
Tanks.
Cant i use this option to identify the product
Kindly René
That one is used if your order line has a property with "color" and then you specify color as a uniqueness property alias. Then if an order line has the value "red" in "color" and another one has "green" - it will be added as a unique order line. So maybe you can use it, if you add a property with the alias "id" to your order lines.
is working on a reply...