Woocommerce checkout

Hi Rodolfo! So…I’m wondering if this looks like I think it looks when I’m done: the ‘Stacked’ layout that mobile shows. But….on desktop. Is that the case? Am I seeing code that will make the desktop version of Checkout in WooCommerce…look like it does on mobile?? Because that’s what I’m trying to do! LOL. I want to make the ‘two-column’ look GO AWAY on desktop. COMPLETELY, lol. I want a stacked layout for desktop. I am using the WooCommerce plugin; not ‘Storefront’ (their free template…which is…ugly as sin, blech). I hope the fact that I’m only using the WooCommerce plugin (but not the Storefront theme)….I hope that doesn’t make this task impossible. I am so sick of the two-column layout for the Checkout page. It’s cramped, looks like a crazy monkey put it together (TOO MUCH WHITE SPACE, haaha…). It’s disjointed and driving me insane.

I LOVE the tablet/mobile version that renders when you smoosh the desktop screen. The great thing about the desktop Checkout version is that it’s responsive. So I’ve been (lol) trying to fool the desktop version of the Checkout page into thinking it’s a tablet accessing it, hahaa….NO LUCK. 😀 THEN…I found this page. What a miracle.

Of course I have noooo idea what any of this is, but…it looks like it’s my solution! 😀

My question then, for you, Rodolfo: I just paste that itsy-bitsy little code you have there — the ‘// These are actions you can unhook/remove!’ code, which is all of about 4 lines or so — in the bottom of my ‘functions.php’ file in my child theme, before the ‘?>’ appears…? There is no ?> there at the end of my child theme’s functions.php file. Now, the file STARTS with at the end of my child theme’s functions.php file…. 🙁

I know it’s a lot of questions for me to shove into one comment, so I apologize in advance for the headache you may receive when reading this. 😀 Here, let me try to parse it out a little cleaner for you and all readers who come after you, who are gonna read this….

1.) I want a solution that renders the desktop version of the Checkout page in the WooCommerce plugin for WordPress….according to ‘tablet’ dimensions. No…I do not want the thing to also have the little hamburger menu and the header to turn into a tablet version — just the body content. Because the Checkout page is responsive; it’s currently in 2-column [default] style, which I hate. But if you ‘smoosh’ the desktop screen all the elements on that page ‘stack’ vertically upon one another, WHICH IS PERFECT. 😀 I want all elements to be one right after each other, as though they were bricks shoved on top of each other, piling up towards the sky.

2.) I do not know how to use ‘hooks.’ This seems like a great idea though. SO…what do I paste where to get what I see above, in the little pink area that represents a Checkout screen on desktop?

3.) The ‘Storefront Powerpack’ that WooCommerce sells only works if you have the Storefront theme installed and using that as your store; it does not work with the plugin for other themes. In case anyone thinks that’s gonna be a valid solution to my woes (sadly it isn’t lol). The great thing though is that it INSTANTANEOUSLY changes the layout of the Checkout page into EXACTLY what i was talking about. The jerks don’t make that as an option for everyone to use in the plugin, though. I am very unhappy about this fact, as you can probably tell.

Thanks in advance for any and all assistance with this, Rodolfo. 😀 And to everyone else who may come along and also help!

businessbloomer.com

Настройка страницы оформления заказа woocommerce без плагина

Ну что же, приступим. Далее я покажу вам как переименовать поля оформления заказа, потом как изменить тип поля ввода, главное следовать инструкции и ничего не перепутать. Все наши действия будут базироваться на хуке woocommerce_checkout_fields.

 

Как переименовать поля оформления заказа

к менюПошаговая инструкция (нажимая на кнопки «раскрыть шаг» вы увидите следующий шаг, а нажав на изображение вы можете его увеличить):

 

Вот так просто можно переименовать одно или несколько полей на странице оформления заказа в вукомерц. Тип поля меняется аналогично, смотрите пошаговую инструкцию ниже.

 

Как изменить тип поля оформления заказа с input на textarea

к менюПредположим у нас на странице checkout есть поле «Адрес» и у него поле для ввода типа input. Давайте сделаем чтобы оно стало textarea, также удалим следующие поле за ним по ненадобности, смотрите скин:

Открываем админку, файл functions.php в редакторе, в самый конец забрасываем туда вот такой код:


и сразу же смотрим результаты работы этой функции:

Woocommerce checkout

Комментарии смотрите в коде, каждая строчка имеет свое значение.

 

