Files
wc-bootstrap/templates/single-product/tabs/additional-information.html.twig

23 lines
595 B
Twig
Raw Permalink Normal View History

{#
# Additional Information Tab Content (Bootstrap 5 Override)
#
# Renders the product attributes table inside the Additional Information tab.
#
# Expected context:
# product - WC_Product object
# heading - Tab heading text (filtered)
#
# WooCommerce PHP equivalent: single-product/tabs/additional-information.php
#
# @package WcBootstrap
# @since 0.1.0
#}
{% set heading = heading|default(__('Additional information')) %}
{% if heading %}
<h2 class="h5 mb-3">{{ heading|esc_html }}</h2>
{% endif %}
{{ do_action('woocommerce_product_additional_information', product) }}