Developer forum

Forum » Development » Show unit of measure

Show unit of measure

Caro De Weze
Reply

Hi,

I want to show the unit of measure with their quality for a product in the frontend. Can I easily retrieve this information? How do I do this?

Caro

unit-of-measure.png

Replies

 
Shiwanka Chathuranga Dynamicweb Employee
Shiwanka Chathuranga
Reply

you can use this - https://doc.dynamicweb.com/template-tags/ecommerce/product-catalog/product#Units

@foreach (LoopItem item in GetLoop("Units")){
    <p>@item.GetValue("TagName")</p>
}

 

 

 

You must be logged in to post in the forum