You've already forked wc-bootstrap
17 lines
341 B
Twig
17 lines
341 B
Twig
|
|
{#
|
||
|
|
# Product Price (Bootstrap 5 Override)
|
||
|
|
#
|
||
|
|
# Expected context:
|
||
|
|
# product - WC_Product object with:
|
||
|
|
# .get_price_html() - Formatted price HTML
|
||
|
|
#
|
||
|
|
# WooCommerce PHP equivalent: single-product/price.php
|
||
|
|
#
|
||
|
|
# @package WcBootstrap
|
||
|
|
# @since 0.1.0
|
||
|
|
#}
|
||
|
|
|
||
|
|
<p class="price fs-3 fw-bold mb-3">
|
||
|
|
{{ product.get_price_html()|raw }}
|
||
|
|
</p>
|