{% sw_extends '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %} {# FreeThemeOne 'layout/header/actions/wishlist-widget.html.twig' #} {# ---------------- START: SET TEMPLATE VARS ---------------- #} {# FreeThemeOne: Set theme variables #} {% set iconPack = theme_config('ft-icon-set') %} {# ---------------- END: SET TEMPLATE VARS ---------------- #} {# FreeThemeOne: Adjust icon #} {% block layout_header_actions_wishlist_widget %} {% set showCounter = showCounter ?? true %} {% if showCounter %} {% if iconPack == "feather" %} {% sw_icon 'heart' style { pack: iconPack } %} {% else %} {# Default icon #} {% sw_icon 'heart' %} {% endif %} {% endif %} {% set wishlistStorageOptions = { listPath: path('frontend.wishlist.product.list'), mergePath: path('frontend.wishlist.product.merge'), pageletPath: path('frontend.wishlist.product.merge.pagelet'), } %} {% set wishlistWidgetOptions = { showCounter: showCounter } %} {% endblock %}