To create or add a product-based role from a single product page do the following.
- From the WordPress admin area, go to the Products Tab and Click on “All Products”.
- Then edit the particular Product where you want to enable a product-based role.
- Click on the General Tab on your single product page.
- Then click on the “Product Based” Tab from the Role Pricing option.
- Then click on the “Update” button.
Your new product-based role from a single product page has now been created.