You've already forked wc-bootstrap
23 lines
595 B
Twig
23 lines
595 B
Twig
|
|
{#
|
||
|
|
# 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) }}
|