Zen Cart Logo
Forums / All Other Contributions/Addons / COWOA (for ZC v1.5.x)

COWOA (for ZC v1.5.x)

Views: 159,097

Results 781 to 800 of 854
16 Jun 2017, 2:40 AM
#781
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

COWOA (for ZC v1.5.x)

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

16 Jun 2017, 3:18 AM
#782
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

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

16 Jun 2017, 3:31 AM
#783
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

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

17 Jun 2017, 2:04 AM
#784
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: COWOA (for ZC v1.5.x)

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.

27 Jun 2017, 3:18 PM
#785
thegoodlifestore avatar

thegoodlifestore

New Zenner

Join Date:
Oct 2007
Location:
North Carolina
Posts:
102
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

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."

27 Jun 2017, 6:58 PM
#786
thegoodlifestore avatar

thegoodlifestore

New Zenner

Join Date:
Oct 2007
Location:
North Carolina
Posts:
102
Plugin Contributions:
0

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. :)

28 Jun 2017, 9:16 AM
#787
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

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

28 Jun 2017, 1:58 PM
#788
thegoodlifestore avatar

thegoodlifestore

New Zenner

Join Date:
Oct 2007
Location:
North Carolina
Posts:
102
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

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.

20 Sep 2017, 6:04 PM
#789
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

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

20 Sep 2017, 6:09 PM
#790
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

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.

20 Sep 2017, 6:14 PM
#791
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

thank you! should I uninstall everything done to this point and just start over with the git hub version?

20 Sep 2017, 6:17 PM
#792
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

thank you! should I just uninstall what I did so far and then just reinstall the git hub version?

20 Sep 2017, 6:18 PM
#793
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

dpeterson:

thank you! should I uninstall everything done to this point and just start over with the git hub version?

If you want to be thorough, you should remove what you've done an start fresh with the correct version.

20 Sep 2017, 6:27 PM
#794
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

am I just not seeing how to download the file or does everything just need to be inserted manually?

20 Sep 2017, 6:34 PM
#795
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Look for the Clone or Download button on the right side.

https://github.com/DivaVocals/zen_COWOA

Click and then select Download ZIP.

20 Sep 2017, 6:35 PM
#796
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

just found it thank you very much

21 Sep 2017, 1:46 PM
#797
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

I recently installed COWOA into Zen Cart and the admin home page changed. Is that related? Is there a way to turn back to the three panels with boxes? All the top line menus are now listed as hyperlinks. Thank you!

Attachment 17318

21 Sep 2017, 3:34 PM
#798
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

dpeterson:

I recently installed COWOA into Zen Cart and the admin home page changed. Is that related? Is there a way to turn back to the three panels with boxes? All the top line menus are now listed as hyperlinks. Thank you!

Attachment 17318

Try refreshing the admin first. If that does not work, look at YOUR_ADMIN/includes/stylesheet.css Compare your current version to the ZC default. The one in the plugin should be fine, but compare to be sure.

21 Sep 2017, 4:40 PM
#799
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: COWOA (for ZC v1.5.x)

COWOA edits the index.php page of admin. In ZC 1.5.5 a index_dashboard.php was added which should be edited not index.php

Replace the index.php with the original file and use the index_dashboard.php file to make your edits.

21 Sep 2017, 4:45 PM
#800
dpeterson avatar

dpeterson

New Zenner

Join Date:
Apr 2017
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

jeking:

Try refreshing the admin first. If that does not work, look at YOUR_ADMIN/includes/stylesheet.css Compare your current version to the ZC default. The one in the plugin should be fine, but compare to be sure.

Yes, the file was different, just loaded up the original and worked perfect thank you!