varunsridharan

varunsridharan supports this item

Supported

This author's response time can be up to 1 business day.

Popular questions for this item

How To Get Role Based Price Using Short Code ?

We have shortcode which will return you the price for the give role and price type

Short Code : [wc_rbp id='99' role='' price='']

Shortcode Variables Explained :

  • id=99 you need to replace the 99 with your simple/variable product id
  • role=administrator you need replace administrator with your user role id / use current to get loggedin user role
  • price use regular_price or selling_price to get the value of each

Example usage of shortcode

Get Product’s Regular Price With Custom User Role
 [wc_rbp id='99' role='administrator' price='regular_price']
Get Product’s Selling Price Based On Logged In User
 [wc_rbp id='99' role='current' price='selling_price']
Get Product’s Base Regular Price
 [wc_rbp id='99' price='product_regular_price']
Get Product’s Base Selling Price
 [wc_rbp id='99' price='product_selling_price']

Contact the author

This author will respond to buyers' questions and provides limited support through their own support system.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by