Developer forum

Forum » Ecommerce - Standard features » New product tag

New product tag

António Ramos
António Ramos
Reply

Hi guys,

 

In one of our projects we are listing variants as products and we need to show the variant text in the product list. At the loop VariantCombination we have the "Ecom:VariantCombination.VariantText" that returns the label of the variant but in the standard product list tags we have only the tag "Ecom:Product.VariantID".

 

The reason why we don't want to use that loop is for performance reasons.

 

It's possible to add this tag in the standard product loop please?

 

Thanks,

Best regards,

António Ramos


Replies

 
Nicolai Pedersen
Reply

Are you using simple or 'extended' variants?

If you are using extended variants, the name of the variant is product name tag... If not, you have to look in the loop.

 
António Ramos
António Ramos
Reply

Hi Nicolai,

 

The use of the loop in the product list make the page render 3.5x slower. There is not other option?

 

Thanks,

Best regards,

António Ramos

 
Nicolai Pedersen
Reply

You forgot to answer my question.

 
António Ramos
António Ramos
Reply

Sorry, we are using simple variants. 

 
Nicolai Pedersen
Reply

So how do you get the variant out? From the index or using regular groups?

 
António Ramos
António Ramos
Reply

Hi Nicolai,

 

I get from the index.

 

Best regards,

António Ramos

 
António Ramos
António Ramos
Reply

Hi Nicolai,

 

Sorry I i give you wrong information. Nuno confirmed that we are using 'extended' variants and not 'standard'. 

 

Just to be clear, I don't want to bring the variant product name but the variant label. see dump.

There is any way to accomplish this?

 

Best regards,

António Ramos

dumpVariants.PNG
 
António Ramos
António Ramos
Reply

bump

 
Nicolai Pedersen
Reply

The data is currently not there - you have to do it custom or wait til we can add it to the product after 8.9

 
António Ramos
António Ramos
Reply

Hi Nicolai,

In which 8.9 version is expected this new tag?

Thanks,

António Ramos

 
Nicolai Pedersen
Reply

Hi António

That is not yet planned. We release 8.9 today and will start look at items for 8.9.1 and plan that.

BR Nicolai

 

You must be logged in to post in the forum