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-->
![]()
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.
Bookmarks