Announcement

Collapse
No announcement yet.

Maximum Order Quantity (in Cart)

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

    Maximum Order Quantity (in Cart)

    Hi,

    Quick question concerning developer v.7:

    How can I limit the quantity of items on a per order basis - ie., customers can purchase up to a maximum of 3 (different) products with each order?

    I know how to limit by the product but this isn't what I'm after. Is there an option I'm missing?

    DB

    #2
    Does anybody know of a way to do this in Actinic before I mess about with the Perl?

    Comment


      #3
      There is no standard way in Actinic to achieve it. So I'm afraid you should hack the perl scripts.

      I would suggest to modify sub ValidateStart in ActinicOrder.pm. There is a validation against empty cart. Just replicate that if statement (including the block underneath). Then modify the condition ($nLineCount > 3) and change the message in ACTINIC::BounceToPageEnhanced call.

      I hope this helps.
      Zoltan
      Actinic Software
      www.actinic.co.uk

      Comment


        #4
        Thanks Zoltan, I'll start hacking from there.

        Cheers

        Comment

        Working...
        X