Zen Cart Logo
Forums / Addon Shipping Modules / Limit the max order total...?

Limit the max order total...?

Locked

Views: 3,785

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
1 Feb 2009, 2:12 PM
#1
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Limit the max order total...?

Hello,

I am trying to figure out if there is any way at all to limit the maximum amount a person can purchase in the store.

If the order total is over $5,000 the customer would need to contact the store owners to complete their order.

Does anyone know if this can be done?

(And before anyone asks why.. lol.. the owners have major concerns of someone ordering large amounts of merchandise to resell it and them not being able to keep up with the orders.)

1 Feb 2009, 4:58 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

Yes... this should be possible.

There is a module that Andrew Berezin wrote called "Minimum Order" that does the opposite - it does not allow shoppers to proceed to checkout if the cart value is LESS than a stated amount.

I'm sure that with a bit of tweaking, you could get this module to prevent shoppers going to checkout if the cart value is MORE than a stated amount.

To see the Minimum Order module in action, go to:

www edutrade . co . uk

and put something into the shopping cart with a value of LESS than £8.00

1 Feb 2009, 5:09 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

... In fact, I'm going to have a go at adapting that Minimum Order Value Module to create a Maximum Order Value Module.

I'll return to this thread later...

1 Feb 2009, 5:19 PM
#4
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: Limit the max order total...?

OHGosh... you are so awesome!!! Thank-You!!!

1 Feb 2009, 5:49 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,621
Plugin Contributions:
0

Re: Limit the max order total...?

Just a suggestion - By not allowing the large order to checkout - you could lose the sale - Wouldn't it be better to have a flag on the order so the Shop Owner contacts the customer ASAP?

1 Feb 2009, 5:56 PM
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

LittleOleMeDesigns:

OHGosh... you are so awesome!!! Thank-You!!!

OK... I tweaked the Minimum Order Module to now be a Maximum Order Module...

... I'm busy testing, but it seems to work OK.

NB: Pay attention to what Kim says... I have, and to see the TEST MODULE in operation, go

HERE

... and add 51 of these products (£100 each) to the cart.

... then UPDATE the cart to 49 products (£100 each) to the cart

1 Feb 2009, 6:13 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,621
Plugin Contributions:
0

Re: Limit the max order total...?

:) That module does do what you say it will, but from a customer experience standpoint -

I put 51 widgets in my cart and I can't proceed - I'm packing up my Credit Card and going home. I am not going to think "what if I try 49?" (Unless I am a 'bad guy' and the order is shady anyway)

JMHO.

1 Feb 2009, 6:16 PM
#8
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: Limit the max order total...?

That's just awesome! I can't believe you were able to get that to work so fast!! That is exactly what I was needing to get it to do!

And Kim... I agree completely... and I've told them that repeatedly, but you know how people can be about things sometimes. I doubt they'll see many orders over $5,000 USD anyway... they're selling copier and printer cartridges and toner.

1 Feb 2009, 6:28 PM
#9
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

Ok, I've tested this and it does not appear to have conflicts.

However...

I cannot take responsibility for any conflicts it may have on your site.

Anyone using it does so at their own risk.

I will zip up the module later and post that zip file on this thread. (be about an hour or two).

I will also submit the module to the Free Software Add-ons for consideration of inclusion.

1 Feb 2009, 6:43 PM
#10
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

LittleOleMeDesigns...

Kim makes a valuable observation, and while I appreciate what your client may be saying, I feel you ought to alert them to the potential for losing what could be a really good sale!

Do they REALLY need this restriction????

(I will continue with the mod, as I've promised it to you already)

Also, a lot will depend on the TEXT of your ALERT MESSAGE. So give this a lot of thought when you edit the relevant languages file.

1 Feb 2009, 6:59 PM
#11
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: Limit the max order total...?

fairestcape... I definitely feel that Kim makes a valuable observation.. and like I said, I TOTALLY agree. I think it's the stupiest thing ever. Personally, I would let them place the order and then call them if there were in conflicts and pay whatever fees were involved to refund their money if I couldn't fill the order... seems like you'd loose significantly less money with that approach than you would in $5000 + sales lost when people just leave the site. But I'm sure you know how client's can be... sometimes you just can't get them to change their mind on anything.

Thank you so much again for helping me with this!!

1 Feb 2009, 7:35 PM
#12
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Limit the max order total...?

Here's the module:

Please understand that you use it at your own risk. Make sure you read the readme.txt file.

If you have a TEST shop, you may care to try it on the test shop first.

1 Feb 2009, 11:18 PM
#13
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: Limit the max order total...?

I tried it out and it works perfectly!! You are my hero!! :hug:

13 Feb 2009, 6:45 PM
#14
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: Limit the max order total...?

I have a client that want's to put a max limit on all time purchases. overview - the store I am referencing is a tool that is used for sales people at a company, no real money is exchanged but the store works great to keep inventory and cost out the door. I need the store to cap the maximum amount each sales person is allowed to purchases in a years time. Can this mod be tweeked to do so? If not, is there one out there that will do this?
Thanks,