As far as I remember you need to manually save your custom fields values via woocommerce_checkout_update_order_meta
hook. Try
add_action( 'woocommerce_checkout_update_order_meta', 'custom_checkout_fields_update_order_meta' );
function custom_checkout_fields_update_order_meta( $order_id ) {
update_post_meta( $order_id, 'billing_colonia', sanitize_text_field( $_POST['billing_colonia'] ) );
update_post_meta( $order_id, 'shipping_colonia', sanitize_text_field( $_POST['shipping_colonia'] ) );
}
Related Posts:
- How to add a user custom field into Woocommerce emails?
- Woocommerce custom meta fields, sort by date
- How to update custom field in WooCommerce
- Is it possible to update the total price on the checkout page in woocommerce from a custom field
- Adding Product Name on Admin Panel Order list and User’s My-Account Order List
- Adding a custom Shipping methods field to an order
- Conditionally run function based on custom meta value?
- WooCommerce Meta
- How to add custom checkboxes from loop to WooCommerce product variation options?
- data-value for custom woocommerce field showing in code but not visable on page load
- Access custom meta_data in processing order email
- Add custom field address_3 before city in user profile
- Using built-in validation pop-up for custom fields
- Insert a custom field as a second email address to a completed order in WooCommerce
- acf_form() – “On Update” action [closed]
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- How to remove an action within a class with extends
- How to disable Woocommerce password recovery and use the default WordPress password reset page?
- Adding existing user custom field value to a woocommerce product [closed]
- Display WooCommerce size product attribute on shop page
- Declaring custom woocommerce product type as virtual / downloadable only [closed]
- How to remove_action inside class [duplicate]
- Redirect if current user is logged out and current page is /my-account
- woocommerce_before_calculate_totals in woocommerce 3.0
- Display a list subcategories under the main product category thumbnails?
- Unable to programmatically remove product from WooCommerce cart
- creating product with variations using woocommerce REST API
- Rewriting Woocommerce Product Filters To URL Segments
- How to Change WooCommerce Variable product pricing by SKU or visible children id
- Is it possible to cache ?wc-ajax=get_variation
- Adding extra one email address who receives email as admin – woocommerce
- echo product id and product_item_key in cart [closed]
- Redirect the single product page link to the shop page
- Is WooCommerce updates for WordPress necessary? [closed]
- How can I display *only* the child category of a product?
- Display list of categories that contain products with a specific tag
- How to display empty stars on products with woocommerce?
- Product admin page breaking with too many product variations [closed]
- Skip WooCommerce 4.5.x onboarding with WP-CLI [closed]
- How to add a slide toggle to the Woocommerce-Layout__Activity-Panel area in the orders admin page
- Automatically making a newly saved payment method default in WooCommerce
- WooCommerce update_shipping_method ajax call wipes shipping method set on non-checkout page [closed]
- Product options/variations notice displays as an Alert [closed]
- Expired session error (admin) when I try to make a call to WooCommerce api [closed]
- Product variation attributes does not appear as it should in the cart – woocommerce [closed]
- Hide decimal on hompage, category and product page
- Get order_id from the product_id in woocommece [closed]
- Shipping methods in dropdown instead of radio buttons [closed]
- 600k of option_name “c_facebook_background_product_sync_job”
- How to change woocommerce checkout privacy policy, terms and condition text [closed]
- Woocommerce Email show HTML source code [closed]
- Add SKU in Product Title
- add to cart button not adding products in cart only in safari and edge browser [closed]
- WC Lightbox, Zoom and Slider not loading [closed]
- Woocomerce pulling wrong time from server -5 hrs difference
- I want hide view more button if price is blank
- What happens in the database when you link variations in woocommerce? [closed]
- Display custom product option in admin order details
- Archive product loop does not work with product filters
- remove sale price after finished countdown in woocommerce
- Woocommerce. How can I charge a fee from seller
- How to use decimal in quantity fields in WooCommerce for certain categories?
- Getting WordPress fatal error when hitting WooCommerce API
- Adding Tracking Details for Advanced Shipment Tracking Plugin From Order Notes
- check shipping amount in woocommerce_after_checkout_validation?
- How to display woocommerce product details on wp page
- Is it ok to 301 redirect product-category pages to custom pages?
- how i can limit woo Category number like as ‘posts_per_page’ => -1, but it cannot work please help me
- Update a list of product to featured if product have meta value (Mysql not wpquery)
- WooCommerce related product – only show from primary category
- Woocommerce: Variable Product – get variation name
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- Html code is not showing in woocommerce shop page on adding in header.php?
- Is this code collecting user password?
- WordPress Migration
- Importing Attributes in to Woocommerce
- woocomerce products and categories don’t display fixed
- Update Custom Post Meta Even if Draft
- Woocommerce Shipping based on condition and cart value
- Clone and modify Woocommerce Products catalog
- Update order status based on condition
- How to bypass Woocommerce checkout validation from the plugin? [closed]
- Category with description and thumbnail
- Woocommerce – Remove ‘Buy Product’ Button + Make Product Thumbnails Clickable
- Issue with Woocommerce and extra field in orders data
- Give auto discount to upsells products
- WooCommerce Table Rates not splitting up
- How can I let the user choose size of a shoe in the store? [closed]
- Hide/show specific products for backend users in woocommerce
- I’d like to add a button under the “Add to Cart” button which says “Buy on Amazon” and links to my Amazon product page [closed]
- If YITH Wishlist page is set to the WooCommerce my-account endpoint, the endpoints stop working all together. Any solution?
- WooCommerce pay per photo upload [closed]
- Override woocommerce template from parent theme
- Woocommerce checkout column total too small can not get it wider [closed]
- Save And Display Mp3 Audio files on WooCommerce product page with Dokan
- Woocommerce -> gallery images per variation without a plugin? [closed]
- Why is my WordPress admin not working
- Create bookings after subscription renewal
- Change variants URL
- Use a woocommerce hook to create a table and populate it with a query