{# # Brands A-Z Listing (Bootstrap 5 Override) # # Alphabetical index of product brands used by [product_brand_list] shortcode. # # Expected context: # index - Array of index characters (A-Z, 0-9) # product_brands - Array keyed by character, each containing brand term objects # show_empty - Whether to show empty index letters # show_top_links - Whether to show "Top" links after each section # # WooCommerce PHP equivalent: brands/shortcodes/brands-a-z.php # # @package WcBootstrap # @since 0.1.0 #}
{% for i in index %} {% if product_brands[i] is defined %}

{{ i|esc_html }}

{% if show_top_links %} {{ __('Top') }} {% endif %} {% endif %} {% endfor %}