You were right, craftzombie - it was extra spaces that were killing me. I bow to the master! I've made "Log Off" go away, now I'll get rid of "My Account."
Printable View
You were right, craftzombie - it was extra spaces that were killing me. I bow to the master! I've made "Log Off" go away, now I'll get rid of "My Account."
I did some additional testing today on www.liferingtest.com and noticed that the Log In link is now gone from the Home page. I would have expected that the IF statement I put in would only turn it off after someone had chosen to Checkout Without Account. Am I missing something here? This is the statement I put into
/includes/templates/LifeRing/common/tpl_header.php
<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li><?php } ?>
Should the final <?php } ?> be inside or outside the </li> tag?? It seems to work both ways. Also, shouldn't there be TWO <?php } ?> statements, one for "if COWOA" and one for "if customer_id"?? But when I put up 2 closing brace statements, my site goes blank again.
You can get to the login page by clicking on My Account but that isn't very intuitive.
Hedera,
Here is the code, copied and pasted from my tpl_header file:
Take a look at it and see if any of it helps you. With this code, my site does the following:Code:<table border="0" align="center" cellpadding="0" cellspacing="0" width="770" id="menlink">
<tr><td><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></td>
<td align="right" width="75%">
<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>Home</a> |
<?php if (!$_SESSION['customer_id']) { ?>
<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>">Login</a><?php } ?>
<?php if (!$_SESSION['customer_id']) { ?> | <a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>">Register</a> <?php } ?>
<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
<a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">My Account</a> | <?php } ?><?php } ?>
<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
<a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">Logout</a></li><?php } ?><?php } ?>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
| <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">View Cart</a>
| <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>">Checkout</a>
<?php }?>
<br><br>
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
</tr>
</table>
When a customer comes to my site, the header only displays "Home", "Login", and "Register".
When they create an account or are logged in, "Login" and "Register" get replaced with "Logout" and "My Account".
When they are COWOA, "Login", "Logout", and "My Account" disappear.
Thank you VERY much, I'll study that carefully, since I'd like it to do exactly that.
Craftzombie, my ignorance is showing again. In several places in your code, you use a function I can't find defined anywhere: you separate two statements with a single | (pipe) character. Can you briefly explain that? Is it some kind of logical operator??
I hate to put something up if I don't understand what it does, and the only thing I'm sure of is that the single | is not a PHP operator...
That is just what I use to separate the links, since I am not using <li> with bullets or anything like that. Looks like this:
http://craftzombie.com/images/zencart/image.jpg
Its not necessary. It just prefer is over using dashes. :smile:
D'oh! Thank you again...
No problem! In the past, when I wasn't so busy, I used to get into peoples sites (with their permission of course) and fix COWOA for them. But I barely have time to pee anymore! :wacko: Otherwise, I would try to fix it for you. Not that I am an expert. Really, I just figure things out by f$%#ing them up and learning from my mistakes. And thank god for these boards.
What really drove me nutz about the | character is: I use them that way myself, on my personal web site which I haven't had time to play with for months because I've been working on ZenCart! You can see them in the header navbar at www.karenivy.net! And I missed the identical use in your code... gah.
Hi,
I just installed COWOA for v1.3.8 (downloaded from http://www.zen-cart.com/wiki/index.p...ithout_Account).
After sucessfully updating files and running the sql patch, I went ahead and test it. When I checkout I get the 3 options, register new account, login, or checkout without account. When I click on checkout without account, it gives me a page not found error.
Upon looking at url it goes to index.php?main_page=FILENAME_NO_NAME its seems its trying to find that file but can't.
Does anyone know how to fix this problem? Or give me some tips? Thanks.
Hi CraftZombie,
When I looked at your test website http://craftzombie.com/cowoa137/inde...ain_page=login for cowoa, I noticed that the url is
"index.php?main_page=no_account" when you put the cursor over the button to checkout without an account. For some reason my url is "index.php?main_page=FILENAME_NO_ACCOUNT". I don't know if this is because of the difference between v1.3.7 and v1.3.8.
Any idea what is going wrong here?
It means that all of your files did not transfer properly. Zen is looking for a file that currently does not exist in your file structure. You need to reinstall includes\templates\YOUR_TEMPLATE\templates\tpl_modules_no_account.php and includes\templates\YOUR_TEMPLATE\templates\tpl_no_account_default.php, but I would also try reinstalling everything else because there could be others that also did not transfer properly.
Thanks CraftZombie!
Somebody needs to update the installation instructions because it did not include instructions to upload those 2 files. I uploaded according to the instructions and it didn't mention those files, but thanks anyways. I'm going to try it out now! Thanks.
OK it was my bad. Step 2 said to upload the includes directory. Everything seems to be working now. I'm going to continue to test. Thanks for the help!
Hello,
Hi, I've installed this mod with the Tableless Order Steps option, but the bar display has a problem. I have 'TEXT_ORDER_STEPS_BILLING' as the first step instead of 'Billing'
Any fix for this?
hi craftzombie,
i was going back to the installation instructions to make sure i'm doing things correctly. My questions is on step 3. What is the difference when you say the files are OVER-RIDDEN as compared to OVER-WRITTEN? For that step I just replaced all the files that were listed. Did I do something wrong?
Thanks.
Hi craftzombie,
in step 3 it says that "five stock files are over-written" is it possible that instead of replacing these files, I go ahead and over-ride them instead? I'm thinking its not possible since I think it says that a classic folder has to be in the same directory in order to create a custom folder. Is this correct?
You cannot override core files. That is why backing up your files comes in handy. You need to install those files exactly how the mod suggests, otherwise it won't work.
no difference, just depends on what my fingers feel like typing that day.
Did includes/languages/english/extra_definitions/order_steps_defines.php install correctly? If you open up that file and look at it, you can see that the definition for TEXT_ORDER_STEPS_BILLING should be "Billing". Could be that your FTP didn't transfer? Are the other order steps showing correctly?
No, the order_steps_defines.php did install correctly. The other order steps are showing correctly. Even if I try to change any of the other defines like TEXT_ORDER_STEPS_1 or TEXT_ORDER_STEPS_2 and upload it to my ftp, it doesn't change the text in the bar.
So, I don't think this is what defines it. Would it be anywhere else?
I was able to fix it myself. The definition is located under \\includes\languages\english\extra_definitions\apple_zen\order_steps_defines.php . I had to add define('TEXT_ORDER_STEPS_BILLING', 'Billing'); to the file because it was missing.
Thanks for your help craftzombie. You pointed me in the right direction.
apple_zen is your template. apple_zen is the override folder that you install this mod and all other mods into (unless you are installing core files, which do not get installed into your override folder). If you are not doing this, all of these mods and changes you are making will be erased if you ever decide to upgrade your version of Zen Cart. Always install into your override folder.
And I mean apple_zen as in....
includes/templates/apple_zen/templates/
or
includes/languages/english/apple_zen/
There should be apple_zen's all over the place!
Not sure if you already know all of this. Just trying to help! :smile:
I have installed COWOA and it works just fine, I only use COWOA and there is no possibility to log in or log out or creating accounts at all. One thing bothers me though while testing it. When I'm in the middle of ordering (as if I get a phone call or something) and I get a session timeout, this text shows up: 'Whoops! Your session has expired.' And then I'm requested to log in again :(
Has anyone got some good idea how to get rid of this?
That is how Zen Cart normally functions, it has nothing to do with COWOA. If a COWOA customer waits too long, they will lose their cart. All the more reason to push account creation, although some people just refuse to.
I think you can make sessions last longer, and I think they advise not to do so. But if you search for "session timeout" or something like that, you can find answers on these boards.
Hi. I have just migrated over from Cubecart, so please help me.
I have installed Zen Cart 1.3.8 and COWOA for that version, onto a xampp development environment on my pc. The zen cart works perfectly and is the basic deal with no mods. I have installed COWOA by replacing the files directly and installing the SQL, but I still end up with the standard zen cart checkout page. NO option to checkout without account? I also put a fresh install of zen cart and dragged the COWOA folders into it, updated the sql, but still end up with the standard zen cart checkout, with no option to checkout without an account?
When I paste and enter the sql through the admin tool, it comes up with the sql above the box, so I am assuming this means it has been entered correctly? Remember I'm new to zen cart!!
Every file has been transferred like for like, but still no joy. I know that it is probably something very basic causing this, but any suggestions would be appreciated.
Thanks.
Also, for any new users who have a problem with COWOA showing up on the login page during checkout.....
You can do a little testing to see where your problem is by putting something like this into the address bar, with the name of your site of course (i had to mention it because i just know someone will actually put in "yoursite.com"!):
http://www.YOURSITE.com/index.php?main_page=no_account
If that page comes up, you can go all the way through and test to see if COWOA works. If it does, then your problem lies with the login page. Many times, the file transfer didn't work or you just overlooked the code if you added it manually. Try re-installing install\overrides-writes\includes\templates\YOUR_TEMPLATE\templates\tpl_login_default.php
Hi. Setting the split page login brings up the dialogue ok now. Thanks for that Craftzombie.
When I click the checkout without an account tab, I now get a page not found message and the following appears in the title bar.
http://localhost/xampp/zen-cart/inde...AME_NO_ACCOUNT
(It is on a local development setup on my pc.)
As I am new to Zen Cart as well as the Cowoa add on, am I looking at setting another admin function, or relocating a missing file?
Any help or advice would be GREATLY appreciated.
Thanks.
Okay, this means you are missing some files. Try re-installing
install\includes\templates\YOUR_TEMPLATE\templates\tpl_modules_no_account.php
and
install\includes\templates\YOUR_TEMPLATE\templates\tpl_no_account_default.php
If thats not it, you'll have to try re-installing everything. Somewhere along the way, you have missed some files.
Thanks for that Craftzombie. Had missed a couple of files out, but got it all working now. Thank you for your help on this.
Without going back through 64 pages of postings, is there an easy way to remove elements from the page such as telephone number, or is Cowoa directly linked into the main zen cart files?
Thanks..
You can make the phone optional or remove it completely. To do either one, you must do step 1 from this link:
http://www.zen-cart.com/forum/showpo...24&postcount=2
To make it optional, continue doing step 2.
To remove the phone completely, do step 1, but then go to
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_no_account.php,
and remove this:
You can do the same thing to the regular Zen sign up page by removing similar code from includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php.Code:<br class="clearBoth" />
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>
You can most likely remove other elements on the page(s) in the same manner. I haven't tried all of them, so I am not sure which ones will or will not work. But you probably have to make adjustment in the admin for those as well.
Thanks for all the help Craftzombie, it really is much appreciated. As I use Paypal (IPN) for processing, I didn't want customers to end up putting too many fields on there.
I had tried the disable registration mod by IVUM, but as it doesn't give you any opportunity to enter your location, it is totally incapable of working out shipping. The Cowoa solution is far more workable option.
It had to be said, that the people on here are more friendly and helpful than on the Cubecart forums. Glad I made the switch.
Thanks again.
No problem! When I have time, I am glad to help anyone.
Has anyone else implemented the mod posted by barnmania back in April 2007 that allows people not logged in to write reviews? Are there any issues with that? Does moderation work if this is done?
I have a page of reviews written on our old site which I would like to put on the ZC site - how would I get them into the system, with the associated names and initials? There are 43 of them, so the prospect of adding them all, one at a time, is kind of daunting. I'd like to just put them on the Reviews page, but since it's database driven I'm not sure that will work.
Any suggestions?
For everyone's information, I have this working and it looks great - but I've decided to put a link to the old reviews on the product page, rather than add them into the database, because the database date-stamps them, and I don't have dates, the comments go back 3-5 years. But in case you wondered, it's perfectly possible to have reviews without login, thanks to barnmania's mod.
I having a little trouble with the Zen-Cart checkout without account feature. If I'm not mistaken this feature is standard, so what is this mod for?
Please pardon me for my ignorance.:blush:
I'm trying to find a thread about this Zen-Cart feature, but only came across your thread.
thanks
Is this mod compatible with PayPal Express Checkout?
Sorry another question.
Since a shopper can shop multiple times using this mod without explicitly creating an account, can they also use a coupon designed to be used one one time for each customer, a welcome coupon for instance.
Thanks again craftzombie.
This mod will not give me the effect I want. Since it will allow shoppers to use the coupon multiple times, it will affect the way the I manage discounts.
thanks
I am testing this mod in my eshop, I did every steps according to the instruction. Everything goes well but one problem as following:
/includes/templates/YOUR_TEMPLATE/common/tpl_header.php
====================================================================
FIND:
-
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
-
REPLACE WITH:
-
<?php if (!($_SESSION['COWOA'])) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li><?php } ?>
====================================================================
1,if i override the tpl_header.php with the page comes with this mod, the whole page was in disorder.
2,if i override the above code , page is the same as usual, no COWOA displays when customer checkout.
My zen-cart 1.38 uses Atheme Template
1,if i override the tpl_header.php with the page comes with this mod, the whole page was in disorder.
That is because the code changes were done with the standard template that comes with Zen. If you have a special template you are using, you need to make the manual changes instead of just overriding the whole file.
2,if i override the above code , page is the same as usual, no COWOA displays when customer checkout.
That code change has to do with the "My Account" link on the top of your site. COWOA should appear on the login page (when there are items in the cart) whether or not you make that code change. It has no affect on the entire COWOA, it just makes "My Account" disappear if a customer is checking out with COWOA.
Your problem lies somewhere else.
The first thing to check....
Do you have split-login turned on??
Admin>Configuration>Layout Settings>Use split-login page
If you do have split-login on, what happens when you type in:
http://www.YOURSITE.com/index.php?main_page=no_account
(replacing YOURSITE.com with your actual site name of course)
If that page does appear, your problem is probably with the login page itself, missing the correct code changes to make the COWOA section appear. Let me know what you find out. We'll get to the bottom of it!
thank you .
1,i have turned on the split-login
2,http://www.nowsweet.com/index.php?main_page=no_account works
what sould i do next?
checked /includes/languages/english/iC_AthemeV1.3/login.php
Code:define('HEADING_RETURNING_CUSTOMER', 'Returning Customers: Please Log In');
define('HEADING_RETURNING_CUSTOMER_SPLIT', 'Returning Customers');
define('TEXT_RATHER_COWOA', 'For a faster checkout experience, we offer the option to checkout without creating an account.<br />');
define('COWOA_HEADING', 'Checkout Without An Account');
define('TEXT_RETURNING_CUSTOMER_SPLIT', '<strong>' . STORE_NAME . '</strong> account holders may login below.');
define('TEXT_PASSWORD_FORGOTTEN', 'Forgot your password?');
I found the mistake I MADE after reviewing pre posts.I fogot to upload the three files @ \install\overrides-writes\includes\templates\YOUR_TEMPLATE\templates.
Thank you
I recently installed COWOA. I customer made a purchase using COWOA and later created an account. He now has two accounts in admin. Same email. I thought the mod was supposed to combine the account. Did I miss something here?
Hi
I have a strange problem with cowoa.
Fist of all the problem I asked about some time ago, with the prgress bar scrolling down to the second line. This problem only seems to occur as particular widths.
You can see here at www.lozer.co.uk/shop
If you change the width of the window the progress bar wraps to the next line. But only at particular widths. Any Ideas why. You can have it really narrow and its fine. Widen it a bit and it wraps.
Also the progress bar is not present at all on the payment stage, when checking out with or without an account. Any ideas on that one, as I have run out of ideas.
Many thanks for any help.
You can test with the above web address. In fact anyone who can spot any other errors, I would really appreciate the feedback.
I'm not seeing a problem with this. The bar never wraps for me. It just shrinks down with the width of the window. I tried many different widths (in Firefox). Maybe you fixed it already???
Since it is working on every other stage of checkout, alarms should be going off that perhaps code is missing from the payment page only, probably an oversight during installation or an FTP error. If you view source on the payment page, there is no order steps code on that page (should be appearing underneath the "Step 3 of 5 - Payment Information" when you view source).
Open includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_payment_default.php and underneath <h1 id="checkoutPaymentHeading"><?php echo HEADING_TITLE; ?></h1>
add this:
Code:<!-- bof Order Steps (tableless) -->
<?php if($COWOA) { ?>
<div id="order_steps">
<div class="order_steps_text">
<span class="order_steps_text1_COWOA"><?php echo TEXT_ORDER_STEPS_BILLING; ?></span><span class="order_steps_text2_COWOA"><?php echo TEXT_ORDER_STEPS_1; ?></span><span id="active_step_text_COWOA"><?php echo zen_image($template->get_template_dir(ORDER_STEPS_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . ORDER_STEPS_IMAGE, ORDER_STEPS_IMAGE_ALT); ?><br /><?php echo TEXT_ORDER_STEPS_2; ?></span><span class="order_steps_text3_COWOA"><?php echo TEXT_ORDER_STEPS_3; ?></span><span class="order_steps_text4_COWOA"><?php echo TEXT_ORDER_STEPS_4; ?></span>
</div>
<div class="order_steps_line_2">
<span class="progressbar_active_COWOA"> </span><span class="progressbar_active_COWOA"> </span><span class="progressbar_active_COWOA"> </span><span class="progressbar_inactive_COWOA"> </span><span class="progressbar_inactive_COWOA"> </span>
</div>
</div>
<?php } else { ?>
<div id="order_steps">
<div class="order_steps_text">
<span class="order_steps_text2"><?php echo TEXT_ORDER_STEPS_1; ?></span><span id="active_step_text"><?php echo zen_image($template->get_template_dir(ORDER_STEPS_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . ORDER_STEPS_IMAGE, ORDER_STEPS_IMAGE_ALT); ?><br /><?php echo TEXT_ORDER_STEPS_2; ?></span><span class="order_steps_text3"><?php echo TEXT_ORDER_STEPS_3; ?></span><span class="order_steps_text4"><?php echo TEXT_ORDER_STEPS_4; ?></span>
</div>
<div class="order_steps_line_2">
<span class="progressbar_active"> </span><span class="progressbar_active"> </span><span class="progressbar_inactive"> </span><span class="progressbar_inactive"> </span>
</div>
</div>
<?php } ?>
<!-- eof Order Steps (tableless) -->
The link on the homepage of your test site that is supposed to take you to Chalfontonline.co.uk doesn't work because you have it going to lozer.co.uk/shop/www.chalfontonline.co.uk/shop
craftzombie
Thank you for your help with this.
You were right. The code was missing from the page you refered to.
Having checked the order steps bar wrapping round issue, this appears to only be happening in Internet Explorer. I have tried version 6 and 7 and it happens in both. Completely lost as to what is causing this.
Also The checkout sucess page seem strange too. It has a log off account button present, and says log off at the top of the page. This would confuse the customer, making them think that an account has been created. I know this is the case in the background, but we don't have to let them know that.
Any idea how to remove that, without causing a problem for someone that does create an account.
Thanks once again.
Laurie
To make certain links disappear when a customer does COWOA, see this post: http://www.zen-cart.com/forum/showpo...&postcount=589
The same instructions given in that link above can probably apply to the button on the checkout success page too, but I haven't tried it yet. The reason is because I have completely removed that from the checkout success page on my site for both COWOA and regular checkout. If you wanted to have it there only for regular users and have it disappear for COWOA users, I'll have to get back to you in a few days because I have a BBQ tomorrow, etc. If you want to just completely remove the logoff link from that page for all users, I'm pretty sure you just remove this code from includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_success_default.php:
Same thing... I'll have to get back to you. I don't use the order steps that came with this mod. I also know that a lot of times, stylesheets have to be tweaked for Internet Explorer issues and thats not really my strong suit when it comes to web design. But, I can try!Code:<!--bof logoff-->
<div id="checkoutSuccessLogoff">
<?php
if (isset($_SESSION['customer_guest_id'])) {
echo TEXT_CHECKOUT_LOGOFF_GUEST;
} elseif (isset($_SESSION['customer_id'])) {
echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
}
?>
<div class="buttonRow forward"><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo zen_image_button(BUTTON_IMAGE_LOG_OFF , BUTTON_LOG_OFF_ALT); ?></a></div>
</div>
<!--eof logoff-->
:smile:
Hi craftzombie
Thanks once again for your help.
I have now managed to disable the button and the header links, thanks to your help.
If you do get time to investigate the order status bar problem in IE I would really appreciate it.
Learning slowly as I go with this.
Regards
Laurie
Hi craftzombie
Sorry just to add to the above. Once an order has been finished via no account route, if I click the log in link it goes to the my account information page. Also there is a history box of the previous product to re-order still visabale at the side of the page.
I think the customer that created an order via no account still appears to be logged in. I though the session would be ended once you left the checkout success page.
What could cause this to happen ?
Thanks again
Laurie
Hi
I modified the code in the checkout success tpl file to this.
<!--bof logoff-->
<?php if (!($_SESSION['COWOA'])) { ?>
<div id="checkoutSuccessLogoff">
<?php
if (isset($_SESSION['customer_guest_id'])) {
echo TEXT_CHECKOUT_LOGOFF_GUEST;
} elseif (isset($_SESSION['customer_id'])) {
echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
}
?>
<div class="buttonRow forward"><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo zen_image_button(BUTTON_IMAGE_LOG_OFF , BUTTON_LOG_OFF_ALT); ?></a></div>
</div>
<?php } ?>
<!--eof logoff-->
I think I have done this wrong though, as now the user does not get logged off properly when checking out without an account.
All I wanted to do was remove the log off button and the not display the TEXT_CHECKOUT_LOGOFF_CUSTOMER message when a customer is on the checkout success page after purchasing without an account.
I presume I have placed the line
<?php if (!($_SESSION['COWOA'])) { ?>
and
<?php } ?>
in the wrong place.
Could someone help me with where these should be placed to remove the log off button and the message when someone checks out without an account, but allows these to show if the user does have an account.
Thanks
Laurie
Hey guys -
So i've searched through the thread to research why this is not in the download section, but the responses were from 2007. So, a simple question: Is there actually a download page yet on the zen-cart servers for this mod? Or is the only place to download this still: http://craftzombie.com/cowoa138/Inte...WOA(1.3.8).zip ?
Thanks!
The guy who made this mod submitted it to the Zen people but it was never put in the download section. Then he couldn't support the mod any longer and I needed to update the mod to work with 1.3.8, so I grabbed it, fixed it for 1.3.8, and put it up on my site for download. That is the only place, as far as I know, where it is available.
That's an unfortunate shame...
Well, if i am allowed to have my two cents on this thread, i would encourage you to attempt to submit it another time. That mod area is definitely the first place people look (myself included) when they want to alter their shop and see if someone else had already coded something.
And finally, what are your plans, if any, for updating the mod when 1.3.4 is released some time between now and december-ish?
Thanks! :smile:
Trust me, its a lost cause. The Zen team has their reasons. Read other threads on the topic and you will see the huge differences in opinion.
From what I have read, the Zen team plans to make changes to the checkout part of Zen Cart. I do not know exactly which version will have the changes. If the next update to Zen does not have the checkout changes, then I will most likely update the mod to work with the newest version of Zen. I do this for selfish reasons, because I like to have the newest version of Zen on my own site and I always figured I might as well share it if I have already done the work anyway. If changes are made before December, I probably won't upgrade the mod until January because I am swamped with holiday orders usually, and I will have absolutely no time to do it until after the holiday madness. Plus, I always avoid a big upgrade to Zen when business is booming.
It would be a nice little feature if the COWOA sign-up page were to detect a downloadable product only is in the cart and instead of:
It says something like:Quote:
Continue to Step 2
- provide delivery information.
Quote:
Continue to next step
- payment information
Hi all , is there an easy way to remove this MOD , or step by step somewhere to do it ? my client no longer wants this on the site.
Thanks
There is no easy way to do it, although you really only need to remove the code that was added to the login page. If a customer has no access to that section of the login page, then the mod is never used. Leaving the other changes made when you uploaded will not hurt anything.
With the help of this topic, and this topic here (reply no 83): http://www.zen-cart.com/forum/showth...t=53786&page=9
I was able to work around the IE7 "bug" but I needed to change some more settings to prevent the border to exceed the progress bar too much which resulted in a ugly trailing white space.
In all css related files:
Starting at around line 5:
In contrary to the provided solution in the topic, I didn't disabled the padding as it wraps the progress bar in checking out without account.Code:#order_steps { /* Is needed for the centering in IE */
padding: 5px 1px;
margin: 10px 10px;
text-align: center;
border: 1px solid #000000;
height:70px;
}
Next: All widths which were 25% have been changed to 24.9% (find 25% and replace with 24.9%).
And furthermore the changes from the above mentioned topic:
Hope this helps anyone.Code:.progressbar_active {
/* background: url(../images/orderstep.png) repeat-x; */
background-color: #3DA200; /* Determines the active color of the completed part of the line */
width:24.9%;
float:left;
height: 5px;
line-height:5px;
color: #3DA200;
}
.progressbar_inactive {
background: url(../images/orderstep.png) repeat-x;
background-color: #9A9A9A; /* Determines the active color of the completed part of the line */
width:24.9%;
float:left;
height: 5px;
line-height:5px;
color: #9A9A9A;
}
.progressbar_active_COWOA {
/*background: url(../images/orderstep.png) repeat-x; */
background-color: #3DA200; /* Determines the active color of the completed part of the line */
width:20%;
float:left;
height: 5px;
line-height:5px;
color: #3DA200;
}
.progressbar_inactive_COWOA {
background: url(../images/orderstep.png) repeat-x;
background-color: #9A9A9A; /* Determines the active color of the completed part of the line */
width:20%;
float:left;
height: 5px;
line-height:5px;
color: #9A9A9A;
Hi
Can anyone tell me how I can change the subject and the content of the email that is sent to the shop owner, when someone checks out without an account.
I do not want to change the create account email when someone checks out with an account.
Regards
Laurie
Hi,
Just after a bit of advice, as my head is spinning after spending the afternoon reading about checkout modules/paypal/etc.
Here's what I'd like my site to do:
- allow customers to choose if they want an account or not
- preferably pay on my site, or if on Paypal not have to duplicate all the info they've already entered (Express requires a Paypal account, which puts me off)
I think I need Paypal Payments Pro, plus this module. Am I right? Oh, and I'm choosing Paypal because they accept HK Dollars (the business is in Hong Kong).
Cheers,
Adam.
Laurie,
I have actually never installed this mod -- i've only had a distant interest and sometimes read this thread... BUT, one thing that might get you to the correct location for editing the subject/content of the owner-generated email:
Admin>Tools>Developer Tool Kit
Try pasting some subject/content info from those emails into the search and see what you wind up with.
i am getting this error when i try to run the sql. file
the mod seemed to have worked.. but now i cant access my customer database in my admin?
1062 Duplicate entry 'Permanent Account Holders Only' for key 2
in:
[INSERT INTO query_builder ( query_id , query_category , query_name , query_description , query_string ) VALUES ( '', 'email,newsletters', 'Permanent Account Holders Only', 'Send email only to permanent account holders ', 'select customers_email_address, customers_firstname, customers_lastname from TABLE_CUSTOMERS where COWOA_account != 1 order by customers_lastname, customers_firstname, customers_email_address');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I've been using the COWOA module successfully for 4 months now. Thank you!
I'm in the process of implementing gift certificates and I've encountered a problem I can't seem to find any references to on the forum. I was able to add a gift certificate to my cart and checkout without an account.
If I don't send the gift certificate from the checkout confirmation screen then there's no way to 'log back in' to either use the gift certificate or send it to someone else.
It's working correctly in that if I'm the recipient of the gift certificate I can not redeem it without creating an account.
On a related point: I have a downloadable product in my store. Whenever someone checks out without an account they're unable to get back and download the product so I end up manually e-mailing them the product.
My question: Is there a simple way to prevent checking out without an account if the customer has either a downloadable product or a gift certificate in their cart?
Thank you!
Hi
The last few customers that have checked out from my site have created accounts. Some have not completed, and looks like they have created accounts but then not logged in and continued.
How can I put the checkout without account at the top of the page and make it more prominent, so the customer does not get confused.
This is my site www.chalfont gifts.co.uk
I have broken the link to stop google indexing this link to the site.
Regards
Laurie
Hello,
I'm trying to configure the Cowa mod in version 1.3.8 on IIS6. I'm copying the files to the directories as required and when I paste the queries into the box and hit send this is what I get:
1364 Field 'query_keys_list' doesn't have a default value
in:
[INSERT INTO query_builder ( query_id , query_category , query_name , query_description , query_string ) VALUES ( '', 'email,newsletters', 'Permanent Account Holders Only', 'Send email only to permanent account holders ', 'select customers_email_address, customers_firstname, customers_lastname from TABLE_CUSTOMERS where COWOA_account != 1 order by customers_lastname, customers_firstname, customers_email_address');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Can someone help? I'm stumped.
Thanks!
How can one tell when the customer uses COWOA?
Probelm solved. I had MySql 5.0 installed and the Mod is written for version 4.1. No error after switching over.
See this post:
http://www.zen-cart.com/forum/showpo...&postcount=529
I uploaded all of the files to the correct folders on my site. Is there something else I'm supposed to do? I'm new to addons. Is there somewhere where I am supposed to enable this? Because right now it's not working. Thanks.
Maybe I didn't "get" everything? I downloaded from the link in the Wiki, here:
http://www.zen-cart.com/wiki/index.p...ithout_Account
Is this an "addon to an addon"? Is there another addon I was supposed to have first?
Duh! I was reading the overwrites-writes.txt file, thinking it was the "install.txt" file, and that's all I had to do was upload those files.
Now I see there's more to it in the actual install.txt file. Sorry!
:oops:
OK. I've got it all installed and it's working great. I did install the two optional addons. There is a weird problem with the ordersteps addon and styling.
I made changes to no_acccount.css to change the color of the progress bar and the text above it, and also to reduce the vertical height of the "box". All my changes are there when I check out without an account. However, if I check out WITH an account, none of my changes are there! And yes I did make the changes in both parts of the css, when there is one style with _CWOA and one without. I double-checked that.
And furthermore, in IE7, there is a float drop when checking out WITH an account. The "order complete" part falls below the "shipping" part.
My custom no_account.css file is in includes/templates/custom/css.
I'm totally baffled! I wanted to attach the css file but it's too big!
So I figured out that the ordersteps addon included these 5 new css files:
checkout_shipping.css
checkout_confirmation.css
checkout_payment.css
checkout_succes.css
no_account.css
And they are all exactly the same!
I tried taking what I had in no_account.css, copying it to stylesheet.css, and then basically blanking out the 5 css files, but that didn't work. I had to replicate the edits that I had made to no_account.css to each of the other 4 files. So there are still 5 .css files for this addon, and they are all exactly the same.
I still have the dropped float issue in IE7. Will post back when I figure that one out.
There looks to be something in there that is breaking the rules of CSS.
Ignoring, for the moment, Zen Cart's own rules of precedence for stylesheets, the usual thing is that any stylesheet loaded after the first one takes precedence, if there are any style definitions in it that are for the same elements that are styled in any previously loaded stylesheet.
If there are no such definitions, then the newly defined elements get their style from the second sheet anyway. And if the normal rules of precedence are being followed, it matters not one bit whether those newly defined elements are styled in a separate stylesheet or in the first one. If there is any doubt that these elements may have been styled already in the first sheet, then simply make sure they are defined again at the bottom of the first one.
Or a little more clearly: rules at the bottom of any one stylesheet are read and interpreted after rules above them. And rules in a stylesheet loaded after another are interpreted after rules in that previous stylesheet. And any rule interpreted after another takes precedence.
That's the way things should work.
But ZC has code in it which loads stylesheets in a certain, slightly arcane, order -- for good and necessary reasons I'm sure. First comes any stylesheet the name of which begins with style*; then they load language stylesheets, category and page stylesheets, and so on. The order is given in the readme file in the css folder.
The net result of all this possibly irrelevant discussion is this: what you did should have worked. :blink:
Obviously there is code somewhere calling these particular stylesheets rather than letting the natural order of things take care of it. But the good news is it doesn't really matter. In modern browsers, working over fast networks, the loading of a stylesheet -- especially one that contains as little as these do -- is a minor issue. It should take less than a second to get all five of those redundant stylesheets loaded. So if redundancy works, let it go.
But it does make future edits and upkeep more complicated than necessary. So you might try this ...
In one of those 5 stylesheets -- say, no_account.css -- leave all the styles defined. Put only this one line in each of the other four:
@import url(no_account.css);
You might have to experiment to get the right one to leave the styles in.
That, at least, will make it easier to do changes to your styles and will make furture upgrades easier too.
Good suggestion. Thanks. Any idea on the dropped float?
It worked beautifully! Changing all of these files:
checkout_shipping.css
checkout_payment.css
checkout_confirmation.css
checkout_success.css
To only contain the line:
@import url(no_account.css);
worked like a charm.
Still have the dropped float in IE7 though - and only when checking out WITH an account.
I fixed the float drop problem! :clap:
This problem was in the ordersteps addon to CWOA.
It was happening in IE6 and IE7 but not in Firefox. And only when checking out WITH an account.
The fix: in no_account.css, under #order_steps, change this line:
margin: 10px 10px;
to this:
margin: 5px 5px;
And if you haven't used the "@import ... " kluge mentioned directly above this post for the other 4 css files, you'll need to edit those files as well.
I guess that IE just needs a little more "breathing room".
I'm not sure I even want to try this! :unsure:
It seems like it would be recursive. stylesheet.css is obviously already being loaded somehow. It's too confusing to even think about!
You're right. Bad idea! :ohmy:
Rob
I sell digital web forms for people with websites. I've found that there are many people out there who greatly resist entering their email address anywhere for fear of being spammed. So is there a way for this mod to not require the purchaser's email address? I realize that I would not be able to initiate contact with them. But if they have some problem with their digital download, then they can send us an email at that point.
Any ideas?
Brent
PS. I don't mind paying for some customization.
The requirement to enter an email address is with the original Zen-Cart code, not necessarily with this mod. I'm sure it would be fairly easy to diable this field in the form. Do you already have Zen-Cart integrated into your site, or are you just starting out?
I looked at this some more. If you don't have their email address then you can't confirm their order, etc. Maybe a better approach would be to add language that says ... don't worry, we are not going to give away your email address. In actuality, if they give you their email address, the only way for them to get spam is if YOU initiate it. So perhaps this could all be handled in your privacy policy.
Yes, I put right in our cart login:
"Billing Information - We Keep Your Information Private - Our Privacy Policy Is Below".
But this assurance is still not enough for many. Since one of the key features of our web forms is to stop spam originating from an unprotected web form or email link on a person's website, my customers are extra concerned about submitting their email address. Also, I don't need to confirm their order, since if they have some technical problem with their download, then they can send us an email at anytime.
I appreciate your thoughts. Any more?
Brent
Well you could just eliminate that field (the email field) in the information that you collect. I assume that you are doing everything with "checkout without an account" ? Let me know. It will take a while but maybe I can figure out how to eliminate the email field altogether. I can't get back to you until at least tomorrow.
Another thought: are you also collecting their name, address, etc? So do they have no problem with providing that information?
I am collecting their address, because I believe it may be required by the credit card processor - cybersource, but I would prefer not to. I also use paypal as an added payment option, which about 1/3rd opt for.
So are you say the email field is not needed for the cart to function properly, and the "hidden" account for them will still be setup in the background so they can continue with their transaction?
Brent
I don't know if the email address is required or not for the cart to function properly. Maybe someone else could help out here?
I hope so.
Thank you.
Hello All,
Forgive me if this has been discussed before. Does anyone know how to check the order status with orderstatus add-on to this module when one places an order without creating an account?
I added a link to the standard tool-bar to do this. I will post here tomorrow with the details. Too late now to do it.