Zen Cart Logo
Forums / All Other Contributions/Addons / My Checkout Without Account Mod

My Checkout Without Account Mod

Locked

Views: 323,004

Results 721 to 740 of 1,220
This thread is locked. New replies are disabled.
22 Dec 2008, 19:47
#721
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

My Checkout Without Account Mod

If you add a product to your cart and then go to the login page it should appear at the top of the page in split login mode. Of course, it would need to be enabled in the admin as well.

If there is no product in the cart, the COWOA option will not appear.

22 Dec 2008, 19:54
#722
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: My Checkout Without Account Mod

numinix:

If you add a product to your cart and then go to the login page it should appear at the top of the page in split login mode. Of course, it would need to be enabled in the admin as well.

If there is no product in the cart, the COWOA option will not appear.

I added a product and then went to login page and still no COWOA. I have set to true for split login. Where in the admin area do I enable COWOA?

23 Dec 2008, 19:02
#723
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: My Checkout Without Account Mod

Admin->configuration->fast and easy checkout configuration.

23 Dec 2008, 21:24
#724
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: My Checkout Without Account Mod

numinix:

Admin->configuration->fast and easy checkout configuration.

For Fast and Easy Checkout Configuration I have these as choices:

One Page Checkout true
Checkout Confirmation Alternate Text Your order is being processed, please wait...
Display Checkout in Split Column false
Gift Wrapping Module Switch false
Activate Drop Down List false
Activate Gift Message Field false
Drop Down List Options Option 1,Option 2,Option 3,Option 4,Option 5

I do not see COWOA. What is the sql file?

Thanks, Kim

08 Jan 2009, 00:49
#725
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I've run into the following problem: this module works by creating an account in the background when somebody checks out. If they try to COWOA again with the same email, it will create another account with a "." appended to the end of the email -- this is valid as far as SMTP is concerned so the customer will still get their confirmation email. If they try to check out a THIRD time, they get a message like this one, reported to us by one of our customers:

The access tells me first that I cannot move forward
as if I do not have an account, because it recognizes my email address. Then
the password which I thought I use was rejected. When I log in my email and
click forgot password, it tells me it does not recognize my email!!!

As it is, this module only allows somebody to COWOA twice with the same address. I would consider this buggy behavior, especially because if they come back again, they are effectively blocked from checking out. I would like to contribute some time towards a fix.

Here's what I propose:

  1. when somebody enters their email and clicks the COWOA button, the code checks to see if there's already an account with that email.
  2. If YES, it deletes the existing account (or should it just mangle the email address, say appending a number to it [1,2,3, etc.]?). It then proceeds as normal.
  3. If NO, it proceeds as normal.

Whoever is in charge of this project, please let me know if this mod makes sense and would be a welcome addition to the project.

Cheers,
Kevin

08 Jan 2009, 01:13
#726
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Ok, I just read through the code and the situation is a bit worse than that (before I was going off what the notes said). In fact, a customer can only COWOA once. That whole "."" thing isn't in the code.

Something needs to be done about this. Perhaps even simpler than I was imagining before is this scenario:

  1. Customer submits no_account form
  2. ZenCart checks for existing customer record with that email that was created by COWOA
  3. IF EXISTS: Update name, address info in CUSTOMERS table, then log them in. Currently it just craps out when the module dumbly tries to create a customer record with a duplicate email.

Any thoughts?

Kevin

08 Jan 2009, 02:12
#727
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

audleman:

Ok, I just read through the code and the situation is a bit worse than that (before I was going off what the notes said). In fact, a customer can only COWOA once.

This is completely incorrect. I have had customers use COWOA more than 5 times and there is still no problem. You might need to reinstall it.

08 Jan 2009, 02:39
#728
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:

This is completely incorrect. I have had customers use COWOA more than 5 times and there is still no problem. You might need to reinstall it.

I have had a couple of sales of two buys but never more, I think I will enable PO module and do some shopping, and see what happens, I will get back to you, nice to see you back!

pete

08 Jan 2009, 03:06
#729
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

colemanpa:

I have had a couple of sales of two buys but never more, I think I will enable PO module and do some shopping, and see what happens, I will get back to you, nice to see you back!

pete

Thanks! Well, I just did 3 in a row on my site with no problems. I didn't think there was going to be a problem since I have customers who do it, but I just had to see for myself. I remember testing it when I first installed it, but that was so long ago. I thought I'd test again just to be sure.

08 Jan 2009, 03:10
#730
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: My Checkout Without Account Mod

colemanpa:

I will enable PO module and do some shopping, and see what happens, I will get back to you.

I did it six times no problems, under customers in admin the name I used shows up six times with nothing added but with different ID numbers, I did not look in the data base, audleman must have something else going on like another module sharing a file, and it got over written opposed to of being merged.

pete

08 Jan 2009, 19:33
#731
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Re: My Checkout Without Account Mod

OOPS! After thoroughly reading the code and testing running the same email through a few times, it appears as if this module will simply create a new customer record each time. Looks like I spoke before finding out what was really going on. Sorry!

