Zen Cart Logo
Forums / All Other Contributions/Addons / My Checkout Without Account Mod

My Checkout Without Account Mod

Locked

Views: 323,004

Results 641 to 660 of 1,220
This thread is locked. New replies are disabled.
17 Aug 2008, 08:15
#641
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

My Checkout Without Account Mod

shocker:

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.

I do not use PEC, but as far as I know, this mod will not affect (effect??? I always have issues with that!) it.

A customer that uses COWOA will not receive a welcome email. But yes, a customer who COWOA will be able to use one time only coupons multiple times.

17 Aug 2008, 09:15
#642
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

27 Aug 2008, 07:29
#643
newuser123 avatar

newuser123

New Zenner

Join Date:
Apr 2008
Posts:
38
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

27 Aug 2008, 07:56
#644
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod


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!

27 Aug 2008, 08:43
#645
newuser123 avatar

newuser123

New Zenner

Join Date:
Apr 2008
Posts:
38
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:


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?

27 Aug 2008, 09:22
#646
newuser123 avatar

newuser123

New Zenner

Join Date:
Apr 2008
Posts:
38
Plugin Contributions:
0

Re: My Checkout Without Account Mod

checked /includes/languages/english/iC_AthemeV1.3/login.php

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?');
27 Aug 2008, 09:49
#647
newuser123 avatar

newuser123

New Zenner

Join Date:
Apr 2008
Posts:
38
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

28 Aug 2008, 05:03
#648
mustang394 avatar

mustang394

Zen Follower

Join Date:
Jun 2008
Location:
Colorado
Posts:
146
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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?

28 Aug 2008, 05:06
#649
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Mustang394:

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?

Yes, you missed something. This mod does not combine the accounts.

31 Aug 2008, 17:57
#650
chalfontgifts avatar

chalfontgifts

Zen Follower

Join Date:
Jun 2007
Posts:
122
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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.

01 Sep 2008, 05:21
#651
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

chalfontgifts:

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.

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???

chalfontgifts:

Also the progress bar is not present at all on the payment stage, when checking out with or without an account.

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:

<!-- 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) -->

chalfontgifts:

anyone who can spot any other errors, I would really appreciate the feedback.

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

01 Sep 2008, 09:00
#652
chalfontgifts avatar

chalfontgifts

Zen Follower

Join Date:
Jun 2007
Posts:
122
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

01 Sep 2008, 10:29
#653
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

chalfontgifts:

and says log off at the top of the page.

To make certain links disappear when a customer does COWOA, see this post: http://www.zen-cart.com/forum/showpost.php?p=587996&postcount=589

chalfontgifts:

The checkout success page seem strange too. It has a log off account button present
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:

<!--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-->

chalfontgifts:

Having checked the order steps bar wrapping round issue, this appears to only be happening in Internet Explorer.
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!

:smile:

01 Sep 2008, 21:08
#654
chalfontgifts avatar

chalfontgifts

Zen Follower

Join Date:
Jun 2007
Posts:
122
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

01 Sep 2008, 22:02
#655
chalfontgifts avatar

chalfontgifts

Zen Follower

Join Date:
Jun 2007
Posts:
122
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

02 Sep 2008, 08:31
#656
chalfontgifts avatar

chalfontgifts

Zen Follower

Join Date:
Jun 2007
Posts:
122
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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

03 Sep 2008, 03:00
#657
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: My Checkout Without Account Mod

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/IntegratedCOWOA%281.3.8%29.zip ?

Thanks!

03 Sep 2008, 03:40
#658
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

mrmeech:

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/IntegratedCOWOA%281.3.8%29.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.

03 Sep 2008, 22:44
#659
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:

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:

03 Sep 2008, 23:20
#660
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: My Checkout Without Account Mod

mrmeech:

Well, if i am allowed to have my two cents on this thread, i would encourage you to attempt to submit it another time.

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.

mrmeech:

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?

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.