Developer forum

Forum » Templates » Ecom:Product.SelectedVariantComboName in Application 8.3.1.16

Ecom:Product.SelectedVariantComboName in Application 8.3.1.16

Dmitrij Jazel
Reply

Hej everyone,

Just wanted to know, how can I get the right Ecom:Product.SelectedVariantComboName in the shopping cart for product that is added as variant of the product.

I think this one should be the one that returns the combo name of the Variant that was added to cart. But it actually returns nothing, and if I use DW template tags, than it returns first variant "Black XS" found in every poroduct (that is Black XS [color size]). Thought I am 100% sure I added another product with Blue M and Red S, it still shows Black XS that was not added to cart.

 

Sounds really strange, but that is what I have right now, and all I want is to show the Variant combo after product name when looking at all orderlines in Cart.

 

Regards,

Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Dmitrij

When a product and its variant is added to the cart, that would be the product name of the orderline.

SelectedVariantComboName is something that is available one product detail page when you have &variant=xx in the URL.

BR Nicolai

 

You must be logged in to post in the forum