checkout() * @var $is_builder bool */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'This script cannot be accessed directly.' ); } $has_shipping = true === WC()->cart->needs_shipping_address(); if ( $is_builder && ! $has_shipping ) { $info_msg = __( 'Maybe your cart is empty Or The shipping address needs to enable. Please enable it first from the woocommerce settings page.', 'shopbuilder' ); echo '
' . esc_html( $info_msg ) . '
'; } $wrapper_class = ! empty( $controllers['fields_width_100'] ) ? 'rtsb-form-fields-width-100' : ''; ?>