Developer forum

Forum » Feature requests » Access Area Item tags in product template

Access Area Item tags in product template

Jens Jakob Kristensen
Jens Jakob Kristensen
Reply

Hi,

We just had a clarification from a support case (02561) resolving that we cannot access or render values from Area Item tags in a product template context.

This would be very helpful in order to set certain variables on website level, and use them for checks or render values on a product list or product page.

Would you please consider making this available in a future release?

Thank you


Replies

 
Nicolai Pedersen
Reply

Hi Jens Jakob

You can get access to the data - but not by template tags. Use PageView.Current.Area.Item.* from your razor templates.

See this thread: http://doc.dynamicweb.com/forum/development/development/how-to-get-item-loops-from-website-in-checkout

Extending them as regular template tags will be a performance hit we would like to avoid.

BR Nicolai

 
Jens Jakob Kristensen
Jens Jakob Kristensen
Reply

Thank you for the fast reply.

We will take a look at the method you suggest.