Announcement

Collapse
No announcement yet.

Ability to Disable Customer Account

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

    Ability to Disable Customer Account

    For B2B merchants, it would be extremely helpful to be able to temporarily disable a customer account and make it inactive ... similar to the "Active" checkbox for products. There are times, for various reasons, that a customer account needs to be placed on Hold status and not allow them to log in and/or place orders.

    Unless there's a 3rd party module for this already??

    Thank you for your consideration.
    Ron


    #2
    You could do something like this:

    On OPAY or OSEL, probably at the top of the page after global_header


    <mvt:do file="g.Module_Feature_CUS_DB" name="l.success" value="Customer_Load_ID(g.basket:cust_id, l.settings:myCustomer)" />
    <mvt:if expr="l.settings:myCustomer:email CIN '[email protected], [email protected],'" />
    <p> sorry, your account is currently locked</p>
    <mvt:item name="hdft" param="global_footer" />
    rest of your template code to </html>


    <mvt:else>


    then put </mvt:if> at the end of the template.

    Not sure if :email is the actual variable name returned by the function so you might need to check the token list




    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Thanks Bruce!
      But I'm referring to a way that the customer account can be disabled in the admin and prevent the customer from even logging into the site.

      Comment


        #4
        QuickRon until that feature exists why don't you prefix their email login with a few ___ or something. That will kill their login and you'll be able to find them when you want to put them back.
        Colin Puttick
        Miva Web Developer @ Glendale Designs

        Comment


          #5
          Great idea and workaround!! Thank you, Colin!


          Comment

          Working...
          X