'warning', 'content' => sprintf( /* Translators: 1. docs link */ __( 'Your checkout page is being rendered through the new WooCommerce checkout block. You must edit the checkout page to use the classic checkout shortcode instead. Check this documentation to learn more.', 'merchant' ), 'https://docs.athemes.com/article/how-to-switch-cart-checkout-blocks-to-the-classic-shortcodes/' ), ); } // Settings return array( array( 'title' => esc_html__( 'Settings', 'merchant' ), 'module' => 'checkout', 'fields' => array( $before_fields, array( 'id' => 'layout', 'type' => 'radio', 'title' => esc_html__( 'Layout', 'merchant' ), 'options' => array( 'layout-shopify' => esc_html__( 'Shopify multi step', 'merchant' ), 'layout-one-step' => esc_html__( 'One step', 'merchant' ), 'layout-multi-step' => esc_html__( 'Multi step', 'merchant' ), ), 'default' => 'layout-shopify', ), array( 'id' => 'sticky_totals_box', 'type' => 'switcher', 'title' => esc_html__( 'Sticky Totals Box', 'merchant' ), 'condition' => array( 'layout', 'any', 'layout-shopify|layout-one-step' ), ), ), ), );