• elena18

    (@elena18)


    I have to solve the following problem to which I didn’t find any solution by now.

    I am working on a WordPress site, on which I implemented Woocommerce. Besides the possibility of buying products, I would like to let teh customers downloading a pdf catalogue. However the catalogue may be for customers or for resellers, according to the parameters they specify when the register their account (I already customized the account fields in the Woocommerce registration form).

    I used the WP Download Manager plugin, which permits to donwload files according to the user role. Hence the idea is to create user roles according to the parameters specified in the registration form. Hence if a reseller checks the “reseller checkbox” a user role “reseller-customer” will be created; otherwise if the client is a private, the “reseller checkbox” won’t be checked and the user role thus created will be “private-customer”.

    Is that possible? Thanks for help!

    https://wordpress.org/plugins/woocommerce/

  • The topic ‘Creating different user roles on the basis of account registration parameters wi’ is closed to new replies.