Forums / All Other Contributions/Addons / COWOA Module (my update for ZC v1.3.x)

COWOA Module (my update for ZC v1.3.x)

Views: 65,979

Results 141 to 160 of 400
20 Sep 2010, 6:28 PM
#142
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

Joseph_Greely:

JT I've read through the thread to see if the answer to my following question was here, but didn't find it. If I missed it, sorry, but here's the question: With your latest version, does it work if all the files using directories where overrides are allowed, are in the override file, instead of over-writting the core files? The reason I ask is that many of the files listed in step 4 of the installation instructions are in folders that have the override ability, but do not show to be setup in the override folders. I know that the override folders don't work in regards to some addons though for various reasons. So before I attempt to do it, I wanted to ask to see, if it's been tested, and if so, does it work if they are all listed in the override (YOUR_TEMPLATE) folder? If not, I'll over-write the core files. Thank you.

If you have Version C1, then the only files that touch CORE files are the 1st 14 and this is because changes have been added to the CORE files and I do not think you can use the override system for these, however, I could be wrong. In the FILES that are ADDED section, they use the override system or are NEW FILES that are not part of the CORE File System. Originally, I was putting templates in the default_template/templates folder but no longer do, they have all been added to the YOUR_TEMPLATE section.
If you find a way to add any of the 1st 14 files listed in the install text to the override system, please let me know and I will change it in future releases.

I just looked at the install.txt file and realized that I didn't change the language files to reflect that they should be in a YOUR_TEMPLATES folder as well. They are this way in the install files though. The pages files cannot use the override system, so there will still be 7 files that have to be overwritten or merged.

Also it shows /includes/classes/order.php as an added file but it is a core file as well.

Thanks for pointing this out to me.

21 Sep 2010, 3:57 PM
#143
flipperry avatar

flipperry

New Zenner

Join Date:
Feb 2009
Posts:
79
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Okay, what am I doing wrong? I've checked, re-checked, and checked again. I am sure that I did everything right, but this is not showing up on my login page! What am I supposed to do? I did a "View Source" of the login page, and there is NO reference to COWOA or any form of it.

I need some help with this!:frusty:

I really want to get this mod working on my site because I think that we might have more productivity. PLEASE help...:cry:

By the way, I have ZC 1.3.9f and COWOA 2.0C1

Flip Perry
S~Scents

21 Sep 2010, 4:01 PM
#144
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

flipperry:

Okay, what am I doing wrong? I've checked, re-checked, and checked again. I am sure that I did everything right, but this is not showing up on my login page! What am I supposed to do? I did a "View Source" of the login page, and there is NO reference to COWOA or any form of it.

I need some help with this!:frusty:

I really want to get this mod working on my site because I think that we might have more productivity. PLEASE help...:cry:

By the way, I have ZC 1.3.9f and COWOA 2.0C1

Did you rename the YOUR_TEMPLATE in the modules and templates folder to the name of your template, even if you don't have a custom one, they should be renamed to classic.
Lastly, did you turn it on in the configuration page?

21 Sep 2010, 4:19 PM
#145
flipperry avatar

flipperry

New Zenner

Join Date:
Feb 2009
Posts:
79
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Did you rename the YOUR_TEMPLATE in the modules and templates folder to the name of your template, even if you don't have a custom one, they should be renamed to classic.
Lastly, did you turn it on in the configuration page?

Yes, I renamed YOUR_TEMPLATE, and it's turned on.
Here's my settings from my Admin:

Cowoa true
Enable Order Status true
Enable E-Mail Only false
Enable Forced Logoff true

Any ideas? My site is Here

Flip Perry
S~Scents

21 Sep 2010, 4:57 PM
#146
joseph_greely avatar

joseph_greely

New Zenner

Join Date:
Aug 2010
Location:
Spokane, Washington, United States
Posts:
34
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

JTheed:

If you have Version C1, then the only files that touch CORE files are the 1st 14 and this is because changes have been added to the CORE files and I do not think you can use the override system for these, however, I could be wrong. In the FILES that are ADDED section, they use the override system or are NEW FILES that are not part of the CORE File System. Originally, I was putting templates in the default_template/templates folder but no longer do, they have all been added to the YOUR_TEMPLATE section.
If you find a way to add any of the 1st 14 files listed in the install text to the override system, please let me know and I will change it in future releases.

