Forums / Built-in Shipping and Payment Modules / Minimum order total in one category only?

Minimum order total in one category only?

Locked

Views: 2,710

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Nov 2006, 2:52 PM
#1
lyricwings avatar

lyricwings

Zen Follower

Join Date:
Oct 2006
Posts:
109
Plugin Contributions:
0

Minimum order total in one category only?

Another questions for you wonderful folks --
Is it possible to make a minimum order, just within a certain category?

If I have four categories, and four three of the categories, there are no restrictions. But for the fourth category, I'd like to set up a $10 purchase minimum in order for checkout to be successful.

Is this doable?

LW

4 Nov 2006, 4:39 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Minimum order total in one category only?

A limitation for checkout can be done for anything ...

However, keep in mind how aggrevating it is to go into the store and pull out your Visa and have them say ... "sorry, we have a limit" ... :eek:

And while all will say you are not allowed to limit Visa purchases ... I can name a dozen stores within 10 miles of me who do and not even break a sweat ...

Limitations are controlled in the shopping cart and/or at the checkout pages ...

This can be done with a function that does any kind of validation you want that results in a true or false. a message and a redirect of what to do when you are below the limitation ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2006, 5:14 PM
#3
lyricwings avatar

lyricwings

Zen Follower

Join Date:
Oct 2006
Posts:
109
Plugin Contributions:
0

Re: Minimum order total in one category only?

Thank you Ajeh
(sorry for the delay on responding - my power has been out!)

Can you point me in the direction of where I can found how how this type of function that you mention below is done?

< Limitations are controlled in the shopping cart and/or at the checkout pages ...

This can be done with a function that does any kind of validation you want that results in a true or false. a message and a redirect of what to do when you are below the limitation ...>

~LW

9 Nov 2006, 3:58 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Minimum order total in one category only?

This is one example of a block on the:
/includes/modules/pages/checkout_shipping/header_php.php

// if there is nothing in the customers cart, redirect them to the shopping cart page
  if ($_SESSION['cart']->count_contents() <= 0) {
    zen_redirect(zen_href_link(FILENAME_TIME_OUT));
  }

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2006, 3:18 PM
#5
lyricwings avatar

lyricwings

Zen Follower

Join Date:
Oct 2006
Posts:
109
Plugin Contributions:
0

Re: Minimum order total in one category only?

Thanks, Ajeh - I'll take a look --

LW

15 Dec 2006, 9:33 AM
#6
acater avatar

acater

New Zenner

Join Date:
Oct 2005
Posts:
6
Plugin Contributions:
0

Re: Minimum order total in one category only?

lyricwings,

How did you get on with this mod?

Did you manage to get a min order per category?

Are you able to post your code? I am after the same thing but PHP skill are limited.

Thanks

27 Jul 2007, 1:23 AM
#7
lyricwings avatar

lyricwings

Zen Follower

Join Date:
Oct 2006
Posts:
109
Plugin Contributions:
0

Re: Minimum order total in one category only?

Acater -

I ended up not choosing to have a minimum order for the category, so I never looked into Ajeh's suggestion. What I did instead was offer free shipping over a certain dollar amount in the one category, and at present I am using that as the incentive for customers to increase their purchase.

You might want to look at this thread:
http://www.zen-cart.com/forum/showthread.php?t=35085

There is a download for a mod there, that you might be interested in.

~LW