Find Answers and Get Support › Forums › Mandha – Multipurpose WooCommerce Theme › Website Setup › Forms › How to customize checkout fields?
- This topic has 4 replies, 2 voices, and was last updated 1 year, 2 months ago by
Manathan.
-
AuthorPosts
-
sharkParticipant@sharkl
- 2 Topics
- 5 Posts
Hi
I want to leave only email field in the checkout page.
I have tried few plugins (checkout field editors) but with no results.
code snippet also didnt worked
// Disable shipping and billing fields
function disable_shipping_and_billing_fields($fields) {
$fields[‘billing’][‘billing_first_name’][‘required’] = false;
$fields[‘billing’][‘billing_last_name’][‘required’] = false;
$fields[‘billing’][‘billing_company’][‘required’] = false;
$fields[‘billing’][‘billing_address_1’][‘required’] = false;
$fields[‘billing’][‘billing_address_2’][‘required’] = false;
$fields[‘billing’][‘billing_city’][‘required’] = false;
$fields[‘billing’][‘billing_postcode’][‘required’] = false;
$fields[‘billing’][‘billing_state’][‘required’] = false;
$fields[‘billing’][‘billing_country’][‘required’] = false;$fields[‘shipping’] = array(); // Disable shipping fields
return $fields;
}
add_filter(‘woocommerce_checkout_fields’, ‘disable_shipping_and_billing_fields’);how to do it?
January 23, 2024 at 20:55 #46829@themodactyl- 0 Topics
- 6738 Posts
Hi Shark,
Thank you for buying our theme. We hope it will meet all your expectations! 🙂
Please note that the checkout is managed by Woocomerce plugin. We remind you that a theme affects the presentation and visual style of your site, while plugins add all kinds of features and functionalities. We think that this feature requires custom development work.
I suggest you to reach a Woo Expert to help you customize the checkout page: https://woo.com/fr-fr/customizations/
Don’t hesitate to share the solution with us. I’m sure it will help other users facing the same issue. By doing this, you’ll make a great contribution to this forum, and we thank you very much for that! #SharingIsCaring 💪🏻
If you have further questions or requests related to the theme, feel free to create other forum topics.
Best,
January 24, 2024 at 14:46 #46834sharkParticipant@sharkl- 2 Topics
- 5 Posts
yes sharing is caring, i shared perfect review on themestore.
Also, email notification is not working when you send a reply via this forum.
Also, iv’e been asked to put a license key , even i already put my license key in my profile.
Im very sad that I bought this item on blind trust and without looking into the details.
January 25, 2024 at 13:10 #46845@themodactyl- 0 Topics
- 6738 Posts
Hi Shark,
We appreciate your feedback and understand your frustration. I’d like to clarify that the ability to edit the checkout fields is primarily managed by WooCommerce, the e-commerce plugin integrated with our theme. As a theme developer, we focus on the presentation and visual aspects, while plugins handle specific functionalities.
To achieve the specific checkout field customization you desire—leaving only the email field active—I recommend using the Remove Default Checkout Fields for WooCommerce plugin. This plugin should assist you in streamlining the checkout process according to your preferences.
Customizing checkout fields often requires additional development or the use of specific plugins. We recommended reaching out to a WooCommerce expert for further assistance. WooCommerce has a dedicated customizations service here: https://woocommerce.com/customizations/
We’re sorry to hear about the email notification issue. Be sure our team is looking into it to solve this as soon as possible. Regarding the license key, I don’t understand why as your license is still working. Did you receive this message on our support ? 🤔
If you have any further questions or concerns, feel free to reach out.
Best regards,
January 26, 2024 at 16:42 #46860 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘How to customize checkout fields?’ is closed to new replies.