have you allready a solution to display the attributes in the ecommerce site? 

if not, try this:

Add in productDetail.groovy (under /if(product)/ tag):

        /// get the product attribute(s)
        attribute = product.getRelated("ProductAttribute");
        context.put("ProductAttribute", attribute);/

now you can use it in ftl file (productdetail.ftl):

/<#list ProductAttribute as ProductAttributes>        
    <#if ProductAttributes?has_content>
        ${ProductAttributes.attrName}: ${ProductAttributes.attrValue}
    </#if>
</#list>/

kindly

Robert


Info Olagos wrote
> 
> 
> Is there anywhere in Ofbiz 9.04 a java method or other function to get the
> attributes out of a product to view them on the ecommerce page? 
> 


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-attributes-tp4583112p4601458.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to