지난 주에 나는 온라인 상점에서 셔츠를 사려고 했습니다. 마음에 드는 디자인, 사이즈, 색상을 골라 장바구니를 비워보았습니다. 체크 아웃 페이지는 거대했고 여러 페이지로 나뉩니다. 과정이 끝났다고 생각할 때마다 더 많은 정보를 입력해야 했습니다. 10분만에 지쳐서 다른 사이트로 이동했습니다.
이것이 정확한 경험이 아닐 수도 있지만 온라인에서 제품을 구매하는 데 방해가 되는 몇 가지 불편함을 경험했을 것입니다. 안심하십시오. 고객도 마찬가지일 것입니다. 이것이 바로 훌륭한 결제 경험을 만드는 것이 판매에 중요한 이유입니다. 이 문서에는 WooCommerce 결제 페이지 사용자 정의에 대해 알아야 할 모든 것이 있습니다. 구매자를 위해 더 빠르고, 더 빠르고, 더 좋습니다.
틀;DR: 전체 WooCommerce 페이지는 SeedProd 또는 Elementor와 같은 페이지 빌더 플러그인으로 쉽게 사용자 정의할 수 있습니다. 그러나 사이트를 변경하기 전에 BlogVault로 WordPress 사이트를 백업하는 것이 좋습니다. BlogVault의 실시간 백업은 WooCommerce 사이트를 보호하도록 특별히 설계되었습니다. 몇 번의 클릭만으로 백업 및 복원을 쉽게 수행할 수 있으므로 어떤 일이 발생하더라도 사이트가 안전합니다.
기본 WooCommerce 결제 페이지는 어떤 모습인가요?
기본 WooCommerce 결제 페이지는 나쁘지 않습니다. 그냥 좋지 않습니다. 다양한 제품에서 작동하는 일반 체크아웃 페이지로 설계되었습니다. 따라서 WooCommerce 체크아웃 페이지를 사용자 정의하는 방법에 대해 이야기하는 동안 기본 페이지를 폐기하지 않을 것입니다. 이것은 훌륭한 출발점이며 제품, 고객 및 그들의 행동에 대한 지식을 기반으로 조정하는 것이 좋습니다.
시크릿 탭에서 사이트를 열고 장바구니에 제품을 추가하세요. 결제를 진행하고 기본 결제 페이지를 살펴보겠습니다.
기본적으로 WooCommerce 체크아웃 페이지는 고객에게 이름, 주소 및 전화번호와 같은 기본 청구 세부정보를 요청합니다. 또한 주문 및 지불 방법에 대한 세부 정보가 있습니다. 이것은 당신이 필요로 하는 최소한의 것이지만 고객을 위한 최고의 경험을 제공하지는 않습니다. 이 기사에서는 다양한 방법으로 WooCommerce 결제 페이지를 편집하는 방법을 보여줍니다.
참고 :WooCommerce 결제 페이지 편집을 시작하기 전에 장바구니에 몇 가지 제품이 있어야 합니다. 이것은 체크아웃 페이지에서 변경 사항의 영향을 확인하는 훌륭한 방법입니다.
Elementor로 WooCommerce 결제 페이지를 쉽게 사용자 정의하는 방법
기본 WooCommerce 결제 페이지를 편집하거나 기존 템플릿을 사용할 수 있습니다. 템플릿을 클릭하여 다양한 템플릿을 사용해 볼 수 있습니다. 사이드바에서. 기본 결제 페이지를 수정하려면 이 섹션이 적합합니다. 결제 페이지를 꾸미는 가장 쉽고 빠른 방법은 페이지 빌더를 사용하는 것입니다. 다른 페이지 빌더도 비슷한 방식으로 작동하지만 우리는 인기 있는 Elementor를 사용하고 있습니다. Elementor는 설정 및 사용이 간편하고 WooCommerce 전용 위젯이 많이 제공되기 때문에 좋아합니다.
결제 페이지를 편집하려면 Elementor의 결제 위젯만 있으면 됩니다. woocommerce_checkout 단축 코드를 위젯으로 바꾸면 완전히 사용자 정의 가능한 체크아웃 페이지가 나타납니다. Elementor의 장바구니 위젯과도 잘 작동하여 전체 디자인 프로세스를 쉽게 만듭니다. 이 올인원 솔루션에는 가격이 따릅니다. 이러한 위젯을 사용하려면 Pro 버전의 Elementor가 필요합니다. Elementor에 투자하려면 다음 단계를 따르세요.
- Elementor 설치 및 활성화: WordPress 대시보드에서 플러그인을 클릭합니다. 그런 다음 새로 추가합니다. 엘리멘터를 검색합니다. 설치 를 클릭하십시오. 및 활성화 메시지가 표시되면. 그러면 Elementor Pro가 설치됩니다.
<올 시작="2">
<올 시작="4">
다음은 변경할 수 있는 몇 가지 설정입니다.
- 일반: 하나 또는 두 개의 열 레이아웃 중에서 선택하고 하나의 열을 고정할 수도 있습니다.
- 청구 또는 배송 형식 변경: 이러한 각 양식, 각 자리 표시자 및 각 필드의 머리글을 편집합니다.
- Additional information: Provide a special section for your customers to add instructions or information for their order.
- Coupon settings: Customise the alignment and typography of your coupons.
You can edit more things by clicking Style :
- Purchase button: You can change the colors, the text, spacingetc for the purchase button.
- Order summary: You can choose the typography and spacing of the list of products ordered.
- Typography: You can customise all the text except forms.
- Forms: Customise the typography and colour of your forms. Use the Rows Gap settings to increase spacing.
Editing the checkout page merely scratches the surface. Elementor and WooCommerce are a powerful combination that you can use to make your store really stand out.
So, we’ve talked about how easy it is to customise your whole checkout page with Elementor. But, what if you don’t want to use a plugin like Elementor and would prefer to just use the in-built editor? Keep reading to see how you can do that.
How to customise the design of your checkout page with the in-built editor
In this section, we’ll talk about how to use the Gutenberg editor to make changes to the WooCommerce checkout page. To open the page in the editor, hover over Checkout Page and click Edit.
This will lead you to the Gutenberg Block Editor. The block editor works in horizontal blocks of different types of content. You can add text, images, or headings by adding a block from the library on the left. Each block can be customised separately. You’ll see the block library in the sidebar, by clicking the + on the top left. You can change the settings of each block by clicking the gear button on the top right of the block tab.
You’ll also see some text, the shortcode, on the actual page. The shortcode is WooCommerce’s way of including checkout fields to your page. It looks like this:
woocommerce_checkout
Do not delete this shortcode. You can add images or text below and above this shortcode. Later on in this article, we’ll talk about editing those fields. But, for now, let’s talk about how to make changes to the general design. Here are the steps to do so:
Add text
- Add the Paragraph widget: You can add text below and above your shortcode. You’ll see text that says “Type/choose a block”. You can either drag and drop the Paragraph widget or just start typing the text you want. Double-click to go to a different block.
- Customise the text: You can edit the typography and colours in the block tab on the right. Just select the text or the block.
To add a header, you can change add the Header widget and edit it just the same. There are varying sizes like H1, H2, etc that you can choose from as well.
Add images
- Add the Image widget: Click the + on the top left and type Image in the search bar. Select the type of Image widget you’d like and click, or drag and drop into a column.
- Choose an image: Choose an image from your media library by clicking Media library, or click Upload to select a file from your local computer. You can add a caption if you’d like.
Add buttons
- Add the Button widget: You can search for it in the search bar in the blocks library.
- Customise button: Change the label of the button, alignment, and typography of the label in the popup that appears. You can also change the colour, border, and size in the block settings.
- Hyperlink the button: Click the URL button in the pop-up and paste a URL of a page you’d like to link the button to.
Explore other widgets in the block editor to help you customise the entire page. We also recommend you preview the page by clicking Preview on the top right. Once you’re done, click Update.
While there is a lot you can do with just the Gutenberg editor, you can’t change specific things like the fields. The next section will cover how to make those changes.
How to customise checkout page fields
Changing the checkout page fields can be more impactful than you realise. It really defines the experience for your customer. There are two ways to go about it:with a field manager plugin or manually. We’ll talk about both in this section.
Customising page fields with an extension
We’re using the Checkout Field Manager for WooCommerce plugin for this tutorial. You’ll have to buy the extension. Once you do, here are the steps to get started.
- Install and activate the plugin: On your wp-admin panel, hover over Plugins ve toband click Add New . Click Upload Plugin and Choose File and theme select the zip folder that you just downloaded. Click Install Now and Activate.
<올 시작="2">
- Disable fields: You can disable unnecessary ones, by toggling the Disabled column.
- Make some fields compulsory: You can toggle on Required and make some fields compulsory.
- Edit the look of the field: You can change the alignment of a field to be either left aligned, right aligned, or wide by choosing from the dropdown menu in the Positions 열.
- Edit existing content: Click Edit at the end of the relevant field and a popup will appear. You can change the Name, Type, Label, Description, etc. Then, click Save .
- Add new fields :Click + Add New Field at the top left. You can fill in the details as you’d prefer. Click Save .
Customise page fields with code
If you’re familiar with coding, you can add code to your theme’s function.php file. Generally speaking, when modifying a theme using code, create a child theme first and modify that. This will preserve your changes and customisations when the theme updates.
It’s important to note that Checkout Field Manager, the extension we mentioned in the previous section, overrides the changes made to the functions.php file. So, they can’t be used parallely.
Additionally, it’s important to understand how WooCommerce loads the page fields in the first place. WooCommerce puts fields through a filter. This allows you to add custom code to make changes to the fields. In the case of WooCommerce checkout pages, this filter is as follows:
$this->checkout_fields =apply_filters(‘woocommerce_checkout_fields’, $this->checkout_fields);
This means that hooking into woocommerce_checkout_fields can override any existing code. Hooks are essentially pieces of code that modify WordPress core files. Your site has a few hooks that it comes with:
- woocommerce_before_checkout_form
- woocommerce_checkout_before_customer_details
- woocommerce_checkout_billing
- woocommerce_checkout_shipping
- woocommerce_checkout_after_customer_details
- woocommerce_checkout_before_order_review
- woocommerce_checkout_order_review
- Woocommerce_checkout_after_order_review
- Woocommerce_after_checkout_form
Additionally, there’s a long list of hooks that WooCommerce offers that you can choose from. You can also check out this list of hooks on Business Bloomer that helps you visualise the hooks. Now, let’s talk about how to change the fields.
Change the placeholder in the order_comments field
// Hook in
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
// Our hooked in function – $fields is passed via the filter
function custom_override_checkout_fields( $fields )
$fields[‘order’][‘order_comments’][‘placeholder’] =‘My new placeholder’
return $fields
}
Change the label of the order_comments field
// Hook in
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
// Our hooked in function – $fields is passed via the filter!
function custom_override_checkout_fields( $fields )
$fields[‘order’][‘order_comments’][‘placeholder’] =‘My new placeholder’
$fields[‘order’][‘order_comments’][‘label’] =‘My new label’
return $fields;
}
Remove a field
// Hook in
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
// Our hooked in function – $fields is passed via the filter!
function custom_override_checkout_fields( $fields ) {
unset($fields[‘order’][‘order_comments’])
return $fields;
}
There’s a WooCommerce article on using code to help you customise your checkout fields.
Now, let’s talk about how to change the layout of your Checkout page.
How to change the checkout page layout
You can customise the layout of your WooCommerce page by adding action hooks. Here are some ways that you can change it:
Using a snippet management plugin
We’ll start with the easier method which is to add it using a snippet management plugin.
- Install and Activate Snippet Management Plugin: We’re using Code Snippets. You can find it in your plugins directory. Hover over Plugins and click Add New . Then search for Code Snippets and click Install and Activate.
<올 시작="2">
Adding the code manually
If you’d like to add it to your theme’s function.php file, here are the steps:
- Open theme file editor: Hover over Appearance on the sidebar and click Theme File Editor .
- Copy hook code: You can either copy it from the WooCommerce library or create a custom one on a text editor and copy it. Like we used in the previous section, if you’d like to add a T&C section, here’s the code you’d copy. There’s more in the WooCommerce hooks librar.
- Edit the functions.php file: On the right, scroll through the menu of files till you find functions.php. Paste the code you copied and click Update FIle . 축하합니다. You’ve added a hook to your theme.
Additional plugins and extensions for your checkout page
Here are some additional extensions we recommend you install because it will definitely help you create an amazing checkout experience:
- WooCommerce Checkout Addons:This extension allows a customer to include addons in their order like gift wrapping, for example.
- WooCommerce One Page Checkout:This allows you to make any page a checkout page and makes the shopping process easier because the customer can now choose and buy a product on the same page.
- WooCommerce Social Login:This allows a customer to login with a social media account instead of their email or phone number.
- YITH WooCommerce Order Tracking:This helps manage shipping information easily. It allows your customers to track their purchases.
- YITH Advanced Refund System for WooCommerce:This helps you set up a refund system.
Why should you customise your WooCommerce checkout page?
The main goal of your checkout page is to encourage your customers to buy things from your site and here’s why a custom checkout page does just that:
- Faster for your customers: If you can remove unnecessary fields and make the process of buying faster for your customers, they’re less likely to ditch their cart. The longer the process, the less motivated a customer is to buy anything at all.
- Upsell more products: You can use the checkout page to sell other products that they might be interested in or related products. This is an opportunity for you to show your customers what they knew they needed but didn’t know you sold.
- Make the checkout process feel safe: You can add testimonials and this will help customers feel like they can trust you. You can also be transparent about why you’re asking for certain information.
Best ways to customise your WooCommerce checkout page
- Easily create an account: Make the process of creating an account painless for your customer. Make the time between adding a product to cart and paying for the product as quick as you can. Remove fields that are unnecessary like “Company”. If possible, make it optional.
- Add trust factors: This builds trust within the customer that their money is going to a safe place.
- Add social proof elements: This encourages customers to share their experience with your shop on their social media sites.
- Transparent charges: Don’t have additional charges unnecessarily. Make sure you’re clear about where their money is going. For instance, only add shipping charges in addition to the cost of the product.
- Offer enough checkout options: Strike a balance between adding too many and too few payment options. Use payment gateways that are popular amongst your target audience. We have articles on adding Stripe or PayPal to your WooCommerce page that you can check out.
Final thoughts
The default WooCommerce checkout is basic but customizable. Every aspect of the checkout page can be edited to create an amazing shopping experience for your customers. But, before you make any changes, it’s necessary to backup your site using BlogVault. This gives you insurance for when something goes wrong or if you’ve accidentally made the shopping experience worse. BlogVault not only takes real time backups but the restore process is an absolute piece of cake.
FAQ
What are action hooks?
Action hooks help you add a snippet of code to your core files that affects the way your site functions. WordPress has an overwhelmingly large library of hooks that you can use or you can create your own custom ones.
How do you edit text on WooCommerce Checkout Pages?
You can use your in-built WordPress editor or with a page builder plugin to edit and customise your fonts and text throughout your site. We recommend using a page builder like SeedProd. It’s easy to use and has both a free and paid version.
Where do you add hooks and filters?
You should add hooks and filters to your child theme’s function.php file. Child themes have the same look and feel of your parent theme but allows you to tweak and add code. You can identify your child theme by going to Appearance> Themes and looking for the theme without a feature image.=If you don’t have a child theme, checkout this article on creating one.