Developer forum

Forum » Templates » eCommerce: Field groups in product list?

eCommerce: Field groups in product list?


Reply

Is it in any way possible to access field group data for each product in a product list?

 

Right now I can only access field group data when viewing a single product.

 


Replies

 
Reply

Hi Steffen

 

Yes it is possible.

The data is only available outside of the 'Products loop since the fields is not related directly to the product itself.

 

// Dammark

 
Reply

Hi Sebastian,

 

I can't get it to work. Whats is the name of the loop or tag to use?

 
Reply

Hi Steffen

 

Sorry for not making myself clear ...

 

You cannot access the group data when you are inside the loop or on each product.

 

The group data are only available outisde the loop tag @LoopStart(Products).

 

Try adding @DwTemplateTags then you can see what tags are available.

 
Reply
Dammark wrote:

Hi Steffen

 

Sorry for not making myself clear ...

 

You cannot access the group data when you are inside the loop or on each product.

 

The group data are only available outisde the loop tag @LoopStart(Products).

 

Try adding @DwTemplateTags then you can see what tags are available.


 

I think he means the custom fields that are defined as "GroupFields" in eCommerce. (not the general custom productfields).

 

These fields are not available in the ProductList loop. (i've requested this as a feature about a half a year ago)

 

In the product detail templates these fields are accessable via the @Ecom:Product:GroupFields....  tag

 

Now that we're on the subject, any idea when this feature will be implemented?

 

Kind Regards,

Emil

 

 

You must be logged in to post in the forum