Dear WooCommerce Dynamic Pricing Support Team,
I am a developer working on a project that utilizes the WooCommerce Dynamic Pricing plugin. I’ve successfully created a pricing rule that applies a specific discount to a particular user. However, I’m encountering challenges in retrieving the details of this discount through PHP for the current user.
Specifically, I need to write PHP code that:
I have already attempted to locate the relevant metadata keys in the wp_usermeta
table and searched through the plugin’s code for functions or hooks that could aid in this process, but unfortunately, I haven’t been successful. My goal is to display or utilize the specific discount information in custom features of the site.
Could you please provide guidance or examples on how to achieve this? Any specific function names, hooks, or methods within your plugin that I should use would be greatly appreciated.
Thank you in advance for your assistance. I’m looking forward to your prompt response, as this functionality is crucial to our project.
Best regards,
]]>Dear Support – is there a way to increase the price for a product based on certain conditions?
]]>Just clarifying – can we configure pricing rules for custom user roles as well in the product edit window?
]]>