Announcement

Collapse
No announcement yet.

Changing the order number prefix (the first number)

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

    Changing the order number prefix (the first number)

    I can't find where I've changed this in the past and it's driving me potty!

    The bit that comes after the postcode part... mine continues with 5000-****

    I know that I've set the "5" somewhere but I can't find where

    Please someone point me in the right direction.
    Even more annoying is that I'm sure I've come across it somewhere recently (well, probably since upgrading in May anyway) but I can't for the life of me find it again

    Thanks
    Tracey

    #2
    Isn't it from Help | Troubleshooting | Order Number


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      There isn't an "order number" option
      Just "query order number" (which gives me the latest order number (as in the end numbers) and "update order number" which, I assume, would reset those last numbers.

      I tried looking for that once before because I saw reference to it in a thread that a search picked up.
      Tracey

      Comment


        #4
        To the left is an input box - try whacking the numbers in there


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Yep - thats the place - click on the ? and click on the field it explains what it does and how it works


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            if I do that, it's going to change my end digits though, isn't it?
            I'm wanting to change the 5000 bit in the middle..not the end numbers...
            It must be changeable because I remembering changing it in the first place.... I think lol
            I'm starting to doubt myself now!
            ta though
            Tracey

            Comment


              #7
              No .. if the query return 5896 then enter 60005896.. or whatever sequence you need to continue with the same end digits


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by jont
                No .. if the query return 5896 then enter 60005896.. or whatever sequence you need to continue with the same end digits
                that didn't work
                "Get order number" returned "4789" and I've shortened the numerical part of my order number by 2 digits so I entered 104789, updated and uploaded website (I watched the file update, so I know it did!)

                Test order came through 504789

                god I feel like a right dimwit LOL
                Tracey

                Comment


                  #9
                  You may have hard coded it into orderscript.pl
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    Originally posted by wjcampbe
                    You may have hard coded it into orderscript.pl
                    me? LOL

                    yeh, I thought that.
                    Thing is, I must have been "guided" where to do it, if I did, and I can't find it again because I don't know what I'm looking for (and it's a bloomin' long text file LOL)
                    My search didn't turn up anything.

                    I'll keep looking though.
                    Tracey

                    Comment


                      #11
                      It might have been this thread http://community.actinic.com/showthread.php?t=4741 or the one linked to by it.

                      Mike
                      -----------------------------------------

                      First Tackle - Fly Fishing and Game Angling

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

                      Comment


                        #12
                        thanks Mike.
                        Those threads are where I got the info to shorten the overall order number and edit the format, but that didn't affect the FIRST number that my order numbers is (still) using

                        ie...format used to be

                        TH15ET-5000-1234
                        I removed the alpha-numeric prefix (TH15ET) and replaced with BB
                        Then I shortened the overall numbers from 8 to 6

                        But now I have BB501234

                        But I want BB101234

                        and I can't remember/work out where the "5" is coming from (or where it came from to begin with) but I'm 99% sure I changed it in the first place to a "5" (pre V8, mind you)

                        It's really annoying me now. I might be driven to calling support this morning LOL
                        Tracey

                        Comment


                          #13
                          Just a thought from the dim recesses of my mind. Does that number not come from the perl script numbers?

                          Mike

                          So to change it take this:

                          $::s_sOrderNumber = "TT93HO" . substr($$::g_pSetupBlob{CGI_ID}, -1) . substr("0000000" . $nCounter, -7)
                          and change it to

                          $::s_sOrderNumber = "BB" . "1" . substr("0000000" . $nCounter, -7)
                          or just use

                          $::s_sOrderNumber = "BB1" . substr("0000000" . $nCounter, -7)
                          -----------------------------------------

                          First Tackle - Fly Fishing and Game Angling

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

                          Comment


                            #14
                            ya know Mike..that's been my last thought that's been preying on my mind because my Script ID is 5...whether by coincidence or design? I don't know LOL

                            I don't really want to be messing with those though so, unless someone comes up with another idea, I'm going to leave it for now

                            Thanks for your help
                            Tracey

                            Comment


                              #15
                              It is the script ID number. I've edited my post above to show how to change it.
                              -----------------------------------------

                              First Tackle - Fly Fishing and Game Angling

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

                              Comment

                              Working...
                              X