Hi good morning,
I try to put the product option variant name showing in the products categorie page, but so for I have only been able to put the option weight modifier.
That is the code that I use to capture the weight modifier:
{if $product.selected_options} <div class="grid-list__quantidade"> {__("embalagem")} {$product.selected_options|fn_apply_options_modifiers:$product.weight:'W'} {$settings.General.weight_symbol} </div> {/if}
Can someone tell me the code to catch de variant name.
Example of the final result that I want in attached images.