Re: My Checkout Without Account Mod
The Order_Status addon adds the page "order_status.php" but it does not - at least as far as I can tell - provide a link to it. So you need to add an "Order Status" link to the menu bar. Note that the link does NOT display if the user is logged in, but that's ok because when they login they automatically get a list of their orders. So this is really for the benefit of customers who did not create an account.
Here's how to add the link ("custom" is the name of my customized folders):
You need to edit two files.
First file: tpl_header.php
Make a copy of includes/templates/template_default/common/tpl_header.php
OR, if you have already customized that file, start with your customized version (in my case, that was includes/templates/custom/common/tpl_header.php).
Find this section of code:
Code:
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
Then, add this code just BEFORE it:
Code:
<!-- custom edit (addition) to add "Order Status" link to the main navigation if user is not logged in -->
<?php if (!($_SESSION['customer_id'])) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_ORDER_STATUS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_ORDER_STATUS; ?></a></li>
<?php } ?>
<!-- -->
Place the edited file into your customized directory (in my case, that was includes/templates/custom/common).
Second file: header.php
Make a copy of includes/languages/english/header.php
OR, if you have already customized that file, start with your customized version (in my case, that was includes/languages/english/custom/header.php).
Find this section of code:
Code:
define('HEADER_TITLE_LOGOFF', 'Log Out');
define('HEADER_TITLE_LOGIN', 'Log In');
Add this code directly AFTER it:
Code:
// custom edit - addition - to add order status link in menu bar
define('HEADER_TITLE_ORDER_STATUS', 'Order Status');
Place the edited file into your customized directory (in my case, that was includes/languages/english/custom).
Note that the header.php already has a definition for FILENAME_ORDER_STATUS so no edit was needed to define it.
Re: My Checkout Without Account Mod
Here is another edit that some may find useful. It removes the words "log out" from the menu bar when a customer is checking out without an account.
You need to edit tpl_header.php, as follows:
Make a copy of includes/templates/template_default/common/tpl_header.php
OR, if you have already customized that file, start with your customized version (in my case, that was includes/templates/custom/common/tpl_header.php).
Find this section of code:
Code:
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
And REPLACE it with this (you're basically adding an "if" statement):
Code:
<?php if ($_SESSION['customer_id']) { ?>
<!-- custom edit for COWOA addon - to not show log off link in nav bar -->
<!-- added this "if" line -->
<?php if (!($_SESSION['COWOA'])) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<!-- and this line -->
<?php } ?>
Place the edited file into your customized directory (in my case, that was includes/templates/custom/common).
Re: My Checkout Without Account Mod
Thanks very much Alicia!
I followed your instructions to include the Order Status link and it works perfect for all users.
Re: My Checkout Without Account Mod
Divani:
GREAT! I'm glad I could help.
Re: My Checkout Without Account Mod
I would like to load this mod. Where is the latest download?
Looks like I have to add/change some files?
Thanks,Kim
Re: My Checkout Without Account Mod
Look here:
http://www.zen-cart.com/wiki/index.p...ithout_Account
Then follow the instructions in the install.txt file. I found them to be very good. I also installed the optional add-ons for "ordersteps" and "order_status".
Pick up this thread at my post #683 (page 69) for more info on customizations that I did.
Also see this post for info on how to make changes to admin so you can see which orders are COWOA:
http://www.zen-cart.com/forum/showpo...&postcount=529
Re: My Checkout Without Account Mod
I have a mostly functioning zencart shopping cart www.innerwaves.org. The person that set this up for me is no longer available. He started the process of installing a modified version of the checkout without account contribution. It is on my test site www.innerwaves.net. As you can see on the check out page, instead of requiring the customer to click thru to another page with their choice of signing up to their account, creating an account or checking out without creating an account, this all happens on the first check out page, either they sign up, or they fill out their information with the option at the bottom of signing up by creating a password (there needs to be an additional statement added; "Your email address will be your Username").
I am looking for someone to complete the installation of this contribution onto my functioning site.
I would be happy to give you access to the ftp site for the innerwaves.net for you to review the modifications that were made to COWOA contribution and see what it would take to upload them to innerwaves.org. I would like to include the additional contribution of being able to see which orders/customers signed up and which ones chose the COWOA option
Thanks
Malte
Re: My Checkout Without Account Mod
I can probably help you. I sent an email to you at your customer care email address. Look for it. Thanks.
Re: My Checkout Without Account Mod
I just loaded this mod without the add-ons. I looked thru threads and have a few questions.
*My logo is showing up in my header... So, I have a header with a logo on top of it. How do I get rid of it.
*When I go to purchase an item with checkout. At step 1, there are two bullets for HTML and Text-Only located under Contact Details. I thought it is for the newsletter not under email address. Not sure why there?
*I am using Zone rate shipping and Table Rate. One for domestic US and other for International. At the top of the checkout area the shipping has more expensive rate. And shipping method to select is located further down. This is confusing customers. How do I move it up or not show until customer clicks which ship method they want?
Thanks, Kim
Re: My Checkout Without Account Mod
Problem: *My logo is showing up in my header... So, I have a header with a logo.gif on top of it. How do I get rid of logo.gif?
I think the logo on top of header may be located in the includes/templates/your_template/common/tpl_header.php.
I found these lines of code, but do not know how to turn-off the logo.gif image.
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
I may be way off. Can anyone help with this? :frusty:
Kim