Вот собственно и все. В этом уроке я показал вам как делается настройка страницы оформления заказа у woocommerce. Не забудьте поделиться этой статьей со своими друзьями:

help-wp.ru

Иногда может возникнуть необходимость изменить, переименовать или удалить некоторые поля со страницы оформления заказа в WooCommerce. Можно воспользоваться плагинами, а можно и пошаманить с кодом. В серии статей мы расскажем вам как работать с полями на странице оформления заказа.

Для того, чтобы воздействовать на эти поля нам необходимо воспользоваться фильтром woocommerce_checkout_fields, что позволит перезаписать любое поля. В качестве примера давайте заменим текст плейсхолдера в поле order_comments (Комментарии к заказу). Сейчас оно выглядит так:

  _x('Примечания к Вашему заказу, например особые пожелания к отделу доставки.', 'placeholder', 'woocommerce')  

Мы можем изменить его путем добавления простой функции в в файл functions.php вашей темы или в плагин для сайта WordPress:

  // Перехватываем  add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );    // Наша перехваченная функция - $fields проходит через фильтр!  function custom_override_checkout_fields( $fields ) {   $fields['order']['order_comments']['placeholder'] = 'Мой новый текст в примечании к товару';   return $fields;  }  

Вот и все! Таким же образом можно перезаписать и другие части, как например названия полей:

  // Перехватываем  add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );    // Наша перехваченная функция - $fields проходит через фильтр  function custom_override_checkout_fields( $fields ) {   $fields['order']['order_comments']['placeholder'] = 'Мой новый текст в примечании к товару';   $fields['order']['order_comments']['label'] = 'Мое новое название этого поля';   return $fields;  }  

Можно вовсе удалить эти поля:

  // Перехватываем  add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );    // Наша перехваченная функция - $fields проходит через фильтр  function custom_override_checkout_fields( $fields ) {   unset($fields['order']['order_comments']);     return $fields;  }  

Ниже мы приводим полный список полей в массиве, которые можно изменить:

  • Оплата
    • billing_first_name
    • billing_last_name
    • billing_company
    • billing_address_1
    • billing_address_2
    • billing_city
    • billing_postcode
    • billing_country
    • billing_state
    • billing_email
    • billing_phone
  • Доставка
    • shipping_first_name
    • shipping_last_name
    • shipping_company
    • shipping_address_1
    • shipping_address_2
    • shipping_city
    • shipping_postcode
    • shipping_country
    • shipping_state
  • Аккаунт
    • account_username
    • account_password
    • account_password-2
  • Заказ
    • order_comments

Каждое поле содержит массив свойств:

  • type – тип поля (text, textarea, password, select)
  • label – название для поля ввода
  • placeholder – плейсхолдер (placeholder) для поля ввода
  • class – класс для поля ввода
  • required – true или false, в зависимости от того, является ли поле обязательным
  • clear – true или false, применяет clear fix к полю/его названию
  • label_class – класс для элемента названия поля (label)
  • options – для блоков выбора,массив опций (пары key => value)

В некоторых случаях вам нужно будет использовать фильтр woocommerce_default_address_fields. Этот фильтр применяется ко всем стандартным полям оплаты и доставки:

  • country
  • first_name
  • last_name
  • company
  • address_1
  • address_2
  • city
  • state
  • postcode

Например, для того, чтобы сделать поле address_1 не обязательным, нужно добавить следующий код:

  // Перехватываем  add_filter( 'woocommerce_default_address_fields' , 'custom_override_default_address_fields' );    // Наша перехваченная функция - $fields проходит через фильтр  function custom_override_default_address_fields( $address_fields ) {   $address_fields['address_1']['required'] = false;     return $address_fields;  }  

Определяем опции выбора из списка

Если вы добавляете поле с типом ‘select’, как указывалось выше, вам нужно будет определить пары ключ/значение (key/value). Например:

  $fields['billing']['your_field']['options'] = array(   'option_1' => 'Текст Опции 1',   'option_2' => 'Текст Опции 1'  );  

Мы надеемся, что эта статья помогла вам научиться работать с полями на странице оформления заказа в WooCommerce.

Если вы начинаете разбираться с WooCommerce, то не забудьте посетить нашу рубрику WooCommerce, где мы публикуем материалы специально по тематике магазинов на этой платформе.

По всем вопросам и отзывам просьба писать в комментарии ниже.

Не забывайте, по возможности, оценивать понравившиеся записи количеством звездочек на ваше усмотрение.

wpincode.com

First Steps: Making a Child Theme