I just looked at the install.txt file and realized that I didn't change the language files to reflect that they should be in a YOUR_TEMPLATES folder as well. They are this way in the install files though. The pages files cannot use the override system, so there will still be 7 files that have to be overwritten or merged.

Also it shows /includes/classes/order.php as an added file but it is a core file as well.

Thanks for pointing this out to me.

JT thank you for your quick response to my question, and I will let you know how things work out after launching later today, for this mod will benefit me once I am fully up and running later this month ( I am using zen-cart-v1.3.9f). However, I have one more quick question. Just to verify, though it would seem obvious, is the "tpl_header.php" you refer to in STEP 1a of ver. C1 "templates/template_default/common/tpl_header.php", which would be put into my custom template folder? The reason I ask, is that the code line in the original file looks like "<?php if ($_SESSION['customer_id']) { ?>", not, "(($_SESSION['customer_id']) { ?>", before changing to "(($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='TRUE')) { ?>". I'm assuming it was just an accidental typo in the instructions, or, am I attempting to change the wrong file?

21 Sep 2010, 8:08 PM
#147
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

flipperry:

Yes, I renamed YOUR_TEMPLATE, and it's turned on.
Here's my settings from my Admin:

Any ideas? My site is Here

I went to your site and manually entered the page that should come up and it doesn't, so that tells me that it's either not there or not where it is supposed to be. There is a YOUR_TEMPLATE Folder under three folders, the Templates, Modules and languages/english folders. Did you rename them all?

21 Sep 2010, 9:16 PM
#148
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

@khopek: Was there something in your cart? The COWOA bit doesn't show up on the login page unles there is ...

Yes I did add something to my cart first.

flipperry:

Okay, what am I doing wrong? I've checked, re-checked, and checked again. I am sure that I did everything right, but this is not showing up on my login page! What am I supposed to do? I did a "View Source" of the login page, and there is NO reference to COWOA or any form of it.

I need some help with this!:frusty:

I really want to get this mod working on my site because I think that we might have more productivity. PLEASE help...:cry:

By the way, I have ZC 1.3.9f and COWOA 2.0C1

Don't feel bad, I'm having the same problem. :D

21 Sep 2010, 10:27 PM
#149
flipperry avatar

flipperry

New Zenner

Join Date:
Feb 2009
Posts:
79
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

JTheed:

I went to your site and manually entered the page that should come up and it doesn't, so that tells me that it's either not there or not where it is supposed to be. There is a YOUR_TEMPLATE Folder under three folders, the Templates, Modules and languages/english folders. Did you rename them all?

I just checked, and I did rename all of those folders... I'll try the FTP again and see if that works...

Flip Perry
S~Scents

22 Sep 2010, 12:10 AM
#150
flipperry avatar

flipperry

New Zenner

Join Date:
Feb 2009
Posts:
79
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

I re-uploaded the files, and this time I put the languages/english files (all of them) in an override file so instead of english, it would be includes/languages/YOUR_TEMPLATE ...... Looks like it works now :clap:
Testing it right now, I will report back in a little while.

Flip Perry
S~Scents

22 Sep 2010, 8:56 PM
#151
flipperry avatar

flipperry

New Zenner

Join Date:
Feb 2009
Posts:
79
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

:clap::clap::clap::clap::clap::clap::clap:
IT WORKED!!!! PUTTING THE FILES IN MY LANGUAGE OVERRIDE FOLDER WORKED!!! I tested the COWOA, and everything works great!

Flip Perry
S~Scents

23 Sep 2010, 2:45 AM
#152
joseph_greely avatar

joseph_greely

New Zenner

Join Date:
Aug 2010
Location:
Spokane, Washington, United States
Posts:
34
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Still in the testing phase of COWOA and enjoying the potential it has to offer! While testing the emails sent out to customers though, I have one issue that I have been unable to resolve, and request help to locate the file to correct it.

After the customer COWOA completes their purchase, the email goes out as setup, with everything appearing the way it should. However, when the status of the order is updated in admin, and the email with that information is generated and sent out to the customer, at the bottom where the "Copyright (c) 2010 company name. Powered by Zen Cart" should be located, it says "Copyright (C) 2010 Zen Cart. Powered by Zen Cart". I have been unable to find where to correct this, and it only shows up in the emails sent out when the Order Status is updated in admin. :frusty:

Does anyone know which file the code would be in, that I need to change for this one specific email that's sent to customers? This is the only one that I seem to not be able to locate. Thank you.

