Announcement

Collapse
No announcement yet.

Limiting the number of different products ordered

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Limiting the number of different products ordered

    Hi All,

    We have a requirement to create a site containing 18 products. I know I can set maximum order quantity for an individual product. What I need to do is limit the order to a maximum of 3 different products. The products are all free and there is no postage.

    Does anyone know a way to limit the number of products that can be ordered?

    I think this will require some Perl coding, before I delve into the Perl has anyone already done this?

    TIA

    #2
    I expect you will need to change the Perl, a quick search of the forum, KB and AUG should show if it has already been done, i can't recall it myself.

    What you could perhaps do as a clever workaround, is use the shipping tables to limit people buying, say for example you put 1kg against each of the products and then have shipping table:

    3kg - £0.00
    1000kg - £10,000

    People ordering 4 would need to pay £10,000 to complete the transaction.

    Or perhaps use the excess rules to stop any shipping after 3kg is breached. You could even alter the excess shipping message that comes up to mention that they can only buy 3.

    Comment


      #3
      1. Give each product a weight of 1 Kg
      2. Create shipping table for weights up to 3Kg
      3. Tick the box that won't allow shipping if shipping table exceeded.

      Mike

      Works as long as maximum of three products in total.
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Thank you for the quick replies, I'll set-up a demo site and give this a try.

        Comment

        Working...
        X