I don't know what caused that problem my customer reported...

Gang, thanks for your responses, and sorry for the bother.

Kevin

09 Jan 2009, 18:38
#732
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I figured out what was really going on. A customer had COWOA'd using the email [email protected]. She later tried to create a regular account with [email protected]. At that point, the create_account script threw an error saying that the email already existed.

Unless I somehow missed updating my create_account.php script while installing this module, it looks like as it is, once you've COWOA'd with an email, you cannot then use it to create a regular account. If they try, they are told the email already exists. However if they try to retrieve their password, the COWOA mod to the password lookup page will tell them their email doesn't exist -- a perplexing result for the customer.

Looking at the code, it is an easy enough fix the problem. Following the same convention found in the following two files:

includes/modules/YOUR_TEMPLATE/no_account.php
includes/modules/pages/login/header.php

we simply modify the query that checks for a customer record with the existing email in the following file:

includes/modules/create_account.php

$check_customer_query = "SELECT customers_id, customers_firstname, customers_lastname, customers_password,
customers_email_address, customers_default_address_id,
customers_authorization, customers_referral
FROM " . TABLE_CUSTOMERS . "
WHERE customers_email_address = :emailAddress
AND COWOA_account != 1";

With this change, when the user attempts to create a new account, it will do so without problem. The existing modification to the login script ensures that the duplicate customer records for the COWOA modules won't confuse the system.

After my last bout of confusion, I want to stop here and ask the community if this change makes sense. If so, I'd like to contribute it back to the community.

Cheers,
Kevin Audleman

09 Jan 2009, 20:59
#733
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

audleman:

...it looks like as it is, once you've COWOA'd with an email, you cannot then use it to create a regular account.

Wrong. A customer can create a regular account after using COWOA.

Its actually the other way around. They cannot use COWOA after they have created a regular account.

audleman:

However if they try to retrieve their password, the COWOA mod to the password lookup page will tell them their email doesn't exist -- a perplexing result for the customer.

This is correct. A COWOA customer cannot retreive a password.

I think maybe your customer gave you the wrong info and was not too clear on which steps they did and in what order. Perhaps they created an account first and then tried to COWOA?

09 Jan 2009, 21:38
#734
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:

Wrong. A customer can create a regular account after using COWOA.

I tested this scenario and was unable to create a new account with the same email address that had been used in COWOA. If you're saying it is possible, I will take it that I failed to update my login.php script when installing this module.

Thank you,
Kevin

13 Jan 2009, 16:50
#735
bean48009 avatar

bean48009

New Zenner

Join Date:
Dec 2007
Posts:
6
Plugin Contributions:
1

Re: My Checkout Without Account Mod

I cant seem to get past the "Billing Information" page. I fill everything out and when I click "Submit" it reloads the page.

see here: https://www.toolsupplystore.com/index.php?main_page=no_account

Please Help!

13 Jan 2009, 17:37
#736
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

bean48009:

I cant seem to get past the "Billing Information" page. I fill everything out and when I click "Submit" it reloads the page.

see here: https://www.toolsupplystore.com/index.php?main_page=no_account

Please Help!

Hmm... not sure if you fixed anything since you last posted, but I was able to get through COWOA checkout just fine. You'll have to delete me from your customers list. I should be there a few times. :smile:

One little thing... your no_account checkout page has the "state" field, but there is nothing next to the field that explains what that field is for. Most people with a brain would be able to figure it out, but you know how there are always a few customers who are a little impaired!

19 Jan 2009, 13:18
#737
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: My Checkout Without Account Mod

anyone in this thread knows why we can't simply allow accounts to be created with the same address over and over again?

As each customer gets assigned a unique customer_id i really can't be bothered if they create 1 or 10 accounts with the same e-mail address, as long as they're buying :P
(and don't care of receiving a lot of the same e-mails, heh)

thanks,
Jeroen

23 Jan 2009, 22:00
#738
techdog avatar

techdog

New Zenner

Join Date:
Dec 2008
Location:
Long Beach, WA
Posts:
10
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I am experience a similar problem. I have double checked and ALL of the files have been upload but after someone enters their name and address, they are directed to http://annalena.com/shop/index.php?main_page=no_account and the page is blank.

23 Jan 2009, 22:21
#739
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

techdog:

I am experience a similar problem. I have double checked and ALL of the files have been upload but after someone enters their name and address, they are directed to http://annalena.com/shop/index.php?main_page=no_account and the page is blank.

Did you enter the SQL into Admin>Tools>Install SQL patches? (Step 4 from the install instuctions)

I'm just thinking that if you didn't, then there is no spot in the database for the info to go and maybe that would cause a blank page.

23 Jan 2009, 22:26
#740
techdog avatar

techdog

New Zenner

Join Date:
Dec 2008
Location:
Long Beach, WA
Posts:
10
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I forgot to mention that whenever someone attempts to add an item to their shopping cart I get a blank page there too. I am not sure if these are related but I'm hopeful that 1 fix will cover both. Thanks. - Karl