When you want to customize WooCommerce checkout pages, you will probably have to use a child theme (or another plugin). In this tutorial, I will also use a child theme.

When you install a new WordPress site, you will get the Twenty Seventeen theme and we will use that as our parent theme. Go to your wp-content/themes folder and create a new folder child17. Inside that folder, create a style.css and copy this code there:

Now, go to the admin dashboard and activate that theme (be sure to have the Twenty Seventeen available there also).

Before we go further, let’s make sure that we have the right CSS from the parent theme so create the file functions.php and add this:

How to Customize WooCommerce Checkout Pages

It is pretty easy to change and override WooCommerce templates. With the same approach we will use here to customize WooCommerce checkout pages, you can customize any other WooCommerce parts.

When you want to overwrite a WooCommerce template, just create a folder woocommerce in your theme and then start following the same path that WooCommerce has for each template inside the folder templates.

Replacing Shipping Details with Order Totals

Now that we have a child theme and understand how to override a WooCommerce template, we are ready to proceed.

Woocommerce checkout

To re-order the shipping details and order totals, you need to create a folder checkout inside woocommerce folder in your child theme. Then add a file form-checkout.php and copy the whole file contents from the plugin woocommerce/templates/checkout/form-checkout.php.

We will do now something really simple. If you look closely to that template, you will see that the billing and shipping details are wrapped inside .col-2set. We want that placed above and then wrap the order details into a .col-2. Check it out here:

If you want to see the complete file, you can check it out here.

So simple, right? You could do some more advanced stuff, but that is up to you!

Moving Shipping Methods Somewhere Else

The previous parts was really simple, right? Let’s now move the shipping methods above the products. How to do that?

If you check the checkout-form.php for order review, you will see there is an action woocommerce_checkout_order_review. This action will include a file checkout/review-order.php.

So, what should we do? Let’s create a new file in our child theme, woocommerce/checkout/review-order.php. After that, go to WooCommerce and copy the code from that template (woocommerce/templates/checkout/review-order.php).

Then, find the shipping methods code that will look like this:

Once you found that, select it all, copy it and DELETE IT. Yes, remove it from that template. We don’t need it, but keep it in the clipboard (don’t copy other stuff).

Now, we will go to our previous template checkout-form.php and find the #order_review.

After that, copy the shipping methods code above it. You probably think that you are done, right? Wrong.

Fixing the Shipping Methods Refresh Issue

Now, since the shipping methods are in their own custom table, they won’t be refreshed if you change the address. To be able to view that issue, you will have to add at least 2 shipping zones. Add them inside WooCommerce Settings. I have 2 shipping zones, first is Everywhere with 2 different shipping methods and the second one is Croatia with a free shipping method. Be sure to put Everywhere as the last option.

Open the checkout page (with at least 1 product in the cart). The shipping methods will be correct on the page load. But if you try to change the address, let’s say from Croatia to United States, you won’t see the refreshed shipping methods.

How to fix that? We will use fragments.

Fragments are JSON objects retrieved from AJAX responses and each fragment consists of:

  • key – class or id which we can use to target an element
  • value – new HTML that we will put into that place

When we change our details on the checkout page, WooCommerce performs an AJAX request to our website and retrieves a new order total. You can check what it does inside woocommerce/includes/class-wc-ajax.php. For the checkout page purposes, you might be interested in checking out the method update_order_review.

On the front side, when the AJAX response is retrieved, WooCommerce goes through each fragment and uses the key to target an element through jQuery. After that, it replaces it with the value. How is that done? You can check the GitHubcheckout.js on WooCommerce.

Refactoring the Shipping Methods

To add our own fragment, we first need to wrap the shipping methods in a custom table since Shipping Methods HTML is actually a table row tr. This table will also have a custom class (our fragment key).

Adding our own Fragment HTML

If you look closely to the method update_order_review, you will see that the fragments are filtered with woocommerce_update_order_review_fragments. We will use that filter to add our own fragment. Open the file functions.php and add this:

In here, we are adding the complete custom shipping table (with the custom class) and we are adding that HTML to the key .my-custom-shipping-table.

Now, when the AJAX is processed, the WooCommerce will get our old table HTML with $('.my-custom-shipping-table') and replace it with the new HTML.

www.ibenic.com

Easily Offer Free or Paid Add-ons and Services at Checkout

The core WooCommerce checkout process covers all of the basic fields shops needs to place an order, but what if your shop needs to offer services or additional products only at checkout? That’s where WooCommerce Checkout Add-ons comes into play. This extension allows you to add several additional options to your checkout page and determine which are free or paid. You can also sort and filter orders based on your shiny new options.

