Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Product options in Order_ContentTable transformation View modes: 
User avatar
Certified Developer 13
Certified Developer 13
matt-pixelbuilders - 12/17/2012 3:14:19 AM
   
Product options in Order_ContentTable transformation
Hi guys,

Just wondered if anyone had any idea how to get the name of the product option into this e-commerce transformation?

It currently looks like this:
<td style="text-align: left">{%(IsProductOption) ? "  - " : ""%}{%Localize(SKUName)%}
{%(CartItemText != "") ? (" '" + CartItemText + "'") : ""|(encode)%}
</td>


However this is only outputting the answer of the product option and not the product option name itself. Does anyone know if there is an available property to pull this out?

Thanks,
Matt.

User avatar
Kentico Support
Kentico Support
kentico_janh - 12/17/2012 7:12:52 AM
   
RE:Product options in Order_ContentTable transformation
Hello Matt,

Hopefully I get your point properly, however this information isn't available in the transformation by default and you would need to write your own macro method and return the CategoryDisplayName column from the COM_OptionCategory table according to the SKUOptionCategoryID column in the COM_SKU table.

Best regards,
Jan Hermann