Announcement

Collapse
No announcement yet.

Quantity ordered in multiples of 3

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

    Quantity ordered in multiples of 3

    Hi I'm using v8 and have a client who is selling multiple products all at the same price. Customers may order the products in any combination provided that the total orders are a multiple of 3.

    Using the minimum order value option it's possible to ensure that at least 3 have been ordered. But that's about as far as I can get.

    With this option activated it seems that when one clicks on the checkout button a check is done to ensure that the minimum order value has been met.

    I would like to replace that check with one that ensures that the quantity of items in the cart is a multiple of 3, otherwise it displays an info message along the lines of "Your order must be a multiple of 3 items".

    Can anyone help with that?
    Cheers.

    #2
    There are plenty of prior posts (often from wine merchants). Try searching for e.g. "selling by the case".
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks for your reply Norman I should have known better than to simply describe my problem.
      Please forgive my ignorance as I am not a programmer.
      I had seen posts made by others on topics relating to wine merchants and nursery's. In both cases however the answers were related to v6 or v7 of Actinic and some answers dated back to 2004. References made to 'ACT_Primary' and the like unfortunately leave me staring blankly at the screen.

      I had seen your post http://community.actinic.com/showpos...20&postcount=8 that seems to place a message at the top of the page regardless of the contents of the cart. (in my case I had changed the variable check from "% 12" to "% 3". Which I presume means x divisable by 3 and being an integer).

      At any rate statements that say orders must be a multiple of 3 that come after someone has entered all their payment details are coming rather too late in the process for my mind.

      When someone clicks the Checkout button I would like the checkout page to decide if the cart contains a multiple of 3 or not. If it does, display the checkout page as normal, otherwise display an advisory message.
      Not being a programmer, if anyone can suggest what a statement like that might look like and where I should put it I should be very grateful indeed.

      Thanks.

      Comment


        #4
        I'm afraid that what you want is quite complex and may require bespoke work. Best wait a bit in case someone else is willing to volunteer their time.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Fair enough.

          On a slightly different tack then, there is the option to set a minimum order value. That check is carried out as one enters the shopping cart. Can anyone tell me where can I find the code that carries out that check?

          In this case as all the items in the shop are the same price (£5), would it be possible to amend that code to check that the order value is a multiple of 15 instead of a minimum of 15?

          Comment

          Working...
          X