WooCommerce Checkout Add-ons

WooCommerce Checkout Add-ons can give you a way to charge for add-ons services such as rush fulfillment or gift wrapping, or can help you offer add-ons at checkout without inventory, such as stickers or insurance. Checkout Add-ons allows you to easily add several field types to your checkout page, including text fields, text areas, select (dropdowns), multi-selects, radio buttons, a checkbox, multi-checkbox, and file uploads.

WooCommerce Checkout add-ons Sample Checkout Fields
Sample Checkout Fields

Checkout Add-ons is great at adding any kind of field for free, but they can also be used to add paid services or fees, and can even do so on a per-option basis.

Adding checkout fields is easy from the new Checkout Add-ons Menu. Simply add your field name, optionally replace it with a descriptive label for the checkout page, determine field type, and whether the options should add a cost or be taxable. You can also determine whether or not to display this information on the “Orders” page and make it sortable or filterable.

WooCommerce Checkout Add-ons Adding Checkout Fields
Adding Checkout Fields

What Can Checkout Add-ons Do?

  • Add option fields for add-on services and products (without inventory management)
  • Optionally add costs for fields or selected options
  • Use amount or percentage-based fees NEW
  • Apply costs on a per-option basis
  • Dynamically update the order details and total on the checkout page as options are selected or changed
  • Saves selected options & uploads even if customers browse away from checkout!
  • Supports WooCommerce Subscriptions – A checkout add-on will add a one time charge to the initial purchase
  • Allow admins and customers to view order add-ons
  • Supports One Page Checkout
  • Optionally view new fields from the “Orders” page
  • Optionally sort or filter orders based on new fields

Tightly Tied to Order Management

Using WooCommerce Checkout Add-ons, you can easily view orders with your checkout fields, filter or sort orders using these fields, and view all selected add-ons within the order details. Customers can also view any paid add-ons while viewing their own orders, as these are added as line-items.

WooCommerce Checkout Addons | Sorting and Filtering Orders
Sorting and Filtering Orders

Any checkout add-ons will be displayed to the admin and to the customer at checkout and in the order details.

WooCommerce Subscriptions support

Since WooCommerce Subscriptions supports fees, you can also use it with Checkout Add-ons!

Upsell Products and Services

Using Checkout Add-ons for WooCommerce, you can sell additional products and services or gather information that’s needed for every order, such as file uploads for printing companies. So long as inventory / SKUs don’t need to be managed, you can add whatever products or upsells you’d like to in the checkout page. Add fields for licenses or taxes, give away or sell product samples, offer additional services, provide file uploads, and more!

How to Get Started

  1. Buy this extension 🙂
  2. Download and install into your WooCommerce store
  3. Create some order fields under WooCommerce > Checkout Add-ons
  4. That’s it! Sit back and enjoy using your shiny new checkout fields!

Need any more reason to buy? When you purchase a SkyVerge-developed extension, you’re getting the highest quality extensions for your WooCommerce store. Gain peace of mind by knowing that when you purchase our products, your store’s performance is as important to us as it is to you.

woocommerce.com

Here are 18 reliable WooComerce Checkout Plugins to try out!

1. WooCommerce Checkout Manager

Woocommerce checkout manager is an invaluable checkout plugin that lets you customise and manage the fields on your WooCommerce Checkout page. With this plugin, you can re-order, rename, hide and even extend your store’s checkout fields in the Billing, Shipping and Additional sections. It also allows you to make checkout fields optional.

2. Jilt

Jilt by SkyVerge is a powerful plugin built for the primary purpose of adding automated lifecycle emails to your store. Jilt also has an abandoned cart recovery solution that helps you recover lost revenue due to cart abandonment. Jilt does this by enabling you to track when carts are abandoned through data collected on your store. This will help you reach out to customers who abandoned these carts increasing chances of purchase on your store.

3. WooCommerce Multistep Checkout

WooCommerce Multistep Checkout is a free plugin that facilitates purchase on your store with just a few moves. This means that your customers will be able to purchase with very little “required” actions and add all other information at a later stage. This increases sales by shortening the sales cycle.

4. WooCommerce Direct Checkout Plugin

This WooCommerce plugin simplifies your store’s checkout process for the purpose of facilitating sales. When uploaded to your store’s backend, the WooCommerce Direct Checkout Plugin adds a submenu link called ‘Direct Checkout’ where you can enable / disable the direct checkout option, add “Continue Shopping” button to product page and even implement add to cart button redirect to checkout page pattern.

