Skip Navigation

[Resolved] How do I control individual customer discounts in Woocommerce

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 2.16 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#914926

Hi Support.

I have read through the support-threads but haven't found any thing that sounds like my problem.

I want to create a webshop where I manually create and control the discount of each customer. That means that I will give customer A 10% discount on all prices and customer B 15%, customer C 12% and so on.

Further on I will like to control individual discounts on specific categories that influences all customers.

Is this something I can do with Toolset Access or any other Toolset plugin?

Thank you in advance.

Kind regards

Kristen

#915137

Dear Kristen,

I suggest you create a custom user field "customer-discounts", you will be able to setup discounts value for each user
https://toolset.com/documentation/user-guides/user-fields/

Then you can setup some PHP codes, use custom codes to call the custom user field value nto the WooCommerce cart as a discount.

See similar thread:
https://stackoverflow.com/questions/40850199/call-a-custom-user-field-value-in-a-woocommerce-hooked-function

Same as above, you can setup a custom taxonomy field in the product category:
https://toolset.com/documentation/user-guides/term-fields/

#916855

Hi Luo Yang.
Thank your for your support.
I found out that there is a B2B-plugin that solves this problem, so I used that instead.

Kind regards

Kristen