{"id":736,"date":"2023-12-05T22:55:42","date_gmt":"2023-12-06T04:55:42","guid":{"rendered":"https:\/\/frackjewelry.com\/?page_id=736"},"modified":"2023-12-05T22:59:47","modified_gmt":"2023-12-06T04:59:47","slug":"registro-para-mayoristas","status":"publish","type":"page","link":"https:\/\/frackjewelry.com\/index.php\/registro-para-mayoristas\/","title":{"rendered":"Registro Para Mayoristas"},"content":{"rendered":"\n            \n                <div id=\"whols_user_reg_message\" class=\"whols_user_reg_message\">&nbsp;<\/div>\n                <div class=\"whols_registration_form\">\n                    <form action=\"whols_registration_action\">\n                        <p class=\"whols-form-row validate-required type--text\" id=\"reg_name_field\" data-priority=\"99\"><label for=\"reg_name\" class=\"\">nombre&nbsp;<abbr class=\"required\" title=\"required\">*<\/abbr><\/label><span class=\"whols-input-wrapper\"><input type=\"text\" class=\"input-text \" name=\"reg_name\" id=\"reg_name\" placeholder=\"Tu nombre\"  value=\"\"   required=\"required\"   \/><\/span><\/p><p class=\"whols-form-row validate-required type--text\" id=\"reg_username_field\" data-priority=\"99\"><label for=\"reg_username\" class=\"\">Usuario&nbsp;<abbr class=\"required\" title=\"required\">*<\/abbr><\/label><span class=\"whols-input-wrapper\"><input type=\"text\" class=\"input-text \" name=\"reg_username\" id=\"reg_username\" placeholder=\"tu nombre de usuario\"  value=\"\"   required=\"required\"   \/><\/span><\/p><p class=\"whols-form-row validate-required type--text\" id=\"reg_email_field\" data-priority=\"99\"><label for=\"reg_email\" class=\"\">CORREO ELECTR\u00d3NICO&nbsp;<abbr class=\"required\" title=\"required\">*<\/abbr><\/label><span class=\"whols-input-wrapper\"><input type=\"text\" class=\"input-text \" name=\"reg_email\" id=\"reg_email\" placeholder=\"Tu correo electr\u00f3nico\"  value=\"\"   required=\"required\"   \/><\/span><\/p><p class=\"whols-form-row validate-required type--text\" id=\"reg_password_field\" data-priority=\"99\"><label for=\"reg_password\" class=\"\">contrase\u00f1a&nbsp;<abbr class=\"required\" title=\"required\">*<\/abbr><\/label><span class=\"whols-input-wrapper\"><input type=\"text\" class=\"input-text \" name=\"reg_password\" id=\"reg_password\" placeholder=\"tu contrase\u00f1a\"  value=\"\"   required=\"required\"   \/><\/span><\/p>\n                        <button type=\"submit\" name=\"reg_submit\" id=\"whols_reg_submit\" class=\"\" value=\"Register As Wholesaler\">Register As Wholesaler<\/button>\n                    <\/form>\n                <\/div>\n\n            \n            <script type=\"text\/javascript\">\n                jQuery(document).ready(function($) {\n                    \"use strict\";\n\n                    var button_id       = '#whols_reg_submit',\n                        nonce           = 'a3d159132c',\n                        loading_message = 'Please Wait...';\n\n                    $( 'body' ).on('click', '#whols_reg_submit', function( event ){\n                        event.preventDefault();\n\n                        $( '#whols_user_reg_message' ).html( '<span class=\"whols_lodding_msg\">'+ loading_message +'<\/span>' ).fadeIn();\n\n                        $.ajax({\n                            type: 'POST',\n                            dataType: 'json',  \n                            url:  woocommerce_params.ajax_url,\n                            data: {\n                                action: \"whols_ajax_user_register\",\n                                nonce: nonce,\n                                fields: $('.whols_registration_form form').find(':input').serializeJSON({checkboxUncheckedValue: \"0\"}),\n                            },\n                            beforeSend: function(){\n                            },\n                            success: function( response ){\n                                if ( response.registerauth == true ){\n                                    var redirect_url = response.redirect_url;\n                                    $('#whols_user_reg_message').html('<div class=\"woocommerce\"><div class=\"woocommerce-notices-wrapper\"><div class=\"whols_success_msg woocommerce-message\" role=\"alert\">'+ response.message +'<\/div><\/div><\/div>').fadeIn();\n                                    $.scroll_to_notices( $( '[role=\"alert\"]' ) );\n\n                                    if( redirect_url.length ){\n                                        document.location.href = redirect_url;\n                                    }\n                                }else{\n                                    $('#whols_user_reg_message').html('<div class=\"woocommerce\"><div class=\"woocommerce-notices-wrapper\"><div class=\"whols_invalid_msg woocommerce-error\" role=\"alert\">'+ response.message +'<\/div><\/div><\/div>').fadeIn();\n                                    $.scroll_to_notices( $( '[role=\"alert\"]' ) );\n                                }\n                            },\n                            error: function( errorThrown ) {\n                                console.log(errorThrown);\n                            },\n                        });\n                    });\n                }); \/\/ document ready\n            <\/script>\n        \n","protected":false},"excerpt":{"rendered":"<p>&nbsp; nombre&nbsp;* Usuario&nbsp;* CORREO ELECTR\u00d3NICO&nbsp;* contrase\u00f1a&nbsp;* Register As Wholesaler<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_gspb_post_css":"","_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-736","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"blossom-feminine-slider":false,"blossom-feminine-featured":false,"blossom-feminine-with-sidebar":false,"blossom-feminine-blog":false,"blossom-feminine-cat":false,"blossom-feminine-related":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"wcpr-photo-reviews":false,"variation_swatches_image_size":false,"variation_swatches_tooltip_size":false},"uagb_author_info":{"display_name":"frackjewelry.com","author_link":"https:\/\/frackjewelry.com\/index.php\/author\/frackjewelry-com\/"},"uagb_comment_info":0,"uagb_excerpt":"&nbsp; nombre&nbsp;* Usuario&nbsp;* CORREO ELECTR\u00d3NICO&nbsp;* contrase\u00f1a&nbsp;* Register As Wholesaler","_links":{"self":[{"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/pages\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/comments?post=736"}],"version-history":[{"count":1,"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/pages\/736\/revisions"}],"predecessor-version":[{"id":737,"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/pages\/736\/revisions\/737"}],"wp:attachment":[{"href":"https:\/\/frackjewelry.com\/index.php\/wp-json\/wp\/v2\/media?parent=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}