5. WooCommerce Checkout for Digital Goods

If you sell digital products on your WooCommrece store this plugin is for you! WooCommerce Checkout For Digital Goods, a plugin by Multidots, is especially beneficial if you sell downloadable digital products. This plugin allows buyers on your store to skip unnecessary fields like billing and shipping address so they can place orders faster. This plugin is very easy to use; all you have to do is upload to your store and activate.

WooCommerce extension plugins

6. WooCommerce Checkout Add-Ons

WooCommerce Checkout Add-Ons allows you to easily offer free or paid add-ons and services at checkout. This extension aids easy addition of several paid/free additional options to your checkout as you want. Checkout Add-ons facilitates easy addition of various field types to your checkout page, including text fields, multi-checkout, text areas, dropdowns and file uploads.

7. WooCommerce Checkout Form Progress Bar

This Checkout Form Progress Bar adds a progress bar to your Woocomerce store’s checkout page. It keeps track of all the required fields and shows the progress when filling the form. You can also display individual progress bars for the billing and shipping fields.

8. Checkout Field Editor

The Checkout Field Editor allows you to add a custom field in WooCommerce checkout page. The pro version of this plugin has an extra functionality that lets you easily customize your fields by adding, editing, deleting and changing display order on your WooCommerce checkout page fields.

9. PayPal Express Payment Gateway for WooCommerce

Developed by WooCommerce, PayPal Express Payment Gateway gives shoppers on your store the convenience and security of one of the giant online payment solutions, PayPal. When installed on your Woocommerce store, the PayPal Express Payment Gateway allows visitors to your store to pay from their PayPal balance, debit or credit card, or bank account; or pay with PayPal Credit.

10. WooCommerce Cart Tab

Ever had to search for the cart button on a store? This plugin ensures that never happens on your store! The WooCommerce Cart Tab plugin adds a sitewide tab that displays the number of products in the cart. Visitors on your store can easily view cart content by clicking the tab or adding a product to the cart from a shop page to reveal the cart contents with a link to the checkout. You also have the option of controlling the cart display.

11. WooCommerce Bulk Discount

WooCommerce Bulk Discount makes it possible for you to apply bulk discounts to items in the shopping cart depending on the ordered quantity and on the specific product. This especially comes in handy when you want to offer different discount rates for different purchase actions. Bulk Discount supports fixed and flat discounts in different currency units.

12. Woocommerce Easy Checkout Field Editor

WooCommerce Easy Checkout Field Editor allows you to easily customize and manage fields on your WooCommerce Checkout page. With this extension, you can re-order, rename, hide and extend your checkout fields within the Billing, Shipping and Additional sections. You can also make checkout fields optional.

5 Easy Steps to Optimize Your eCommerce Checkout Page

13. WooCommerce Subscriptions

WooCommerce Subscriptions developed by Prospress helps you capture more residual revenue with Recurring Payments from buyers on your page. It does this by enabling the creation of subscription-based product offers on your store. With this plugin, you can maximise your income by introducing a variety of subscriptions for physical or virtual products and services.

14. Checkout Address Autocomplete for WooCommerce

If you fill out forms a lot on the internet, then you know how helpful autocomplete (aka autofill) can be. Checkout Address Autocomplete for WooCommerce simplifies the checkout process by helping your customers to enter their address with the Google Places suggests API. This saves time, decreases cart abandonment and makes for a more efficient sales cycle.

15. WooCommerce Hide Checkout Shipping Address

Some delivery methods in WooCommerce just don’t need a shipping address especially when customers select a method like the local pick up method. WooCommerce Hide Checkout Shipping Address by Web Whales helps you clear up confusion in situations where shipping addresses aren’t required for pick up. You can turn this feature on and off for different shipping methods individually at their settings pages.

16. WooCommerce Email Validation

Email addresses are necessary for lead generation, especially when they’re correct. WooCommerce Email Validation by Hugh Lashbrooke is an extension that adds allows users to add a ‘confirm email address’ field to the checkout page as a required field. This will ensure that customers enter correct email addresses allowing you to easily manage orders. All you need is to upload the plugin and it gets to work immediately.

17. WordPress Ultra Simple Paypal Shopping Cart

