Get wholesale prices programatically via PHP
-
Hi!
Thank you for your work on this lovely plugin ??
I need some help in getting the wholesale prices programatically on the server side. For example I have a product ID ‘123’ and I need to get the wholesale price for the current user role, the wholesale sale price and the min and max wholesale prices for variable products.
Please keep in mind that I have wholesale rules at the product level and also at the category level. I need the code to be able to account for all wholesale pricing rules while returning the price for a product ID.
I understand you have provided an API, but I don’t want to create a private and secret key etc to get the wholesale prices. So please advice me on how to get the above prices via another method like functions included in the plugin code perhaps.
Your help is much appreciated! Good day ??
Regards,
Dan
- You must be logged in to reply to this topic.