Re: My Checkout Without Account Mod
Quote:
Originally Posted by
mcarbone
Hi,
I am using Zen 1.3.8 and have the COWA mod installed. I am trying to remove the options for email formats (Text only or HTML).
I successfully removed this option with the create_account.php file, but I am having trouble with the no_account.php file.
I am commenting out this line in includes/modules/my_template/no_account.php:
Any help is always greatly appreciated.
www.medsafeglobal.com/cart
Thank you,
MC
Hi MC,
Please note: a recent client of mine asked for the Newsletter/Email type to be removed from registration process, which all worked okay until ZC emailed out the first 'Order Confirmation' which went out as text only.
ZC requires a value to be passed to the dbase for at least 'email type' if it doesn't the dbase has no value inserted and when ZC sends out any email it checks for what email type is set and since there is no value in the dbase it defaults to sending text emails, therefore no pretty html templated emails.
To get around this you could turn off Newsletters in 'admin->configuration->customer details' via 'Show Newsletter Checkbox' and then change the english defined for the label 'Newsletter and Email Details' in /includes/languages/english.php to perhaps 'Email Preference'
or
hide the html from registration form altogther using css, and preset the radio to 'HTML' option; that way at least its setting a value in dbase.
regards,
Matt
Re: My Checkout Without Account Mod
Just installed this and it works splendidly. But only after I manually installed the files.
Simple question, how do I go about altering the layout between vertical and horizontal? I can't seem to find it anywhere.
Re: My Checkout Without Account Mod
Hi Matt,
Thanks so much for your help on this.
I disabled the newsletter option in admin->configuration->customer details. The COWA form cleared the newsletter option, but the "sign-up for account" form did not.
Nonetheless I removed the HTML and Text-only options for the COWA form by going to includes/templates/mytemplate/templates/tpl_modules_no_account.php and commenting out:
Code:
<?php echo zen_draw_radio_field('email_format', 'HTML', ($email_format == 'HTML' ? true : false),'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', ($email_format == 'TEXT' ? true : false), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
That worked perfect. I am still working on the create accounty page and will keep an update on my progress. :smile:
MC
Re: My Checkout Without Account Mod
Hi there... dumb question here.
I am in the process of installing the COWOA module in our zen cart (v1.3.8) and I get the concept of replacing YOUR_TEMPLATE name folder with the template name you are actually using in your site (I'm using the default green one) but some forlders have the "freetemplate2" name.... do I also replace the name of the tamplate I am using there?
thanks,..
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
pixels90211
Hi there... dumb question here.
I am in the process of installing the COWOA module in our zen cart (v1.3.8) and I get the concept of replacing YOUR_TEMPLATE name folder with the template name you are actually using in your site (I'm using the default green one) but some forlders have the "freetemplate2" name.... do I also replace the name of the tamplate I am using there?
thanks,..
Do not worry about "freetemplate2". What happened was that I was hosting the download for COWOA on my site and when my site got hacked, I accidentally deleted the download when I was in the process of cleaning up my files. Someone else on these boards was smart enough to keep a copy of the download and was nice enough to send it to me so that I could continue hosting it. I assume "freetemplate2" was the name of their template because if you look at the files, they are the same as the COWOA files. You do not have to upload the "freetemplate2" files. It wont hurt anything if you do, it will just take up a little space. At some point, when I find the time, I will go through and remove that from the download.
Re: My Checkout Without Account Mod
Thanks for the reply.... Now it makes sense...
Re: My Checkout Without Account Mod
I'm pretty sure I've uploaded all the files. I've installed the patch and turned on split-login..but I can't see the checkout without account on the login page.
I'm a bit confused about the freetemplate2 folders though. I've only just installed Zen Cart and I've not made any modifications until this one..so do I need to upload those files? I've uploaded them..but surely the standard green template needs the freetemplate2 folders uploading to it? Argh I'm so confused.:huh:
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
cuppycakez
... I'm a bit confused about the freetemplate2 folders though. I've only just installed Zen Cart and I've not made any modifications until this one..so do I need to upload those files? I've uploaded them..but surely the standard green template needs the freetemplate2 folders uploading to it? Argh I'm so confused.:huh:
See this post: http://www.zen-cart.com/forum/showpo...&postcount=895
Re: My Checkout Without Account Mod
Furthermore, you will not see the checkout without account option at the login screen. You will only see the COWA option at check out.
:smile:
MC
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
mcarbone
Furthermore, you will not see the checkout without account option at the login screen. You will only see the COWA option at check out.
:smile:
MC
The first step of checkout is the login page. It is where you are taken when you click on "checkout", unless you are already logged in, in which case you are taken to main_page=checkout_shipping.
COWOA will only appear when there are items in the cart. If there are items in the cart and you still do not see COWOA, the number one reason is an FTP error when you uploaded your files. Reinstall.