WordPress Ultra Simple Paypal Shopping Cart is a WooCommerce plugin that gives you the functionality of adding an ‘Add to Cart’ button on any posts or pages in your store. With this plugin, you can add or display the shopping cart on any post or page or sidebar easily. The shopping cart also allows buyers on your store to see what they currently have in the cart and remove unwanted items.

woocurve.com

The check-out process is the last step in completing one customer’s purchase, and this is the crucial element that can impact their perception of your service. The longer the waiting time is, the lower the satisfaction will be. Besides, your consumers pay money for what they want, and your job is to make them completely comfortable when letting money come out of their wallet. Loyal customers are always the goal, right?

Here I came up with 10 useful WooCommerce checkout plugins which can turn the checkout process into a walk in the park.

1. WooCommerce Direct Checkout

Price: Both free and paid ($29 for single site)

WooCommerce Direct Checkout plugin was created to simplify the checkout process by skipping the shopping cart page. The “Add to cart” button is added to each product to redirect customers to the checkout page, encouraging buyers to shop more and quickly process the transaction.

woocommerce-checkout-plugins-direct-checkout

After activating this plugin, the submenu “Direct Checkout” will show up in the WooCommecre Settings panel. From this, you can easily enable or disable the direct checkout option, add a “Continue Shopping” button to aproduct page, or update “Add to cart” by default to any text.

The Pro version allows you to add individual settings and “Additional Button” options for products.

2. WooCommerce Checkout Add-ons

Price: $49 – $149

If you want to offer some additional products or services during the checkout process, this plugin can help you. You can also determine which additional packages are free or paid and sort your orders based on these new options.

woocommerce-checkout-plugins-checkout-addons

WooCommerce Checkout Add-ons allows you to bill for add-on services like rush fulfillment, gift wrapping, or adding stickers and insurance without inventory at checkout. Also, you can manage several fields like drop-down boxes, text fields, text boxes to enter messages, multi-check boxes or file uploads.

Give this plugin a try if you want to sell more services to your customers especially in a holiday season.

3. WooCommerce Checkout Form Progress Bar

Price: $16

This plugin adds a progress bar to the checkout page to visualize progress when customers are filling the form. This plugin is directly integrated into WooCommerce so you can freely adjust the styling and color of visual effects displayed to users in the website’s front-end.

woocommerce-checkout-plugins-progress-bar

Progress is automatically adjusted when the number of required fields changes in the form. For example, when the buyer chooses the “Ship to a different address” option, this plugin displays separate bars for the billing details and shipping fields in progress. These bars only keep track of the required fields (billing and shipping) within those areas (ship to a different address).

Use this plugin to encourage your customers to complete the checkout process.

4. Checkout Field Editor

Price: $49-$149

Need a sleek interface to edit, add or remove fields on your WooCommerce checkout page? Checkout Field Editor is one of the best choices.

You can edit 3 core sections in the checkout process includingBilling, Shipping (this field must be enabled), and Additional Fields which appears after the billing and shipping fields, next to order notes on your checkout page (remember to enable order notes as well).

woocommerce-checkout-plugins-checkout-field-editor

You can also add and edit custom fields according to your needs by simply selecting the “+Add field” button. Read more on its documentation to find out how you can benefit from this plugin.

5. WooCommerce Checkout for Digital Goods

Price: $6 Highly recommended

You’re selling downloadable goods, and your customers expect to get them as quickly as possible. Digital Goods Checkout for WooCommerce can help you close the deal faster by skipping the unrequired fields (like address information) in the default checkout process.

woocommerce-checkout-plugins-digital-goods

Moreover, if there are physical and digital goods in your shopping cart, this plugin only hides the phone number and address fields for the downloadable products. This option is automatically adjusted when you activate the plugin; no configuration is needed.

WooRockets team created a beautiful digital download demo in our package Nitro – Premium WooCommerce Theme, which works wonderfully with this plugin. Why not give both a try?

6. WooCommerce One-Page Checkout

Price: $79-$179

This plugin allows you to display both product selection and checkout forms in only one page. Customers can add/remove products to an order and complete payment without leaving the page.

woocommerce-checkout-plugins-one-page-checkout

One-Page Checkout includes 4 built-in templates for checkout including Product table, Product list, Single product and Pricing table. You can easily choose products to display on each page, create a page for several promotion products or your entire catalog. If these pre-made templates don’t fit your taste, you can easily create a custom template by yourself.

7. WooCommerce Multistep Checkout

Price: $18

Multistep Checkout plugin aims to deliver a better shopping experience by adding some beautiful jQuery effects to separate sections in the checkout process. If a long checkout form is unavoidable, encourage your customers to finish them by using this plugin.

