Announcement

Collapse
No announcement yet.

Over-ordering of associated products problem BACK in 8.5.3

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

    Over-ordering of associated products problem BACK in 8.5.3

    ok, I'll reference a previous thread http://community.actinic.com/showthread.php?p=173603
    specifically, posts 5 and 6.

    In a nutshell, 8.5.3 allows a customer to order MORE than the max qty orderable figure for an associated product.

    The above post has a script 'workaround' for 8.5.1 (which worked) and it was (apparently, I can't confirm as I never upgraded to 8.5.2) fixed in 8.5.2.

    4. The 'Maximum Quantity' value of an associated product is now honoured, when that product is ordered as part of a component. AC8-1905
    as stated here http://www.actinic.co.uk/products/changes_v8.htm

    Except it's no longer working in 8.5.3 so customers are now able to over order.

    I've reported it to Actinic so hopefully a fix will come soon (I'll just keep badgering them til it does ) but I really just wanted to give anyone upgrading to 8.5.3 the 'heads up' in case this affects them.
    Tracey

    #2
    Right, further testing confirms that this also does NOT work in V9.0.1
    Tracey

    Comment


      #3
      Could you check the 'Stock' tab of Site Options. There should be a value in there you can set to 'True' to activate this feature. It's now built into Actinic.

      Comment


        #4
        ahhh, that's right, thanks Chris.
        I recall seeing that in V9 now as I remember pointing out the typo that's still there

        Had no idea it was a true/false fix in V8 though.
        Thanks!
        Tracey

        Comment


          #5
          ahhh...the saga continues.
          OK, having changed the settings in both 8.5.3 and 9.0.1, uploaded both sites and tested, here's the result.

          8.5.3...BINGO...won't allow order-ordering.

          9.0.1... Set the Site Options setting to 'True' but it still allowed me to order 30 of something I only have 2 of (and yes, max qty in details tab is 2)

          So, works in 8.5.3, but really not in 9.0.1.

          *sigh*
          oh well, at least my live site works for now so thanks for that
          Tracey

          Comment


            #6
            OK - I can confirm this is not working in v9. I'll get an interim fix posted here.

            Comment


              #7
              HI, Can you tell me if this was resolved in 8.5.2 HMVA as I have set the stock min/max to True and have stock control set up for hidden products/permutations and it does not stop me over ordering?
              I don't want to upgrade at the moment as i have made a lot of layout changes.
              Regards,
              Breda

              Comment


                #8
                Hi Breda,

                Yes this was fixed in v8.5.2. You need to set the 'Enable Associated Quantity for Min/Max Control' to 'true' in 'Settings | Site Options | Stock to get it to work.
                ********************
                Tracey
                SellerDeck

                Comment


                  #9
                  Hi,

                  The fix for v9 is as follows:

                  - open 'ActinicOrder.pm' from your site folder in a text editor such as 'notepad'
                  - search for:

                  To enable min/max quantity

                  and you should see:

                  Code:
                  #
                  # To enable min/max quantity checking of associated products uncomment the following line
                  #
                  #					($nFailure, $nBadQuantity, $sCheckMessage) = CheckProductQuantity($CompProduct, $nCompQuantity, $nOrderedQuantity, $nMaxQuantity, $nIndex);
                  - replace the above with:

                  Code:
                  #
                  # To enable min/max quantity checking set the Site Options | Stock variable EnableAssociatedQuantity to true
                  #
                  my ($bIsEnableAssociatedQuantityDefined, $bEnableAssociatedQuantity) = ACTINIC::IsCustomVarDefined( 'EnableAssociatedQuantity' );
                  if ($bIsEnableAssociatedQuantityDefined && $bEnableAssociatedQuantity)
                          {
                                  ($nFailure, $nBadQuantity, $sCheckMessage) = CheckProductQuantity($CompProduct, $nCompQuantity, $nOrderedQuantity, $nMaxQuantity, $nIndex);
                                  }
                  - close and save the file and update the site and it should all work correctly again.
                  ********************
                  Tracey
                  SellerDeck

                  Comment


                    #10
                    thanks, Tracey (thought I'd replied to this yesterday...seems not!)

                    That works great

                    Someone messed that bit of code up bigtime, didn't they? lol
                    Nice to have it fixed though, thanks.
                    Tracey

                    Comment

                    Working...
                    X