Luiggi Bellincanta
Forum Replies Created
-
Hi Sandor,
The following code snippet changes the order of the names:
/** * Swap the position of the billing first and last names to display the last name field first. */ function fluidcheckout_billing_last_name_first( $checkout_fields ) { // Remove field size and position classes if ( false !== ( $key = array_search( 'form-row-first', $checkout_fields['billing']['billing_first_name']['class'] ) ) ) { unset( $checkout_fields['billing']['billing_first_name']['class'][ $key ] ); } if ( false !== ( $key = array_search( 'form-row-last', $checkout_fields['billing']['billing_last_name']['class'] ) ) ) { unset( $checkout_fields['billing']['billing_last_name']['class'][ $key ] ); } // Change priority and add new appropriate size and position classes $checkout_fields['billing']['billing_first_name']['priority'] = 20; $checkout_fields['billing']['billing_first_name']['class'] = array_merge( $checkout_fields['billing']['billing_first_name']['class'], array( 'form-row-last' ) ); $checkout_fields['billing']['billing_last_name']['priority'] = 10; $checkout_fields['billing']['billing_last_name']['class'] = array_merge( $checkout_fields['billing']['billing_last_name']['class'], array( 'form-row-first' ) ); return $checkout_fields; } add_filter( 'woocommerce_checkout_fields', 'fluidcheckout_billing_last_name_first', 200 ); /** * Swap the position of the shipping first and last names to display the last name field first. */ function fluidcheckout_shipping_last_name_first( $checkout_fields ) { // Remove field size and position classes if ( false !== ( $key = array_search( 'form-row-first', $checkout_fields['shipping']['shipping_first_name']['class'] ) ) ) { unset( $checkout_fields['shipping']['shipping_first_name']['class'][ $key ] ); } if ( false !== ( $key = array_search( 'form-row-last', $checkout_fields['shipping']['shipping_last_name']['class'] ) ) ) { unset( $checkout_fields['shipping']['shipping_last_name']['class'][ $key ] ); } // Change priority and add new appropriate size and position classes $checkout_fields['shipping']['shipping_first_name']['priority'] = 20; $checkout_fields['shipping']['shipping_first_name']['class'] = array_merge( $checkout_fields['shipping']['shipping_first_name']['class'], array( 'form-row-last' ) ); $checkout_fields['shipping']['shipping_last_name']['priority'] = 10; $checkout_fields['shipping']['shipping_last_name']['class'] = array_merge( $checkout_fields['shipping']['shipping_last_name']['class'], array( 'form-row-first' ) ); return $checkout_fields; } add_filter( 'woocommerce_checkout_fields', 'fluidcheckout_shipping_last_name_first', 200 );
We recommend using the plugin Code Snippets to add the filter, that way it wont be lost if you update your theme.
Let me know if that solution worked.
Best,
LuiggiHi Sandor,
We will review this, maybe an hook or using the same mentioned plugin, we will reply to you as soon as the status changes.
Best,
LuiggiHello Maartenbcn,
Thanks for the feedback! Marked as solved.
Best,
LuiggiHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
Best,
LuiggiHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
Best,
Luiggi- This reply was modified 2 years, 11 months ago by Luiggi Bellincanta.
Hi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
https://fluidcheckout.com/Best,
LuiggiForum: Plugins
In reply to: [Fluid Checkout for WooCommerce - Lite] [Moved] Implement account matchingHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
https://fluidcheckout.com/Best,
LuiggiForum: Plugins
In reply to: [Fluid Checkout for WooCommerce - Lite] [Moved] Add more gift option fieldsHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
https://fluidcheckout.com/Best,
LuiggiHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
https://fluidcheckout.com/Best,
LuiggiHi there,
Will be eventually implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
https://fluidcheckout.com/Best,
LuiggiHi there,
Will be implemented in the PRO version, visit the website and sign up for the PRO version newsletter:
Best,
LuiggiHi there,
Closed due to inactivity, feel free to open another ticket if the problem persists or if you need any other help!
Best,
Fluid checkout TeamHello Maartenbcn,
We’ll need more information to proceed, could you send us the following information?
– Theme and plugins being used.
– Any other information that could help us replicate this issue such as the step-by-step flow or the plugin settings being used, such as Woocomerce configuration used in payment method.Best,
LuiggiForum: Plugins
In reply to: [Fluid Checkout for WooCommerce - Lite] payment method box squashedHello Vsonacci,
Sure, that could work, please reach us at support [at] fluidcheckout.com so we can discuss this further.
We will create a different ticket for that there so I will be closing this one.
Best,
Luiggi- This reply was modified 2 years, 12 months ago by Luiggi Bellincanta.
Forum: Plugins
In reply to: [Fluid Checkout for WooCommerce - Lite] Incompatible PluginsHello Intermaillog,
Here is the beta 1.4.1-beta-11 with the fix for Pix por Piggly:
https://t2449427.p.clickup-attachments.com/t2449427/077cfa0d-a433-461f-a093-ff9eb58a12a9/fluid-checkout-1.4.1-beta-11.zipAs soon as that is in production we will let you now ??
Best,
Luiggi