Results 1 to 4 of 4

Thread: Shopping cart max number of products

  1. #1
    New user
    Join Date
    06-18-10.
    Posts
    13

    Default Shopping cart max number of products

    Hi,

    Is there a way that the shopping cart can be set to maximum number of products i.e. a user is only allowed to add one of each products to the shopping cart?

    Thanks

    Rob

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Shopping cart max number of products

    Do you know PHP?

    I think you need to use this hook to do that: $GLOBALS['ISO_HOOKS']['addProductToCollection']
    See the file IsotopeProductCollection.php for details how that hook operates. Its return value is a quantity for that product, so I am assuming you can regulate the amount of each product and product types even...

  3. #3
    New user
    Join Date
    06-18-10.
    Posts
    13

    Default Re: Shopping cart max number of products

    Hi Ruud

    Thanks for this feedback, I do not know PHP that well but I will have a look into your suggestion!

    Rob

  4. #4
    User fbliss's Avatar
    Join Date
    06-19-09.
    Location
    Greenfield, MA
    Posts
    50

    Default Re: Shopping cart max number of products

    Hi Rob,

    Yes, it is possible to force min/max on shopping cart max number of products. I've used it to do both for a client. It does require hooking in as Ruud mentions, not a large project. Contact me fred.bliss@intelligentspark.com and we can talk about your needs.

Bookmarks

Posting Permissions

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