Plugin Contributor
M Rashid
(@mamunur105)
Thank you for bringing this issue to our attention. We have already fixed it, and the fix will be available in the next version.
For now, you can override the order-review.php template by creating the following directory structure in your theme’s root directory:
/themes/blocksy/shopbuilder/elementor/checkout/order-review.php
Inside order-review.php, add the following code:
<?php
/**
* Template variables:
*
* @var $controllers array Widgets/Addons Settings
* @var $checkout Object WC()->checkout()
*/
// Do not allow directly accessing this file.
use RadiusTheme\SB\Helpers\Fns;
if ( ! defined( 'ABSPATH' ) ) {
exit( 'This script cannot be accessed directly.' );
}
$wrapper_classes = ! empty( $controllers['table_horizontal_scroll_on_mobile'] ) ? ' rtsb-table-horizontal-scroll-on-mobile' : '';
?>
<div class="rtsb-checkout-order-review<?php echo esc_attr( $wrapper_classes ); ?>">
<?php
do_action( 'woocommerce_checkout_before_order_review_heading' );
if ( ! empty( $controllers['show_title'] ) ) {
?>
<h3 id="order_review_heading"><?php esc_html_e( 'Your order', 'shopbuilder' ); ?></h3>
<?php
}
?>
<?php
$addons = 'on' === ( Fns::get_options( 'modules', 'product_add_ons' )['active'] ?? '' );
?>
<div id="order_review" class="woocommerce-checkout-review-order<?php echo esc_attr( $addons ? ' has-product-addons' : '' ); ?>">
<?php do_action( 'woocommerce_checkout_order_review' ); ?>
</div>
<?php do_action( 'woocommerce_checkout_after_order_review' ); ?>
</div>
Summary: We have added the following new line:
<?php do_action( ‘woocommerce_checkout_before_order_review_heading’ ); ?>