Announcement

Collapse
No announcement yet.

Create Merchant account when user registers on the Forum

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

    Create Merchant account when user registers on the Forum

    The admin allow you to create a customer account with just the username, email address and password. Where s that function in the LSK?

    The function Action_Customer_Insert() validates all of the address information so I can't use that.
    Ray Yates
    "If I have seen further, it is by standing on the shoulders of giants."
    --- Sir Isaac Newton

    #2
    You probably want the library function Customer_Insert(). It's in the LSK in features/cus/cus_db.mv.
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      I figured it out. I'm using [g.Module_Feature_CUS_DB].Customer_Insert()
      Ray Yates
      "If I have seen further, it is by standing on the shoulders of giants."
      --- Sir Isaac Newton

      Comment


        #4
        Thanks Kent, You beat me by seconds:)
        Ray Yates
        "If I have seen further, it is by standing on the shoulders of giants."
        --- Sir Isaac Newton

        Comment


          #5
          Yeah, do you ever have that thing where you struggle with a problem for half a day, and finally post a question to the forum, and then 5 minutes later you figure out the solution?
          Kent Multer
          Magic Metal Productions
          http://TheMagicM.com
          * Web developer/designer
          * E-commerce and Miva
          * Author, The Official Miva Web Scripting Book -- available on-line:
          http://www.amazon.com/exec/obidos/IS...icmetalproducA

          Comment


            #6
            It's called 'confessing your code.' It's well-known in the software industry for many years!

            The mere act of explaining one's approach can change perception enough to spot an issue, bug or solution.
            Gordon Currie
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit Any Document Easily | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment

            Working...
            X