Skip to content
Fluid Checkout
  • Features
  • Demo
  • Pricing PRO
  • Docs
  • Support
  • My account
0,00 € 0 items
Home / Docs / Change fields copied from shipping address to billing address

How can we help?

Getting started

  • Do I need to uninstall the free version, or is Fluid Checkout Lite required?
  • How to translate Fluid Checkout plugins into your language

Account & Purchases

  • Can I get a refund for my purchase?
  • Finding my invoice, adding billing details and VAT number

Customizations

  • Move first and last name fields to the contact step
  • Customize colors of elements on Fluid Checkout
  • Change fields copied from shipping address to billing address
  • Customize checkout steps
  • Customize button colors and other button styles
  • Configure cart quantity fields for decimal quantities
  • Move the “Phone” field to the contact step
  • Change the icon or icon color for the cart button on mobile
  • Customize checkout fields and adding custom checkout fields
  • Customize template files for WooCommerce and Fluid Checkout
  • Add custom house number field and make it required
  • Safely add code snippets to your WooCommerce website

Licenses

  • New versions updates are not appearing on my website

Compatibility

  • Compatibility with theme OceanWP
  • Compatibility with plugin Digits
  • Compatibility with plugin Storefront Powerpack
  • Troubleshooting: jQuery events or vanilla JavaScript events not working
  • Compatibility with theme ZK Nito
  • Compatibility with theme Woodmart
  • Compatibility with the plugin “Plugin Organizer”

Features

  • Account matching / user matching — associate purchases with and existing customer account without logging in
  • Local Pickup — Hide shipping address when local pickup is selected
  • Trust symbols — add security badges, trust seals and other trust symbols to strategic places on the checkout, cart and order received pages
  • International phone numbers — formatting and validation for phone numbers based on country rules
  • Edit cart items at checkout — change quantity or remove items from the cart directly at the checkout page
  • Express checkout — quick payment buttons for Google Pay, Apple Pay and other payment methods

Development

  • Troubleshooting: jQuery events or vanilla JavaScript events not working
  • Changelog format and semantic version numbers
  • Changelog – Fluid Checkout PRO & Lite

Troubleshooting

  • Troubleshooting: jQuery events or vanilla JavaScript events not working
  • Troubleshooting – Local pickup prevents customer from proving a shipping address, blocking other shipping methods
  • Troubleshooting – Trust symbols widgets randomly moving to other areas when switching themes

Change fields copied from shipping address to billing address

By default, Fluid Checkout will copy all fields in the shipping address section to the billing address section with a matching field key (ie. billing_address_1 -> shipping_address_1) when the checkbox “[Billing address] same as shipping address” is checked.

In some cases, you might need to allow copying only the shipping address fields, excluding other fields fields such as the First and Last name fields.

You can use the code snippet below to change the list of fields that will be copied from the shipping address to the billing address:

/**
 * Change list of billing address fields for copying values from shipping address.
 */
function fluidcheckout_change_billing_same_as_shipping_field_keys( $field_keys ) {
	$field_keys = array_diff( $field_keys, array( 'billing_first_name', 'billing_last_name' ) );
	return $field_keys;
}
add_filter( 'fc_billing_same_as_shipping_field_keys', 'fluidcheckout_change_billing_same_as_shipping_field_keys', 10 );
add_filter( 'fc_substep_text_billing_address_field_keys_skip_list', 'fluidcheckout_change_billing_same_as_shipping_field_keys', 10 );

If you are unsure about how to add code snippet to your website, check our article:
How to safely add code snippets to your WooCommerce website

Fields that are removed from the copied fields from the shipping address section to billing will appear below the checkbox “[Billing address] same as shipping address” without any value, and the customer will be requested to enter a value for required fields as usual.

What are your Feelings
Still stuck? How can we help?

How can we help?

Updated on August 9, 2023
Customize colors of elements on Fluid CheckoutCustomize checkout steps
Fluid Checkout

Frictionless Multi-step Checkout for WooCommerce

© 2021-2023 Fluidweb OÜ

Terms | Refunds | Privacy Policy | Cookies

Products
  • All products
  • Fluid Checkout PRO
  • Fluid Checkout Lite
  • Google Address Autocomplete add-on
  • Address Book add-on
Company
  • Support
  • My account
  • About
  • Affiliates program
  • Homepage
  • Homepage
  • Features
  • Pricing PRO
  • Demo
  • Docs
  • Support
  • My account