woocommerce-checkout-plugins-multistep-checkout

With a responsive layout, multiple styles and many options, this plugin can add a professional look to your website. Apart from that, with top-notch support for plugin configuration, you won’t be disappointed buying this plugin.

8. PayPal Express Payment Gateway for WooCommerce

Price: Starts at $79 for a single site license

Online shoppers all highly appreciate the convenient and secure payment method PayPal, which allows them to shop online with their PayPal balance, bank account, or credit card. The PayPal Express Payment Gateway plugin can skip the WooCommerce Checkout and send shoppers directly to Paypal and then come back to your store’s page to finish shipping methods.

woocommerce-checkout-plugins-paypal-express

PayPal can take a really good care of your security. All payment processing is secured on PayPal servers, so your customers’ private payment information will be safe and sound.

9. PayPal for WooCommecre

Price: Free

If you are looking for a cost-saving solution for payment gateway, try PayPal for WooCommerce. This plugin comes from the hand of Ace Certified PayPal Developer – an official PayPal Partner.

This plugin allows you to add PayPal payment options to your WooCommerce website easily. PayPal for WooCommerce ensures all possible transaction data will show up in both PayPal and WooCommerce Checkout order histories. On the front-end, an intuitive interface integrated into your theme will guide your customers towards the transaction quickly.

woocommerce-checkout-plugins-paypal-for-woocommerce

On the shopping cart page, there are 3 options: Pay with credit card, Pay with PayPal or Bill me later (this one can be enabled/disabled in WooCommerce settings) for customers to choose from.

One more plus, many users have responded that the plugin configuration support is super great. You only need to pay when you want more advanced support for customization.

10. Stripe Credit Card Gateway for WooCommerce

Price: Free

Credit cards payment is one of the simplest payment methods which can save a lot of time as well as create no confusion for customers. This plugin for WooCommerce lets you accept credit card payments directly on your website via Stripe payment gateway.

woocommerce-checkout-plugins-stipe-for-woocommerce

Customers use their credit card during the checkout process, and Stripe handles the rest. This makes your users stay on your website for making payments.

Get ready to purchase WooCommerce checkout plugins yet?

As you can see on the list, there are not as many free as premium ones. However, if these plugins can help you build a flawless customer experience and earn remarkable profits, why hesitate to make a worthwhile investment?

If you are happy with our solutions for optimizing the checkout process, don’t be surprised if we also handpicked for you the best WooCommerce social pluginsandshipping plugins.

Do you have your favorite WooCommerce checkout plugins? Share them with us in the comments section below.

 

www.woorockets.com

Custom Checkout Template

Most customizations can be done using hooks and filters, but if you’d like to edit the markup on the checkout page, you can do that in a theme.

A word of warning: moving around the markup on the checkout page can cause problems with other plugins that use hooks and filters. I would not recommend removing any action hooks, or editing the markup aggressively.

According to the WooCommerce documentation, you can copy the checkout templateto your theme by in a folder structured like this: woocommerce/checkout/form-checkout.php.

Woocommerce checkout

You can then customize form-checkout.php as desired, and it will load instead of the default template.

Customizing with CSS

CSS classes may change based on your theme or plugins, but the default classes are usually available.

You can customize these classes using custom CSS in a child theme, or the customizer. Here are the main high level tags, with classes and IDs you can use.

  <body class="woocommerce-checkout">  …  <div class="woocommerce">  …  <form class="woocommerce-checkout">  <div id="customer_details" class="col2-set">  …  <div class="woocommerce-billing-fields">  …  <p class="form-row">  …  <div class="woocommerce-shipping-fields">  …  <p class="form-row">  …  <div class="woocommerce-additional-fields">  …  <div id="order_review" class="woocommerce-checkout-review-order">  <table class="woocommerce-checkout-review-order-table">  …  <div id="payment">  <ul class="wc_payment_methods payment_methods methods">  <div class="form-row place-order">  …  

