Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello, i’m looking for same thing, only vendor registration. But when i do this, i don’t have automaticaly the vendor registration. So i going on dokan-lite/includes/template-tags.php and on this :

    function dokan_seller_reg_form_fields() {
        $postdata = wc_clean( $_POST ); // WPCS: CSRF ok, input var ok.
        $role = isset( $postdata['role'] ) ? $postdata['role'] : 'seller';
        $role_style = ( $role == 'seller' ) ? 'display:none' : '';
    
        dokan_get_template_part( 'global/seller-registration-form', '', array(
            'postdata' => $postdata,
            'role' => $role,
            'role_style' => $role_style
        ) );
    }

    i have replace customer by vendor. But i need check customer and vendor agin to update form…

Viewing 1 replies (of 1 total)