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

My Checkout Without Account Mod

Locked

Views: 323,004

Results 921 to 940 of 1,220
This thread is locked. New replies are disabled.
03 Dec 2009, 14:02
#921
blarney avatar

blarney

New Zenner

Join Date:
Oct 2005
Location:
Connectiuct
Posts:
69
Plugin Contributions:
1

My Checkout Without Account Mod

Newbie76:

I found the answer in a (much) earlier post on this thread:

Which is what I just done and seems to be working fine now :)

Quote:
I replaced modules/pages/login/header_php.php with the origional code from the over-writes folder.

I had the same problem. Rather than reverting back to the original header_php.php file which removes some coding needed for COWOA, here's the fix for the bug/typo in there. Go to approx line 58.

Replace:
WHERE customers_email_address = :email
AND COWOA_account != 1";

with:
WHERE customers_email_address = :emailAddress
AND COWOA_account != 1";

It worked for me. I hope that helps.

Jim Smith

04 Dec 2009, 11:08
#922
knu_o2 avatar

knu_o2

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Hi! This is my first post in ZenCart forum! :lamo:

Have anybody else had any experience with using both COWOA and Additional Customer Fields (ACF)?

I am stuck and the problem is that I cannot get my new customer fields (created with ACF) to write to the database with the COWOA option.

All my new customer fields gets perfectly written to the database when I use the normal account option.

Here's the web shop I'm working on:
http://pinjatas.com/zencart_test/

Hope to hear from you guys!
:bigups:

15 Dec 2009, 01:20
#923
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:

There is no uninstall sql.

It doesn't hurt anything to leave it there. It does nothing to the regular checkout. Leaving all of the files, but only removing the code from the login page, is really the only thing that needs to be done if this mod is not for you.

Which login? includes/modules/pages/login/header_php.php?

What code looking for to disable?

15 Dec 2009, 01:55
#924
craftzombie avatar

craftzombie

Zen Follower

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

Re: My Checkout Without Account Mod

kburner:

Which login? includes/modules/pages/login/header_php.php?

What code looking for to disable?

No, the template for the login page....
includes/templates/your_template/templates/tpl_login_default.php

The following code is what makes the Guest Checkout section appear on that page:

<?php
  if ($_SESSION['cart']->count_contents() > 0) { ?>
    <fieldset>
    <legend>Checkout Without Account</legend>
    <?php echo TEXT_RATHER_COWOA; ?>
    <div class="buttonRow forward">
    <?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?>
    <?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div>
    <br class="clearBoth" />
    </fieldset>
<?php } ?>
15 Dec 2009, 02:13
#925
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: My Checkout Without Account Mod

craftzombie:

No, the template for the login page....
includes/templates/your_template/templates/tpl_login_default.php

The following code is what makes the Guest Checkout section appear on that page:

<?php if ($_SESSION['cart']->count_contents() > 0) { ?>
<fieldset>
<legend>Checkout Without Account</legend>
<?php echo TEXT_RATHER_COWOA; ?>
<div class="buttonRow forward">
<?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?>
<?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div>
<br class="clearBoth" />
</fieldset>
<?php } ?>

Thank you.
15 Dec 2009, 16:41
#927
craftzombie avatar

craftzombie

Zen Follower

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

Re: My Checkout Without Account Mod

cloud12:

why it said page not find when i use the chech out with out account
http://www.mydomain.com/index.php?main_page=FILENAME_NO_ACCOUNT <----this page doesnt works. what files i missed?

It means your files did not transfer and your cart cannot find that page. Upload them again.

20 Dec 2009, 23:27
#928
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: My Checkout Without Account Mod

This may have been answered but how do I go about putting the Captcha at the bottom of the Step 1 of 5 - Billing Information page. It was working up until I added this module. Thanks for the help.

22 Dec 2009, 00:16
#929
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: My Checkout Without Account Mod

Anybody:unsure:

24 Dec 2009, 03:57
#930
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: My Checkout Without Account Mod

<?php if($_SESSION['COWOA']) $COWOA=TRUE; ?>

Hi all,
Is the above supposed to be included at line 15 of:
includes\templates\CUSTOM\templates\tpl_checkout_success_default.php?
Thanks.

24 Dec 2009, 04:53
#931
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Answer is yes.
I just inverted the order of installation and installed add-ons first.

13 Jan 2010, 15:29
#932
vooboo13 avatar

vooboo13

New Zenner

Join Date:
Dec 2009
Posts:
55
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I just installed this mod, however, it's telling me "Page not found" when I click on the Continue to try to checkout as guest. I've re-uploaded the files several times to make sure I'm not doing anything wrong.

You can see it here: https://robomatter.net/index.php?main_page=login

Anyone know what's going on?

The no_account.php file is in the "languages/english/my_template/" folder - I can see it in my FTP program. So.. it's there.

14 Jan 2010, 16:04
#933
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: My Checkout Without Account Mod

countrycharm:

This may have been answered but how do I go about putting the Captcha at the bottom of the Step 1 of 5 - Billing Information page. It was working up until I added this module. Thanks for the help.
I still need help with this if anyone could help. Thanks again.

27 Jan 2010, 04:33
#934
jim5121111 avatar

jim5121111

New Zenner

Join Date:
Jan 2010
Posts:
2
Plugin Contributions:
0

Re: My Checkout Without Account Mod

How can I skip the initial COWOA page that gives the customer three options (log in, sign up, or COWOA)? In other words, when the customer clicks "go to checkout" they will be immediately directed to the Billing Information page. I am only selling one product on my website, so it would be sloppy and pointless to have the option to create an account.

30 Jan 2010, 17:01
#936
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: My Checkout Without Account Mod

Originally Posted by countrycharm [IMG]http://www.zen-cart.com/forum/images/zc2010/buttons/viewpost.gif[/IMG]
This may have been answered but how do I go about putting the Captcha at the bottom of the Step 1 of 5 - Billing Information page. It was working up until I added this module. Thanks for the help.> countrycharm:

I still need help with this if anyone could help. Thanks again.
If anybody else has the the add on captcha_using_ttf__gd__tel and you add this add on here you will need to add some code to the includes/modules/pages/no_account header.php. to get the captcha to show up. The header needs to look like this.

<?php
/**
 * no_account header_php.php
 *
 * @package page
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: J_Schilz for Integrated COWOA - 14 April 2007
 */

// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_NO_ACCOUNT');


require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NO_ACCOUNT));
// BOF Captcha
if(CAPTCHA_NO_ACCOUNT != 'false') {
    require(DIR_WS_CLASSES . 'captcha.php');
    $captcha = new captcha();
}
// EOF Captcha

$breadcrumb->add(NAVBAR_TITLE);

// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_NO_ACCOUNT');
?>
02 Feb 2010, 00:32
#937
mcarbone avatar

mcarbone

Zen Follower

Join Date:
Feb 2009
Location:
Simi Valley, CA
Posts:
99
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I desperately need help on this issue. I've searched this thread to but could not find anything about merging this with the stock by attributes mod.

I know I need to merge orders.php but I'm stuck with the required scripts in modules / pages.

Stock w/sttribute requires that modules/pages/check_out shipping/header_php.php and modules/pages/shopping_cart/header_php.php.

COWOA requires a new pages/no_account/header.php.

Would COWOA be affected by this mod. I'm saoory for the vagueness but I'm lost.

Thanks for your help!

07 Feb 2010, 05:46
#938
2600strangeave avatar

2600strangeave

New Zenner

Join Date:
Dec 2009
Posts:
9
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I think I may be in the same boat as mcarbone. I just added COWOA to my site and now each time I click on the "Go to Checkout" button it sends me to what's supposed to be the login page, but it's blank. I double checked my install and it looks like I put all the right files in the right places. Any thoughts? Thanks!
Brian

http://2600strange.com/index.php?main_page=shopping_cart

10 Feb 2010, 04:42
#939
2600strangeave avatar

2600strangeave

New Zenner

Join Date:
Dec 2009
Posts:
9
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Anybody have any ideas on how to merge Stock by Attributes with COWOA?

12 Feb 2010, 03:32
#940
bhensarl avatar

bhensarl

New Zenner

Join Date:
Feb 2010
Posts:
67
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Okay, so now I've got it working but to get it to work I've had to delete some of the code. Here's what I did. The install said:

/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php
====================================================================

FIND:
-

<?php
      }
      for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) {
?>

<fieldset>

<legend><?php echo $selection[$i]['module']; ?></legend>

<?php echo $selection[$i]['redeem_instructions']; ?>

<div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>

<label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' 

for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo 

$selection[$i]['fields'][$j]['title']; ?></label>

<?php echo $selection[$i]['fields'][$j]['field']; ?>

</fieldset>

<?php
      }
    }
?>

-

REPLACE WITH:
-

<?php
      }
      for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) {
?>
<?php if(!($COWOA && $selection[$i]['module']==MODULE_ORDER_TOTAL_GV_TITLE)) {?>
<fieldset>
<legend><?php echo $selection[$i]['module']; ?></legend>
<?php echo $selection[$i]['redeem_instructions']; ?>
  <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
  <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' 
for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo 
$selection[$i]['fields'][$j]['title']; ?></label>

  <?php echo $selection[$i]['fields'][$j]['field']; ?>

  </fieldset>

  <?php } ?>
<?php
      }
    }
?>

-

I did not update the original code with the COWOA code. Each time I upload tpl_checkout_payment_default.php with the updated code, then attempt to purchase on the site, my purchase process stalls on the "...page=checkout_payment" page. The header displays normally, but the body of the page is blank. I suspect this is an error in the php, but I don't know where to go to fix it. My two questions are these:

  1. What is the error in the php that causes the stop?, and
  2. What am I losing by not having that bit of code in there.

Thanks in advance!
Brian