• Resolved raulinovum

    (@raulinovum)


    Hello,

    First of all, my apologies, I previously posted this in the wrong subsection.

    I’ve been added few custom fields in my product page, for simple products and products with variations in the functions.php file of my theme(shophistic), as is explained in these two links:

    WooCommerce Custom Product Fields
    https://www.remicorson.com/woocommerce-custom-fields-for-variations/

    So now, in every product I have the regular price, and then, three other custom fields for price called Price T1, Price T2 and Price T4.
    Backend:
    Backend
    Frontend:
    Frontend

    I also created new roles for the users, called Customer T1 to Customer T4.

    My question is, how can I show each price according to a role? So, when the a user has the role Customer T2, only show Price T2 in the product page instead of the Regular price, and the same with the other.

    Thanks a lot in advance,

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show fields in product page depending on user role’ is closed to new replies.