Example:

  form.woocommerce-checkout input[type="text"] {    border-radius: 3px;    background-color: #ccc;    color: #444;   }  

To see all classes on the checkout page, use a browser inspector.

Checkout Action Hooks

Action hooks can be used to add or remove elements from the checkout page.

There are 9 action hooks on the checkout page:

  • 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

There are also 7 additional hooks that may be available, depending on your layout:

  • woocommerce_checkout_before_terms_and_conditions
  • woocommerce_checkout_after_terms_and_conditions
  • woocommerce_before_checkout_billing_form
  • woocommerce_before_checkout_registration_form
  • woocommerce_after_checkout_registration_form
  • woocommerce_before_checkout_shipping_form
  • woocommerce_after_checkout_shipping_form

Checkout Hooks Visualized

It helps to get a visual idea of where the hooks are located.

Here’s the standard WooCommerce checkout page, using the Storefront theme.

WooCommerce Checkout

Here are many of the various hooks you can use, visually placed on the checkout page above.

Action hooks are used to add markup to the page. For example, we can add a message to the customer about shipping details using the woocommerce_before_checkout_shipping_form hook.

  add_action( 'woocommerce_before_checkout_shipping_form', function() {  	echo '<p>Don't forget to include your unit number in the address!</p>';  });  

That looks like this:

Woocommerce checkout

You can find documentation on all of the hooks here.

Moving, Adding, or Removing Checkout Fields

The easiest way to customize checkout fields is to use the Checkout Field Editor plugin.

This plugin provides a simple UI to move, edit, add, or remove any checkout fields. You can edit anything about the fields, including type, label, position, and more.

After installing and activating this plugin, you can visit WooCommerce => Checkout Fields to begin editing.

Woocommerce checkout

To edit a field, simply change the desired value and save. To add a field, click Add Field, and to remove, check the field and click Disable/Remove.

Custom Code

Custom code is a bit trickier, but if you only want to make a small edit without purchasing a plugin, here’s how you do it.

WooCommerce has several filters available to edit checkout fields, including woocommerce_checkout_fields, woocommerce_billing_fields, and woocommerce_shipping_fields.

You can use the woocommerce_checkout_fields filter to manipulate all the checkout fields.

Remove the billing phone number field

  // Hook in  add_filter( 'woocommerce_checkout_fields' , 'my_override_checkout_fields' );    // Our hooked in function - $fields is passed via the filter!  function my_override_checkout_fields( $fields ) {   unset($fields['billing']['billing_phone']);     return $fields;  }  

Add a shipping phone number 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['shipping']['shipping_phone'] = array(   'label' => __('Phone', 'woocommerce'),   'placeholder' => _x('Phone', 'placeholder', 'woocommerce'),   'required' => false,   'class' => array('form-row-wide'),   'clear' => true   );     return $fields;  }    /**   * Display field value on the order edit page   */     add_action( 'woocommerce_admin_order_data_after_shipping_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 );    function my_custom_checkout_field_display_admin_order_meta($order){   echo '<p><strong>'.__('Phone From Checkout Form').':</strong> ' . get_post_meta( $order->get_id(), '_shipping_phone', true ) . '</p>';  }  

To edit a field, you can access the field attributes. For example, let’s change the placeholder for Zip to Postal Code.

Change Field Placeholder

  // Hook in  add_filter( 'woocommerce_checkout_fields' , 'my_override_checkout_fields' );    // Our hooked in function - $fields is passed via the filter!  function my_override_checkout_fields( $fields ) {   $fields['billing']['billing_postcode']['placeholder'] = 'Postal Code';   return $fields;  }  

For more examples, view the WooCommerce documentation here.

WooCommerce Checkout Extensions

There are a variety of extensions available to customize the checkout page, here are just a few.

One Page Checkout

This extension allows you to put a checkout form on the same page as your product, making it a one-step payment process.

The normal WooCommerce flow is: go to the single product, click add to cart, go to the cart page, then go to checkout. One page checkout allows you to change that to: go to the product page => checkout.

Checkout Add-Ons

This extension allows you to add paid services or products at checkout. Examples would be, gift wrapping, priority boarding, setup services, and more.

Social Login

This extension allows customers to use their social accounts to login at checkout, so they don’t have to create a new account manually.

It integrates with most major social networks, such as Facebook, Twitter, Google, and more.

FOMO Popups

WordPress FOMO popup

This is not specific to checkout, but it can help purchase conversions. Show sale notification popups on your WooCommerce site with the Holler Box FOMO plugin.

Conclusion

Editing the WooCommerce checkout page is something you should do with care.

Sometimes your reason is a mandatory client request, other times you may have your own intuition as to what will work better. If you are making changes that aren’t critical to your business, just make sure to keep an eye on your conversions using a Google Analytics conversion funnel, or an A/B testing tool.

The last thing you want to do is make a change that will hurt your conversions instead of help them.

hollerwp.com

You May Also Like

About the Author: admind

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте как обрабатываются ваши данные комментариев.