Looking to see if there are any examples for how to apply a Security Role based off of user input from a RadioButtonList in the product's Custom Field tab. I've scoured the forum, and perhaps I've missed it, but can't find what the syntax would be to get a value from a custom field and apply based on it.
In the cart, I see granting the role based on quantity, but have been unable to mold this to use a custom field instead of the quantity:
<xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<out>
<xsl:if test="/this/salesOrderDetail/dynamicFormResult/?????? = ??Value??" >
<grantSecurityRole>
<roleName>Role 1</roleName>
</grantSecurityRole>
</xsl:if>
</out>
</xsl:template>
</xsl:transform>
Thanks in advance!