i want to rewrite a code. and i need help.
i have a radio button for registration with two options customer or vendor.
if the visiter chooses vendor. i want the submit/register button to take. him to the vendor link
and if he choose customer i want the button to take him to the customer link.
currently the code looks something like this:
<p class="form-row form-group user-role vendor-customer-registration">
<input type="radio" name="role" value="customer"<?php checked( $role, 'customer' ); ?>>
<?php esc_html_e( 'I am a customer', 'dokan-lite' ); ?>
<input type="radio" name="role" value="seller"<?php checked( $role, 'seller' ); ?>>
<?php esc_html_e( 'I am a vendor', 'dokan-lite' ); ?>
<?php do_action( 'dokan_registration_form_role', $role ); ?>
<p class="woocommerce-form-row form-row">
<?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?>
<button type="submit" class="woocommerce-Button button" name="register"
value="<?php esc_attr_e( 'Register', 'martfury' ); ?>"><?php esc_html_e( 'Register', 'martfury' ); ?></button>
Only experts in php will be accepted for this task. Thank you.
Dear Hiring Manager, It's nice to meet you! https://www.freelancer.com/projects/php/URGENT-Woocommerce-customization-11984660/reviews Please reply me. Kind regards, Masud Web Designer & Developer
17 freelancers are bidding on average $26 for this job
Hi, we can do this by JS and PHP? are you using dokan plugin? ***Feel free to ask your questions... ***I am an experienced WordPress Developer with 6+ years of experience.
I am a good fit for this Job I have lots of experience in this sector. I have worked for many Client before on other platforms. Thank you in advance for your time and consideration. Thanks B2B Technology Team
HI I am experienced in WordPress CSS HTML etc I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your reply