Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Customer authorization and Welcome email problem

    I'm creating a site for wholesale customers. I have Customer Approval Status - Authorization Pending set to 1, must be authorized to browse.

    I tested this by creating my own account. I got to the page that says "customer authorization pending."

    Before approving myself, I already received a Welcome email like the account was already created. How can I supress this email?

    ETA: I (admin) didn't get an email that there was a customer waiting approval. Am I not doing something right? It's a fresh install of 1.3.7.1.

  2. #2
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Customer authorization and Welcome email problem

    I think I got it. I just edit the Welcome email to say approval pending...

    Now, I (wholesale customer) logged myself out, and I can't log back in! I get a looping login screen. It won't let me reset my password either. Help?

    ETA: OK. Where's the "declined" option when approving customers?
    Last edited by KTNaturals; 12 Sep 2007 at 03:23 AM.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Customer authorization and Welcome email problem

    Pop me an email with your details and I will look at this...
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Customer authorization and Welcome email problem

    kobra - I was going to email you, but I think I found yet another bug...

    If I close the browser, then I can log in again. So I went to go change my Log Off screen to tell customers to close the browser if they wanted to log in again.

    Then I noticed that when I click Log Off, it took me back to the login screen.

    I set the store back to no authorization, and everything worked fine. It's only when it's set to authorization required with no browsing what-so-ever. I'll have to mess around with the 2 options under Configuration - Customer Details. I have it working OK with the browse but no price. But I'd like to totally eliminate that option if possible...

    I'm getting a bit loopy - must go to bed... LMK if you need me to do any more testing...

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Customer authorization and Welcome email problem

    Get some rest and it will be clear tomorrow
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Customer authorization and Welcome email problem

    If I have the following set, then when I click "Log off," it takes me back to the login screen and won't let me log in until I close the browser (freshing doesn't work).

    Configuration -> Customer Details:
    Customer Shop Status - View Shop and Prices - 1
    Customer Approval Status - Authorization Pending - 1

    I guess it makes sense to go back to the login screen, but maybe something isn't right when you can't log back in... I added a verbiage to close the browser, but if someone could look at the code, it would be great!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer authorization and Welcome email problem

    Well lookie there ... a new feature ... er ... umm ... bug ...

    Moving to Bug Reports ... thanks!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Oct 2007
    Location
    USA
    Posts
    31
    Plugin Contributions
    0

    Default Re: Customer authorization and Welcome email problem

    Quote Originally Posted by Ajeh View Post
    Well lookie there ... a new feature ... er ... umm ... bug ...

    Moving to Bug Reports ... thanks!
    I experienced this same bug. But, I found a fix for it.

    In the Logoff header_php.php, I changed the following:

    From this:
    Code:
    if (!empty($_SESSION['customer_id']) || !empty($_SESSION['customer_guest_id'])) {
      zen_session_destroy();
      zen_redirect(zen_href_link(FILENAME_LOGOFF, $logoff_lang));
    }
    To this:

    Code:
    if (!empty($_SESSION['customer_id']) || !empty($_SESSION['customer_guest_id'])) {
      zen_session_destroy();
      zen_redirect(zen_href_link(FILENAME_DEFAULT));
    }
    I'm not sure if this is bad for the store, but it does fix the problem.

 

 

Similar Threads

  1. v153 Welcome email to customer and Admin problem
    By HVM71 in forum General Questions
    Replies: 2
    Last Post: 29 Dec 2014, 07:03 PM
  2. Welcome email and customer company name
    By Shamshop in forum General Questions
    Replies: 4
    Last Post: 18 Sep 2011, 03:59 AM
  3. Customer Authorization - Wrong Email/No Email
    By laurenjj in forum General Questions
    Replies: 3
    Last Post: 10 Aug 2010, 04:34 AM
  4. welcome email problem and order confirmation email problems
    By oneelios in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2010, 11:18 AM
  5. Customer password and the 'Welcome' email
    By davidb in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Feb 2007, 10:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR