Is there a way to set a minimum order value based on a user role? I have some wholesale clients that I want to enforce a minimum order of $300 on. Is there a way I can use conditional actions for this?
Thanks in advance for any insight.
|
Ubercart |
|
|
|
||
|
Mon, 03/08/2010 - 09:30
Is there a way to set a minimum order value based on a user role? I have some wholesale clients that I want to enforce a minimum order of $300 on. Is there a way I can use conditional actions for this? Thanks in advance for any insight.
minimum order value based on role
We ended up using a mod to function uc_cart_checkout() to restrict the minimum order value to roles. Works very well. Client site is www.rougeliving.com which has wholesale and retail pricing, restriction to box quantities for wholesale clients, and a stack more customisation. Will post details in Live Sites soon.
Re: set minimum order value based on user role
need that too, any advice?
set minimum order value based on role
I made the following modification to Essentially I have two roles that I want to apply the minimum order value to: wholesale - general and wholesale - agent, which are covered in an if statement. It would be better to use the role ID, but again, I didn't have the time or ability to work that out. Any suggestions on alternate approaches would be welcome, but this 'fix' achieved our objectives. function uc_cart_checkout() { |
|