24 Sep 2010, 8:45 PM
#153
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: COWOA Module (my update for ZC v1.3.x)

There's a validation/functionality (?) issue in v2.0c on the no_account page, due to /includes/templates/YOURS/tpl_modules_no_account.php (starting at line 142):

<br class="clearBoth" />
<input type="hidden" name="email_format" value="TEXT" checked="checked" id="email-format-text" />

The 'email-format-text' id is also used by the radio buttons where the COWOA customer can (maybe) choose their e-mail format.

26 Sep 2010, 4:09 PM
#154
ekele avatar

ekele

Zen Follower

Join Date:
Apr 2010
Location:
UK
Posts:
150
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Hello!

I am again thinking of installing FEC. And I have a question: to avoid problems should I uninstalled COWOA first? Is it enough if I uninstall SQL patches?

13 Oct 2010, 9:19 AM
#155
paul69 avatar

paul69

Zen Follower

Join Date:
Jan 2010
Posts:
124
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Anyone know any more about this line in the install instructions? I can't find that line to replace so will it cause a problem?

"STEP 1a - In your custom template son your cart, edit the tpl_header.php file and look for this line.

<?php if (($_SESSION['customer_id']) { ?>

change it to this.

<?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>

This prevents the My Account from showing up after the COWOA Users enters their Order Number and E-Mail Address to view their order."

13 Oct 2010, 11:59 AM
#156
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

Paul69:

Anyone know any more about this line in the install instructions? I can't find that line to replace so will it cause a problem?

"STEP 1a - In your custom template son your cart, edit the tpl_header.php file and look for this line.

<?php if (($_SESSION['customer_id']) { ?>

change it to this.

<?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>

This prevents the My Account from showing up after the COWOA Users enters their Order Number and E-Mail Address to view their order."

It will not cause a problem. Someone just didn't want the MY Account to show up on the page. If you do not want it to show up, try using the Admin/Tools/Developers Tool Kit, and look for
HEADER_TITLE_MY_ACCOUNT

Your MY Account title may be in a different file.

13 Oct 2010, 12:09 PM
#157
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

ekele:

Hello!

I am again thinking of installing FEC. And I have a question: to avoid problems should I uninstalled COWOA first? Is it enough if I uninstall SQL patches?

Would probably be best to remove the modified files as well in case FEC does not overwrite them.

13 Oct 2010, 12:14 PM
#158
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

lat9:

There's a validation/functionality (?) issue in v2.0c on the no_account page, due to /includes/templates/YOURS/tpl_modules_no_account.php (starting at line 142):

<br class="clearBoth" /> <input type="hidden" name="email_format" value="TEXT" checked="checked" id="email-format-text" /> ``` > > The 'email-format-text' id is also used by the radio buttons where the COWOA customer can (maybe) choose their e-mail format.

That line can be removed. It was some left over code. Good Catch.

13 Oct 2010, 1:01 PM
#159
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: COWOA Module (my update for ZC v1.3.x)

Joseph_Greely:

Still in the testing phase of COWOA and enjoying the potential it has to offer! While testing the emails sent out to customers though, I have one issue that I have been unable to resolve, and request help to locate the file to correct it.

After the customer COWOA completes their purchase, the email goes out as setup, with everything appearing the way it should. However, when the status of the order is updated in admin, and the email with that information is generated and sent out to the customer, at the bottom where the "Copyright (c) 2010 company name. Powered by Zen Cart" should be located, it says "Copyright (C) 2010 Zen Cart. Powered by Zen Cart". I have been unable to find where to correct this, and it only shows up in the emails sent out when the Order Status is updated in admin. :frusty:

Does anyone know which file the code would be in, that I need to change for this one specific email that's sent to customers? This is the only one that I seem to not be able to locate. Thank you.

The code is in includes/classes/order.php but was not changed from the original code.

This is defined in the file email_extras.php located under admin/includes/languages/english

  define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' [B]<a href="http://www.gticustom.com" target="_blank">GTICustom</a>[/B]. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

By default, it is left as Zen Cart. Above you can see where I changed it to show my site in red.

15 Oct 2010, 7:24 PM
#160
garnet6 avatar

garnet6

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: COWOA Module (my update for ZC v1.3.x)

Help please! I have free shipping for a total of $45 worth of purchase. It doesn't work with COWOA. Free shipping is working only if customers log in. What should I do?