Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    You need to add some custom PHP code to the right place, responsible for showing quantity. May be it allows to use filter to change the output or it could be required to edit original code directly:

    if (current_user_can('special_user_role_id')) {
      // code to show pallete
    } else {
      // original code to show quantity
    }

    Thread Starter salam lisa

    (@salam-lisa)

    Do you know in which file will it go in woocommerce

    Plugin Author Vladimir Garagulya

    (@shinephp)

    No. It is more related to the WooCommerce forum or just google it – How to customize woocommerce product quantity output?

    Thread Starter salam lisa

    (@salam-lisa)

    I need something like this if customer 1 logged in shows pallet else show quantity

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘user role’ is closed to new replies.