Method of customizing store settlement page

The settlement process of all online stores is the most important part of the buyer’s journey. Because this is the last chance to attract shoppers. In addition, it is worth mentioning that if users change their mind in the final stage, many shopping carts will be abandoned. Factors such as custom settlement pages, delivery fees and payment options are the main reasons for giving up shopping carts. However, the checkout page also plays a great role. If the payment form is too complex or takes too long to complete, customers can buy it from other places. In addition, it is recommended to delete the payment field requiring sensitive information.
The best way to optimize the payment form is to set the required fields. Based on business needs and target customers. This post will guide you in customizing the payment page to meet your target customers and business needs. The custom checkout page for checkout fields requires customers to: Payment details name company name country address city \/ City No. postcode \/ postcode mobile email address order message male the best way to customize the payment field is to use code fragments. To see all classes and selectors, use the browser’s inspector on the web site to find the exact element you want to customize.

The steps to change the background color and layout of the text input box and round the edges are as follows.
Log in to the WordPress site and access the dashboard as an administrator. In the panel menu, click shape Menu > Customize. Go to additional CSS from the displayed left sidebar. Enter CSS add-on [type = \
Border radius: 10px! important
Background color: aquarium! important
}The results are as follows: To change the layout of the male field, add the following CSS code:\/******************** Check**********************\/
▲ woocomerce format. form-row {
Width: 100%! important
}
.woocommerce-checkout #payment div.payment_box input. input-text, . Woocommerce checkout #payment div.payment_box text area{
Width: 100%! important
Down jacket: 8px;
}
. woocomerce# settlement. Select form row,. woocommerce-page #payment . Select form row{
Width: 100%;
Height: 30px;
}
.woocommerce . col2-set . col-1, . woocommerce-page . col2-set . col-1, . woocommerce . col2-set . col-2, . woocommerce-page . col2-set . col-2 {
towards the left
Width: 100%;
}
.custom-checkout h3 {
Background color: #165f1c\/**** Change to the color of the title background****\/
Width: 45%;
Text alignment: centered;
Down jacket: 10px;
Border radius: 5px;
Blank upper end: 50px;
Color: #fff;
Floating: right side;
}
▲ woocomerce format. form-row input. input-text, . Woocomerce style. Form row text area{
Down jacket:. 6180469716 em;
Background color: #f2f2f2;
Color: #43454b;
Summary: 0;
Border: 0;
-WebKit shape: none;
Border radius: 2px;
Frame size: frame;
Font thickness: 400;
Frame: p4e4#;
}
#wc_checkout_add_ons {
Width: 45%;
Floating: right side;
Text alignment: centered;
}
@Media screen and (minimum width: 980px){
.woocommerce-shipping-fields h3, . wooc
Commerce billing fields h3{width: 100%;}
.woocommerce . col2-set, . woocommerce-page . col2-set {
Width: 45%;
towards the left
}
.woocommerce-checkout-review-order{
Width: 45%;
Floating: right side;
}
}
@Media screen and (maximum width: 979px){
.custom-checkout h3 {
Width: 100%;
}
}The results are as follows: The steps of deleting settlement fields include:
Log in to the WordPress site and access the dashboard as an administrator. In the panel menu, click shape Menu > theme editor menu. If the topic editor page opens, browse the topic feature file to delete the checkout field. Add the following code to the PHP file: However, if you paste the complete code, all fields on the settlement page will be deleted, so you must only include the fields to be deleted\/**
Delete all possible fields
**\/
Function wc_remove_checkout_fields ($fields){
\/\/Billing field
unset( $fields[‘billing’][‘billing_company’] );
unset( $fields[‘billing’][‘billing_email’] );
unset( $fields[‘billing’][‘billing_phone’] );
unset( $fields[‘billing’][‘billing_state’] );
unset( $fields[‘billing’][‘billing_first_name’] );
unset( $fields[‘billing’][‘billing_last_name’] );
unset( $fields[‘billing’][‘billing_address_1’] );
unset( $fields[‘billing’][‘billing_address_2’] );
unset( $fields[‘billing’][‘billing_city’] );
unset( $fields[‘billing’][‘billing_postcode’] );
\/\/Delivery field
unset( $fields[‘shipping’][‘shipping_company’] );
unset( $fields[‘shipping’][‘shipping_phone’] );
unset( $fields[‘shipping’][‘shipping_state’] );
unset( $fields[‘shipping’][‘shipping_first_name’] );
unset( $fields[‘shipping’][‘shipping_last_name’] );
unset( $fields[‘shipping’][‘shipping_address_1’] );
unset( $fields[‘shipping’][‘shipping_address_2’] );
unset( $fields[‘shipping’][‘shipping_city’] );
unset( $fields[‘shipping’][‘shipping_postcode’] );
\/\/Order field
unset( $fields[‘order’][‘order_comments’] );
Return the $field;
}
add_filter( ‘woocommerce_checkout_fields’, ‘wc_remove_checkout_fields’ ); It is worth mentioning that the country field is required. Deleting this field will not complete the customer’s order. Please enter an address to continue Because there will be such mistakes.
To set the required field to a non required field in this example, edit the billing phone field. The steps to follow include: Log in to the WordPress site and access the dashboard as an administrator. In the panel menu, click shape Menu > theme editor menu. After opening the theme editor page, browse the theme function file so that it does not need required fields
How to add an icon [HTML] delete a shopping basket from the store theme title how to change the product store foreground theme order how to change the font size woommerce storefont theme woommerce how to rename the order status message

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *