'billing_first_name', 'label' => __( 'First Name', 'aio-tools' ), 'placeholder' => __( 'Your first name', 'aio-tools' ), 'width' => 'half-left', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_last_name', 'label' => __( 'Last Name', 'aio-tools' ), 'placeholder' => __( 'Your last name', 'aio-tools' ), 'width' => 'half-right', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_company', 'label' => __( 'Company Name', 'aio-tools' ), 'placeholder' => '', 'width' => 'full', 'required' => false, 'visible' => false, 'is_custom' => false ), array( 'id' => 'billing_country', 'label' => __( 'Country / Region', 'aio-tools' ), 'placeholder' => '', 'width' => 'full', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_address_1', 'label' => __( 'Street Address', 'aio-tools' ), 'placeholder' => __( 'House number and street name', 'aio-tools' ), 'width' => 'full', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_address_2', 'label' => __( 'Apartment, Suite, etc.', 'aio-tools' ), 'placeholder' => __( 'Apartment, suite, unit, etc. (optional)', 'aio-tools' ), 'width' => 'full', 'required' => false, 'visible' => false, 'is_custom' => false ), array( 'id' => 'billing_city', 'label' => __( 'Town / City', 'aio-tools' ), 'placeholder' => '', 'width' => 'full', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_state', 'label' => __( 'State / Province', 'aio-tools' ), 'placeholder' => '', 'width' => 'full', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_postcode', 'label' => __( 'Postcode / ZIP', 'aio-tools' ), 'placeholder' => '', 'width' => 'full', 'required' => false, 'visible' => false, 'is_custom' => false ), array( 'id' => 'billing_phone', 'label' => __( 'Phone Number', 'aio-tools' ), 'placeholder' => '', 'width' => 'half-left', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'billing_email', 'label' => __( 'Email Address', 'aio-tools' ), 'placeholder' => '', 'width' => 'half-right', 'required' => true, 'visible' => true, 'is_custom' => false ), array( 'id' => 'order_comments', 'label' => __( 'Order Notes', 'aio-tools' ), 'placeholder' => __( 'Notes about your order, e.g. special delivery instructions.', 'aio-tools' ), 'width' => 'full', 'required' => false, 'visible' => true, 'is_custom' => false ), ); $shop_cart_keys = array( 'opt-woo-direct-checkout', 'opt-woo-sticky-cart', 'opt-woo-call-for-price', 'optEnableWcUnloader', 'optWcSideCart', 'opt-woo-one-page-checkout', 'optWcEmptyCartRedirect', 'opt-woo-auto-complete', ); $shop_cart_active = 0; foreach ( $shop_cart_keys as $sc_key ) { if ( ! empty( $settings[ $sc_key ] ) ) { ++$shop_cart_active; } } $conversion_active = 0; foreach ( array( 'optEnableWcFakeSales', 'optWcStockScarcity', 'optWcTrustBadges' ) as $cv_key ) { if ( ! empty( $settings[ $cv_key ] ) ) { ++$conversion_active; } } if ( ! empty( $settings['optWcThankYouUrl'] ) ) { ++$conversion_active; } ?>
/8 /4 9