Is there any way or modification to enter a color for a variant in a field and have that variant in the table condensed view have the color entered as the background color of the <tr>? Or any way to modify the xml file to do this?
Is there any way or modification to enter a color for a variant in a field and have that variant in the table condensed view have the color entered as the background color of the <tr>? Or any way to modify the xml file to do this?
You could store the color hex value in an unused field on the variant record, then pull it in and apply it as a style attribute to the tr element.
Chris McKellar
Vibe Commerce
AspDotNetStoreFront DevNet Partner
AspDotNetStoreFront Add Ons
AspDotNetStoreFront Customization
I tried to do the following just as a test, but the text won't output to the html and it just gives me an error.
bgcolor="<xsl:value-of select="concat($pSKU, skusuffix)" />"
Pretending that your SKU value below is actually selecting a different unused field, you would want it to be something like this I believe:
I'm not certain if you can use the concat function in there though, but you get the idea... you need to put your value between curly braces without the xsl tag.HTML Code:style="background-color:#{concat($pSKU, skusuffix)};"
Chris McKellar
Vibe Commerce
AspDotNetStoreFront DevNet Partner
AspDotNetStoreFront Add Ons
AspDotNetStoreFront Customization
Worked perfectly! Thank you!