{$wishlist_button_type = $wishlist_button_type|default:  "icon"}
{$but_id               = $wishlist_but_id|default:       $but_id}
{$but_name             = $wishlist_but_name|default:     $but_name}
{$but_title            = $wishlist_but_title|default:    __("abt__ut2.add_to_wishlist.tooltip")}
{$but_meta             = $wishlist_but_meta|default:     "ut2-add-to-wish $ajax_class"}
{$but_href             = $wishlist_but_href|default:     $but_href}
{$but_label            = $wishlist_but_label|default:    $but_label}

<a class="
	{if $but_meta}{$but_meta}{/if}
	{if $details_page && !$hidden_label} label{/if}
	{if $but_name} cm-submit{/if}
	{if $but_tooltip && !$runtime.customization_mode.live_editor && $settings.ab__device === "desktop"} cm-tooltip{/if}"
    {if $but_title} title="{$but_title}"{/if}
    {if $but_id} id="{$but_id}"{/if}
    {if $but_name} data-ca-dispatch="{$but_name}"{/if}
    {if $but_href} href="{$but_href|fn_url}"{/if}>
    {if $wishlist_button_type == "icon"}<i class="ut2-icon-baseline-favorite_line"><span class="path1"></span><span class="path2"></span><span class="path3"></span></i>{/if}
    {if $details_page && !$hidden_but_label || $but_label && !$hidden_but_label}{__("add_to_wishlist")}{/if}
</a>
