Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 2 of 2

Thread: Checking Quantity at checkout....

  1. #1

    Default Checking Quantity at checkout....


    My storeowner is selling ice cream, and in order for it to be cost effective to ship, the customer must buy their ice cream in 4, 6, 8, or 12 pints at a time.

    So...I guess right before they checkout, I need to put in some code to check the quantity of all ice cream orders. How should I go about doing this? I'm not quite sure which module to put this code in...

    Any help would be GREATLY appreciated!!

  2. #2


    there is a class called "shoppingCart" which handles the quantity and stuff pertaining to the actual shopping cart functions; the actual file is in catalog/includes/classes/shopping_cart.php

    also, you might want to look at the "xsell" contrib which looks for min. quantity of product X to give a discount, in your case, you want to restrict checkout untill the customer reaches "xsell"....

Similar Threads

  1. checkout bug, picture doesnt show during checkout
    By ogilirca in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 05-31-2006, 06:04 AM
  2. Product Quantity Box
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 13
    Last Post: 10-06-2005, 03:21 AM
  3. Help Quantity BUG...
    By djlane in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 07-02-2005, 06:17 PM
  4. [Bug] Error on email address checking function
    By daigo75 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-24-2005, 06:48 AM
  5. Loggining in and checking out
    By innovations in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 10-31-2003, 01:37 PM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts