Re: COWOA (for ZC v1.5.x)
Quote:
Originally Posted by
thegoodlifestore
Hi fellow Zen Cart-ers,
We have a one time use per customer coupon we offer to first time buyers. Unfortunately, we have a customer that has been using COWOA and has been able to reuse the coupon every single time she checks out. I looked at the customer list and it looks like she is getting assigned a new ID # every time she shops even though she is using the same billing/shipping/email address.
Attachment 17037
Is there a way to get around the cart treating her like a new customer every time she uses COWOA?
We are using Zen Cart 1.5.4 and COWOA 2.4
Any help will be appreciated.
Obvious questions:
Is she really getting a new ID# (verify in Customers)?
Is in this Coupon settings Max. uses per customer set to 1?
IMHO in ZenCart you cannot have two customers having the same email address.
However, I see the different ID#'s in your post...:unsure:
In COWOA 2.7 a customer ordering for the second time w/o account, using the same email address, does not get a new (different) ID# and an existing Customer Referral 1st Discount Coupon has not been changed.
jpda
Re: COWOA (for ZC v1.5.x)
Quote:
IMHO in ZenCart you cannot have two customers having the same email address.
Verified in ZC 1.5.5e and ZC 1.5.4
jpda
Re: COWOA (for ZC v1.5.x)
COWOA v2.7 for ZC 1.5.4 has a check for an existing COWOA account in includes/modules/YOUR_TEMPLATE/create_account.php.
Does COWOA v2.4 has such a check?
jpda
Re: COWOA (for ZC v1.5.x)
Quote:
ZenCart you cannot have two customers having the same email address.
True..
Past COWOA used a method of placing a dot in-front of the email address to hid it from ZC. around 2.7 this was changed to a column setting to ID the account type and behave accordingly. Upgrading is the best fix, but may also leave a mess in user accounts so a follow up with phpmyadmin to correct database issues would also be advised.
Re: COWOA (for ZC v1.5.x)
Quote:
Originally Posted by
davewest
True..
Past COWOA used a method of placing a dot in-front of the email address to hid it from ZC. around 2.7 this was changed to a column setting to ID the account type and behave accordingly. Upgrading is the best fix, but may also leave a mess in user accounts so a follow up with phpmyadmin to correct database issues would also be advised.
I see that COWOA 2.7 is still in development? So that makes me a little nervous about upgrading. And what kind of database issues might be caused by upgrading?
PLUS ... I am seeing in the install instructions for 2.7 that "COWOA 2.7 IS NOT COMPATIBLE WITH VERSIONS OF ZEN CART PRIOR TO ZEN CART 1.5.5."
Re: COWOA (for ZC v1.5.x)
Thanks for the pointers to the COWOA 2.7 files.
I played around and added the code that checks for an existing COWOA customer to the existing 2.4 install and it seems to be working. I tried checking out several times and it only created one new customer/ID whereas before the cart was creating a new customer/ID each time I tried to checkout with the same e-mail address.
There are two checks that needed to be added.
One in: includes/modules/YOUR_TEMPLATE/create_account.php
One in: includes/modules/YOUR_TEMPLATE/no_account.php
Thanks again for getting me pointed towards a solution to my problem. :)
Re: COWOA (for ZC v1.5.x)
Quote:
Originally Posted by
thegoodlifestore
I see that COWOA 2.7 is still in development? So that makes me a little nervous about upgrading. And what kind of database issues might be caused by upgrading?
PLUS ... I am seeing in the install instructions for 2.7 that "COWOA 2.7 IS NOT COMPATIBLE WITH VERSIONS OF ZEN CART PRIOR TO ZEN CART 1.5.5."
The install set contains a separate folder for ZC 1.5.4.
jpda
Re: COWOA (for ZC v1.5.x)
Quote:
Originally Posted by
jpda
The install set contains a separate folder for ZC 1.5.4.
I did see that after I posted the message. Thanks again everyone for the pointer to the COWOA 2.7 files.
Re: COWOA (for ZC v1.5.x)
I am trying to install COWOA 2.4 (most recent version to download) and everything goes well until I install the SQL patch.
Specifically the larger chunk "INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES .... "
Every time I try to add that I receive an error. All other lines go in fine. Please advise.
Using ZenCart 1.5.5
Re: COWOA (for ZC v1.5.x)
Quote:
Originally Posted by
dpeterson
I am trying to install COWOA 2.4 (most recent version to download) and everything goes well until I install the SQL patch.
Specifically the larger chunk "INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES .... "
Every time I try to add that I receive an error. All other lines go in fine. Please advise.
Using ZenCart 1.5.5
Search this thread for the version on GitHub. 2.4 is not designed for ZC 1.5.5.