Skip to content
Advertisement

Tag: hook-woocommerce

Display a custom notice before all default notices in Woocommerce checkout page

I use the following below code for show custom message to un-logged woocommerce users (visitors) in checkout page top code recive this forum, from mr @loictheaztec my before question link below: Display a custom message for guest users in Woocommerce checkout page I would like to change woocommerce_before_checkout_form in code for move my message to top (first) in checkout page.

Sorting priority for specific Woocommerce checkout fields depending on country

In Woocommerce, I need to set the default ordering priority (sorting) of three fields on the checkout page: The first change depends on the choice of the ‘IT’ country code: postcode – ‘priority’ => 91, The other two are free of conditions, I just need to set the default priority: billing_email – ‘priority’ => 30, billing_phone – ‘priority’ => 40,

Saving the value of a custom field phone number in WooCommerce My account > Account details

Trying to add a field for Woocommerce billing_phone to the my-account/edit-account/. It is present within the update address pages but when adding to the form-edit-account.php it does not update. Currently adding by following the same code as the other fields, such as first_name: Image of form with billing_phone being shown as a value: But upon updating with new number it

Advertisement