Admin order edit billing/shipping field layout
-
After the massive WP, Woo, and dozen of plugin updates over the last 2-3 days, the display of billing and shipping fields while editing is now “broken”.
I’ve tried various plugin disables (most especially Flexible Checkout Fields, which would be the most likely suspect) and all the other standard stuff, but suspect the issue is actually inside of Woo itself.
The editable fields now seem to have form-left and form-right styles added to them, and I do not think that was true before, and whatever is doing it seems to just be toggling left/right and is “out of sync” – not to mention hurting some fields that should be full width.
I have tried to figure out where the bad CSS references are coming from, but not having any luck. I hooked ‘woocommerce_admin_billing_fields’ to get a dump of the field definitions, and there’s no values in there that are doing this.
I am happy to throw in any action/filter calls on my test system to try to narow down the issues – it only takes a minute – but I’m not finding anything relevant other than the one mentioned above.
Looking for “did anybody change the behavior” and/or “how can I gather more info.
The page I need help with: [log in to see the link]
-
Hi there,
Can you share a screenshot or direct URL of what those fields look like? It sounds like these are coming from custom/conflicting CSS although we can’t say for sure just yet.
Also, can you share a copy of your status report as found under **WooCommerce > Status**?
Just the first of a couple of incoming replies for ya. π
### WordPress Environment ### WordPress address (URL): https://[redacted].com Site address (URL): https://[redacted].com WC Version: 4.8.0 REST API Version: β 4.8.0 WC Blocks Version: β 3.8.1 Action Scheduler Version: β 3.1.6 WC Admin Version: β Inactive 1.7.3 Log Directory Writable: β WP Version: 5.6 WP Multisite: β WP Memory Limit: 256 MB WP Debug Mode: β WP Cron: β Language: en External object cache: β ### Server Environment ### Server Info: Apache PHP Version: 7.4.11 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: β MySQL Version: 5.6.49-cll-lve Max Upload Size: 32 MB Default Timezone is UTC: β fsockopen/cURL: β SoapClient: β DOMDocument: β GZip: β Multibyte String: β Remote Post: β Remote Get: β ### Database ### WC Database Version: 4.8.0 WC Database Prefix: wp_ Total Database Size: 5.98MB Database Data Size: 4.72MB Database Index Size: 1.26MB wp_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_aws_cache: Data: 0.48MB + Index: 0.00MB + Engine MyISAM wp_aws_index: Data: 0.33MB + Index: 0.22MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_field_meta: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_object_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nf3_upgrades: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 0.85MB + Index: 0.11MB + Engine MyISAM wp_postmeta: Data: 0.71MB + Index: 0.42MB + Engine MyISAM wp_posts: Data: 0.77MB + Index: 0.11MB + Engine MyISAM wp_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.04MB + Index: 0.08MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 0.13MB + Index: 0.09MB + Engine MyISAM wp_users: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdp_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdp_order_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wdp_rules: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wfpklist_template_data: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_woo_shippment_provider: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpml_mails: Data: 1.04MB + Index: 0.00MB + Engine MyISAM wp_wpmm_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### acf-field: 1 acf-field-group: 1 attachment: 41 custom_order_status: 2 customize_changeset: 1 nav_menu_item: 26 nf_sub: 1 page: 22 post: 1 product: 462 revision: 237 shop_coupon: 3 shop_order: 13 wc_conditional_fee: 1 wc_order_email: 1 wc_order_status: 13 ### Security ### Secure connection (HTTPS): β Hide errors from visitors: β ### Active Plugins (35) ### WooCommerce Extra Fees Plugin: by theDotstore β 3.6 Advanced Custom Fields: by Elliot Condon β 5.9.3 Advanced Dynamic Pricing for WooCommerce: by AlgolPlus β 3.1.0 Advanced Woo Search: by ILLID β 2.16 Payment Gateway Based Fees and Discounts for WooCommerce: by Tyche Softwares β 2.6.2 Contact Widgets: by GoDaddy β 1.7.0 Content Control: by Code Atlantic β 1.1.4 Custom Shipping Methods for WooCommerce: by Tyche Softwares β 1.6.3 Disable WooCommerce Bloat: by ospiotr β 2.4 Flexible Checkout Fields: by WP Desk β 2.8.0 Folders: by Premio β 2.6.2 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded β 2.17.3 Login as User: by Web357 β 1.2.2 Media Sync: by Erol Ε½ivina β 1.2.5 Ninja Forms: by Saturday Drive β 3.4.33 Remove Woocommerce Product Content: by Geek Web Solution β 1.1 SSS TBD Payment Gateway: by Simple Simon's Solutions β 1.0.1 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. β 1.8.24 User Menus: by Code Atlantic β 1.2.4 User Role Editor: by Vladimir Garagulya β 4.57.1 WooCommerce Invoice Gateway: by Stuart Duff β 1.0.6 WC Multiple Email Recipients: by Con Schneider β 1.3.1 β Installed version not tested with active version of WooCommerce 4.0 Woocommerce Partial Shipment: by Vikram S β 2.3 WooCommerce Address Book: by Hall Internet Marketing β 1.7.5 Advanced Shipment Tracking for WooCommerce: by zorem β 3.1.8 Shop Manager Admin for WooCommerce: by zorem β 3.2.0 Stripe For WooCommerce: by Payment Plugins support@paymentplugins.com β 3.2.9 WooCommerce Order Status Manager: by SkyVerge β 1.12.2 WooCommerce: by Automattic β 4.8.0 WordPress Importer: by wordpressdotorg β 0.7 WP Mail Logging: by MailPoet β 1.9.7 WP Mail SMTP: by WPForms β 2.5.1 WP Maintenance Mode: by Designmodo β 2.3.0 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft β 3.1.4 WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels (Pro): by WebToffee β 4.1.3 ### Inactive Plugins (7) ### Akismet Anti-Spam: by Automattic β 4.1.7 Custom Order Status for WooCommerce: by Tyche Softwares β 2.0.1 Google Ads & Marketing by Kliken: by Kliken β 1.0.6 Mailchimp for WooCommerce: by Mailchimp β 2.5.0 WC Catalog Enquiry: by WC Marketplace β 4.0.2 WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee β 2.7.2 WP Crontrol: by John Blackbourn & crontributors β 1.8.5 ### Must Use Plugins (1) ### installatron_hide_status_test.php: by β ### Settings ### API Enabled: β Force SSL: β Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: β ### WC Pages ### Shop base: #9 - / Cart: #10 - /cart/ Checkout: #11 - /checkout/ My account: #12 - /my-account/ Terms and conditions: #605 - /about/terms-and-conditions/ ### Theme ### Name: Storefront Child RWM Version: 1.0.0 Author URL: http://example.com Child Theme: β Parent Theme Name: Storefront Parent Theme Version: 2.9.0 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: β ### Templates ### Overrides: storefront-child-RWM/woocommerce/cart/cart-totals.php storefront-child-RWM/woocommerce/checkout/form-login.php ### Action Scheduler ### Complete: 36 Oldest: 2020-11-30 19:50:44 -0600 Newest: 2020-12-11 15:15:03 -0600 Pending: 1 Oldest: 2020-12-12 15:15:03 -0600 Newest: 2020-12-12 15:15:03 -0600Three images. Live customer data is obsfuscated out.
3. Edit mode again – with Stripe deactivated, and the problem remains.
Please note my OP talking about form-right and form-left CSS style references.
I’m going to try to get more details about the stylesheets in use.-
This reply was modified 5 years, 8 months ago by
Simon Kane.
I’ve grabbed a pile of stylesheet references – not listed ’cause you know how many there are, but I’ve got it for a deeper dig.
Here’s some familiar HTML:
<p class=”form-field _billing_first_name_field form-left”>
<p class=”form-field _billing_last_name_field form-right”>
<p class=”form-field _billing_company_field form-left”>
<p class=”form-field _billing_address_1_field form-right”>
<p class=”form-field _billing_address_2_field form-left”>
— and so forth —BUT — I’m pretty sure the class references were different before the updates.
I’ve done browser console removes of the “form-left” and “form-right” and it’s improved things – but still don’t have the wide fields (eg. street address) I should see.FOUND IT (kind of). Deactivated “Flexible Checkout Fields” from WP Desk and the offending form-left and form-right class references disappeared.
Therefore, I’ve opened a topic with them – and to avoid duplicating my work here, I’ll refer them to it. Same topic – over in the FCF support forumBut any further info you can provide (such as “Did form-left or form-right get changed recently?”) would be helpful.
-
This reply was modified 5 years, 8 months ago by
The topic ‘Admin order edit billing/shipping field layout’ is closed to new replies.