{"id":299030,"date":"2026-04-21T08:16:53","date_gmt":"2026-04-21T08:16:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sdp-custom-registration-fields-for-woocommerce\/"},"modified":"2026-05-30T08:56:43","modified_gmt":"2026-05-30T08:56:43","slug":"sdp-registration-fields-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/si.wordpress.org\/plugins\/sdp-registration-fields-for-woocommerce\/","author":23401577,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.4","stable_tag":"2.0.4","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"SDP Registration Fields for WooCommerce","header_author":"Simple Direct Plugins","header_description":"Add custom fields to the WooCommerce registration form and collect the information you need from your customers","assets_banners_color":"f8f7fd","last_updated":"2026-05-30 08:56:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/simpledirectplugins.com\/sdp-registration-fields-pro\/","header_author_uri":"https:\/\/simpledirectplugins.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":425,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"simpledirectplugins","date":"2026-04-21 08:14:59"},"1.0.1":{"tag":"1.0.1","author":"simpledirectplugins","date":"2026-04-24 18:05:38"},"1.1.0":{"tag":"1.1.0","author":"simpledirectplugins","date":"2026-04-25 18:17:25"},"1.2.0":{"tag":"1.2.0","author":"simpledirectplugins","date":"2026-04-26 10:14:40"},"1.3.0":{"tag":"1.3.0","author":"simpledirectplugins","date":"2026-04-26 11:47:31"},"2.0.0":{"tag":"2.0.0","author":"simpledirectplugins","date":"2026-04-26 19:42:31"},"2.0.1":{"tag":"2.0.1","author":"simpledirectplugins","date":"2026-04-27 09:38:44"},"2.0.2":{"tag":"2.0.2","author":"simpledirectplugins","date":"2026-05-03 08:53:33"},"2.0.3":{"tag":"2.0.3","author":"simpledirectplugins","date":"2026-05-28 12:35:29"},"2.0.4":{"tag":"2.0.4","author":"simpledirectplugins","date":"2026-05-30 08:56:43"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3533578,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3533578,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3518167,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3518167,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3554551,"resolution":false,"location":"assets","locale":"","contents":"{\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"features\":{\"networking\":true},\"landingPage\":\"\\\/my-account\\\/\",\"steps\":[{\"step\":\"installTheme\",\"themeData\":{\"resource\":\"wordpress.org\\\/themes\",\"slug\":\"storefront\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"woocommerce\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"sdp-registration-fields-for-woocommerce\"},\"options\":{\"activate\":true}},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; update_option('woocommerce_store_address', 'Demo Street 123'); update_option('woocommerce_store_city', 'Murcia'); update_option('woocommerce_default_country', 'ES:MU'); update_option('woocommerce_currency', 'EUR'); update_option('woocommerce_allow_tracking', 'no'); update_option('woocommerce_onboarding_profile', array('skipped' => true)); update_option('woocommerce_task_list_hidden_lists', array('setup','extended')); update_option('woocommerce_enable_myaccount_registration', 'yes'); update_option('woocommerce_registration_generate_password', 'yes'); delete_transient('woocommerce_admin_installing'); delete_transient('scrf-activado'); if (class_exists('WC_Install')) { WC_Install::create_pages(); } ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; update_option('scrf_recaptcha_site_key', '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI'); update_option('scrf_recaptcha_secret_key', '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe'); update_option('scrf_recaptcha_enable', 'yes'); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; if (!is_dir(WPMU_PLUGIN_DIR)) { mkdir(WPMU_PLUGIN_DIR, 0777, true); } $plugin = <<<'PHP'\\n<?php\\nadd_action('template_redirect', function() {\\n    if (!function_exists('is_account_page') || !is_account_page()) {\\n        return;\\n    }\\n\\n    if (is_user_logged_in() && current_user_can('manage_options')) {\\n        wp_logout();\\n        wp_safe_redirect(wc_get_page_permalink('myaccount'));\\n        exit;\\n    }\\n}, 1);\\n\\nadd_action('woocommerce_before_customer_login_form', function() {\\n    echo '<div class=\\\"woocommerce-info\\\" style=\\\"margin-bottom:24px;\\\"><strong>Demo tip:<\\\/strong> Explore the custom WooCommerce registration fields, layout options, and reCAPTCHA integration. Enjoy \\ud83d\\ude0a<\\\/div>';\\n});\\nPHP; file_put_contents(WPMU_PLUGIN_DIR . '\\\/scrf-playground-demo.php', $plugin); ?>\"},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; $cpt = class_exists('SCRF_CPT') ? SCRF_CPT::CPT : 'scrf_fields'; $fields = array(array('title' => 'First Name','slug' => 'first-name','type' => array('value' => 'text', 'label' => 'Text'),'label' => 'First Name','placeholder' => 'John','position' => 'before','width' => 'half','required' => 1,'order' => 10), array('title' => 'Last Name','slug' => 'last-name','type' => array('value' => 'text', 'label' => 'Text'),'label' => 'Last Name','placeholder' => 'Doe','position' => 'before','width' => 'half','required' => 1,'order' => 20), array('title' => 'VAT Number','slug' => 'vat-number','type' => array('value' => 'text', 'label' => 'Text'),'label' => 'VAT Number','placeholder' => 'ES12345678','position' => 'before','width' => 'full','required' => 0,'order' => 30,'help' => 'Optional for private customers.'), array('title' => 'Business Type','slug' => 'business-type','type' => array('value' => 'select', 'label' => 'Select'),'label' => 'Business Type','position' => 'before','width' => 'full','required' => 1,'order' => 40,'choices' => \\\"retail : Retail\\\\ndigital-products : Digital Products\\\\nservices : Services\\\\nwholesale : Wholesale\\\"), array('title' => 'Preferred Contact Method','slug' => 'preferred-contact-method','type' => array('value' => 'radio', 'label' => 'Radio'),'label' => 'Preferred Contact Method','position' => 'after','width' => 'full','required' => 1,'order' => 50,'choices' => \\\"email : Email\\\\nphone : Phone\\\"), array('title' => 'About Your Store','slug' => 'about-your-store','type' => array('value' => 'textarea', 'label' => 'Textarea'),'label' => 'Tell us more about your store','placeholder' => 'Tell us a little about your business or the products you sell...','position' => 'after','width' => 'full','required' => 0,'order' => 60), array('title' => 'Protected Message','slug' => 'protected-message','type' => array('value' => 'content', 'label' => 'Content'),'label' => 'Protected with Google reCAPTCHA','position' => 'after','width' => 'full','required' => 0,'order' => 70)); foreach ($fields as $field) { $field_id = wp_insert_post(array('post_type' => $cpt,'post_status' => 'publish','post_title' => $field['title'],'post_name' => $field['slug'],'menu_order' => $field['order'])); if ($field_id && !is_wp_error($field_id)) { update_post_meta($field_id, 'scrf_active', 1); update_post_meta($field_id, 'scrf_field_type', $field['type']); update_post_meta($field_id, 'scrf_field_label', $field['label']); update_post_meta($field_id, 'scrf_placeholder', $field['placeholder'] ?? ''); update_post_meta($field_id, 'scrf_help_text', $field['help'] ?? ''); update_post_meta($field_id, 'scrf_field_position', $field['position']); update_post_meta($field_id, 'scrf_field_width', $field['width']); update_post_meta($field_id, 'scrf_required', $field['required']); if (!empty($field['choices'])) { update_post_meta($field_id, 'scrf_choices', $field['choices']); } } } ?>\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3511514,"resolution":"1","location":"assets","locale":"","width":1686,"height":767},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3554538,"resolution":"2","location":"assets","locale":"","width":1417,"height":1085},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3554538,"resolution":"3","location":"assets","locale":"","width":368,"height":236}},"screenshots":{"1":"Create and manage custom registration fields.","2":"Fields displayed on the WooCommerce registration form.","3":"Google reCAPTCHA integration."}},"plugin_section":[],"plugin_tags":[22071,197519,30387,30372,30373],"plugin_category":[45],"plugin_contributors":[250806],"plugin_business_model":[],"class_list":["post-299030","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-registration-fields","plugin_tags-registration-fields","plugin_tags-woocommerce-custom-fields","plugin_tags-woocommerce-register","plugin_tags-woocommerce-registration","plugin_category-ecommerce","plugin_contributors-simpledirectplugins","plugin_committers-enriquejros","plugin_committers-simpledirectplugins","plugin_support_reps-enriquejros"],"banners":{"banner":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/banner-772x250.png?rev=3518167","banner_2x":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/banner-1544x500.png?rev=3518167","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/icon-128x128.png?rev=3533578","icon_2x":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/icon-256x256.png?rev=3533578","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/screenshot-1.png?rev=3511514","caption":"Create and manage custom registration fields."},{"src":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/screenshot-2.jpg?rev=3554538","caption":"Fields displayed on the WooCommerce registration form."},{"src":"https:\/\/ps.w.org\/sdp-registration-fields-for-woocommerce\/assets\/screenshot-3.jpg?rev=3554538","caption":"Google reCAPTCHA integration."}],"raw_content":"<!--section=description-->\n<p><strong>SDP Registration Fields for WooCommerce<\/strong> lets you extend the WooCommerce registration form with fully customizable fields, so you can collect additional customer data in a structured and flexible way.<\/p>\n\n<p>Stop dealing with incomplete orders, missing data, or manual follow-ups. Add the fields your store requires and ensure the information is collected correctly from the very beginning.<\/p>\n\n<p>Create as many fields as you need, control how and where they appear, validate user input, and store the data safely in user meta. Protect your registration form from spam and automated signups with built-in Google reCAPTCHA integration, helping ensure that the data you collect comes from real customers.<\/p>\n\n<p>Unlike complex form builders, this plugin focuses on simplicity, performance and native WooCommerce integration, keeping your registration process clean and predictable.<\/p>\n\n<p>It integrates seamlessly with WooCommerce and your theme by following standard markup and behaviors, while also considering accessibility best practices to ensure fields remain usable with assistive technologies.<\/p>\n\n<h4>\ud83d\ude80 Try the live interactive demo<\/h4>\n\n<p>Try the live interactive demo and explore a fully customized WooCommerce registration form with custom fields, layout controls, conditional positioning, and Google reCAPTCHA integration.<\/p>\n\n<p><a href=\"https:\/\/playground.wordpress.net\/?plugin=sdp-registration-fields-for-woocommerce&amp;blueprint-url=https:\/\/wordpress.org\/plugins\/wp-json\/plugins\/v1\/plugin\/sdp-registration-fields-for-woocommerce\/blueprint.json\">Launch live demo<\/a><\/p>\n\n<h4>\u2699\ufe0f Features<\/h4>\n\n<ul>\n<li>Create unlimited custom registration fields.<\/li>\n<li>Multiple field types: text, textarea, number, email, phone, select, radio, checkboxes, date, countries and states.<\/li>\n<li>Drag &amp; drop field ordering.<\/li>\n<li>Mark fields as required.<\/li>\n<li>Custom validation error messages.<\/li>\n<li>Email\/domain\/TLD blacklist for email fields.<\/li>\n<li>Conditional mapping to existing WooCommerce user fields.<\/li>\n<li>Stores data in user meta for maximum compatibility.<\/li>\n<li>Display custom field values in the admin users list.<\/li>\n<li>Protect your registration form with Google reCAPTCHA (spam and bot prevention).<\/li>\n<li>Clean integration with WooCommerce forms and styles.<\/li>\n<li>Lightweight and focused \u2014 no unnecessary complexity.<\/li>\n<li>Accessibility ready.<\/li>\n<li>Translation ready.<\/li>\n<li>Includes full Spanish translation.<\/li>\n<\/ul>\n\n<h4>\ud83d\udc8e Pro Version<\/h4>\n\n<p><strong>Unlock the full potential of <a href=\"https:\/\/simpledirectplugins.com\/sdp-registration-fields-pro\/\">SDP Registration Fields Pro<\/a><\/strong> with these advanced features:<\/p>\n\n<ul>\n<li>Additional field types such as file upload and role selector.<\/li>\n<li>Shortcodes to display user field data anywhere on your site.<\/li>\n<li>Advanced field mapping options.<\/li>\n<li>Extended customization and flexibility.<\/li>\n<\/ul>\n\n<p>Upgrade now to take full control of your registration data.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20the%20plugin%20be%20translated%20into%20other%20languages%3F\"><h3>Can the plugin be translated into other languages?<\/h3><\/dt>\n<dd><p>Yes, it\u2019s fully compatible with translation files and multilingual plugins such as WPML, and comes with a complete Spanish translation included.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Tweak  - Class properties are now explicitly declared<\/li>\n<li>Fix    - The drag-and-drop message shifted during page load on the tabs list screen<\/li>\n<li>Update \u2013 Settings framework updated to version 6.8.2<\/li>\n<li>Update - Minimum PHP required version is now 7.4<\/li>\n<li>Update - POT file updated<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Tweak  - Improved the CPT query<\/li>\n<li>Tweak  - Improved styles for the field metaboxes<\/li>\n<li>Update - Support for WooCommerce 10.8<\/li>\n<li>Update - Settings framework updated to 6.8.1<\/li>\n<\/ul>","raw_excerpt":"Collect the right customer data from the start with flexible and structured custom registration fields for WooCommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/299030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=299030"}],"author":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/simpledirectplugins"}],"wp:attachment":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=299030"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=299030"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=299030"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=299030"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=299030"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=299030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}