Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

gemsbodyjewellery
Ecommerce Template Guru

United Kingdom
1295 Posts

Posted - 07/20/2025 :  22:34:02  
I want to set up a minimum order for wholesale customers, but only for their first order.

After that they can place smaller 'top up' orders.

Is there a way to do that?

gemsbodyjewellery
Ecommerce Template Guru

United Kingdom
1295 Posts

Posted - 07/22/2025 :  00:43:39  
I wonder if it can be done with login levels?

Is there a way to set min order requirement by login level? I.e. those with higher login level would have no minimum order. Those with level zero would have a minimum of say £50?

Vince
Administrator

43059 Posts

Posted - 07/23/2025 :  02:45:19  
Hi Gemma
I think you may be able to do that with something like this in your includes.php file...

if((@$_SESSION['clientActions']&8)==8&&@$_SESSION['clientID']!=''&&@$_SESSION['clientLoginLevel']==1){
$GLOBALS['minpurchaseamount']=200;
}

The Login Level is assumed to be 1 there but change that to whatever you set the login level to.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

gemsbodyjewellery
Ecommerce Template Guru

United Kingdom
1295 Posts

Posted - 07/28/2025 :  07:14:47  
Thanks, I will try that.

I thought I had subscribed to the topic but didn't get any emails so I've only just seen your reply.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000