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

My Checkout Without Account Mod

Locked

Views: 323,003

Results 1,081 to 1,100 of 1,220
This thread is locked. New replies are disabled.
10 Apr 2011, 15:09
#1081
mammoth avatar

mammoth

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

My Checkout Without Account Mod

Since installing this mod on 1.3.8 two things occur:

1 - There is an image over the top left of my header image (Within the logo wrapper)
I have searched and found a solution that fixed this issue for other folk but it does not help with my site - woodandknifesupply.com
Have managed to get rid of the logo image BUT!! it obviously leaves a logo placeholder and mouseover web link....
Would be great to get rid of the image placeholder and weblink on mouseover.

Potentially isolated the issue to the following code within tpl_header.php
However I do not know how to fix it...

if (!isset($flag_disable_header) || !$flag_disable_header) {
?>

<div id="headerWrapper"> <!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div> <?php } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?> </div> <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> </div> <br class="clearBoth" /> <!--eof-branding display-->

2 - From within Admin the default centre top box that lists customers (Modded by the COWOA sql script so it lists COWOA customers) is a bit agricultural...any thoughts re tidying this up would be appreciated.

i.e. displays the sql names
BOX_TITLE_CUSTOMERS
BOX_ENTRY_CUSTOMERS_TOTAL 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA 1

BOX_ENTRY_CUSTOMERS_TOTAL_DISTINCT 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA_DISTINCT 1

10 Apr 2011, 15:29
#1082
mammoth avatar

mammoth

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Problem 1 is resolved

Restored the original file as described below and as per manual install guidelines modded the original file.....no more problem with issue 1 :smile:
/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 } ?>

Still need help please with issue two :lookaroun

2 - From within Admin the default centre top box that lists customers (Modded by the COWOA sql script so it lists COWOA customers) is a bit agricultural...any thoughts re tidying this up would be appreciated.

i.e. displays the sql names
BOX_TITLE_CUSTOMERS
BOX_ENTRY_CUSTOMERS_TOTAL 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA 1

BOX_ENTRY_CUSTOMERS_TOTAL_DISTINCT 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA_DISTINCT 1

11 Apr 2011, 13:20
#1083
alexanderk avatar

alexanderk

New Zenner

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

Re: My Checkout Without Account Mod

My problem has been solved.

11 Apr 2011, 13:50
#1084
adlibit avatar

adlibit

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Where can I download the latest version of this mod?

12 Apr 2011, 08:43
#1085
mammoth avatar

mammoth

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Mammoth:

Still need help please with issue two :lookaroun

2 - From within Admin the default centre top box that lists customers (Modded by the COWOA sql script so it lists COWOA customers) is a bit agricultural...any thoughts re tidying this up would be appreciated.

i.e. displays the sql names
BOX_TITLE_CUSTOMERS
BOX_ENTRY_CUSTOMERS_TOTAL 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA 1

BOX_ENTRY_CUSTOMERS_TOTAL_DISTINCT 147
BOX_ENTRY_CUSTOMERS_NORMAL 146
BOX_ENTRY_CUSTOMERS_COWOA_DISTINCT 1

Any pointers appreciated.

13 Apr 2011, 00:49
#1086
ajthenewguy avatar

ajthenewguy

New Zenner

Join Date:
Apr 2011
Posts:
1
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I have installed version 2-0c1 of COWOA on ZenCart version 1.3..9.

When attempting to checkout without an account, I am having an issue.

I have seen other with the same problem, but have seen no definitive fixes; I have attempted all the various suggestions supplied to no avail.

This is the issue:
On step 1, where the user enters their Billing information, upon submitting this form, instead of going to Step 2: Shipping, it just reloads the form.

I have already verified all template folders were updated to my theme ("template_default").

I have verfied that /includes/modules/template_default/no_account.php is on the server.

PLEASE HELP!! Thanks.

13 Apr 2011, 03:54
#1087
countrycharm avatar

countrycharm

Totally Zenned

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

Re: My Checkout Without Account Mod

For all who are having trouble installing this module try COWOA - Updated and Combined.

13 Apr 2011, 08:24
#1088
mammoth avatar

mammoth

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

Re: My Checkout Without Account Mod

countrycharm:

For all who are having trouble installing this module try COWOA - Updated and Combined.

Does this work with 1.3.8?

13 Apr 2011, 14:17
#1089
countrycharm avatar

countrycharm

Totally Zenned

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

Re: My Checkout Without Account Mod

Mammoth:

Does this work with 1.3.8?

I think it will work with 1.3.8. I don't know why you are still on 1.3.8 I would upgrade for security reasons.
You can download the module from here if you want to try it out.

20 Apr 2011, 08:05
#1090
mammoth avatar

mammoth

New Zenner

Join Date:
Apr 2010
Posts:
20
Plugin Contributions:
0

Re: My Checkout Without Account Mod

countrycharm:

I don't know why you are still on 1.3.8

Because I've got so many mods in 1.3.8, I would probably need to build the site again from scratch.

20 Apr 2011, 13:16
#1091
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I had to do that....many mods on 1.3.8a to 1.3.9h

It has been worth it...like learning from a nightmare...and took a great deal of time and testing. Had i been more methodical, not trying to save time, and carefully read through all the mods threads, one by one THOROUGHLY...I would have saved some time.

*Make sure all the mods you are adding or updating to 1.3.9h are using that version of the core files that require edits...many don't.

*READ through all the main threads about the mods because there are some fixes in there for 1.3.9h that have never been applied to the download section.

*after you've tried everything to make sure all files are edited correctly and uploaded, Keep poking at unresolved issues and post details of your problem as well as details of your success.

*Dreamweaver's (I'm using CS4) sync feature is very valuable for reviewing you server files match your local files.

*Step carefully though Winmerge, if you are using it as one mistake I found when I'd save changes, sometimes I saved the wrong side to my store.

These mistakes resulted in my redoing all the mods at least three times. However, I found fixes for other zenners that had been bothering them for awhile and had previously gone unresolved.

OH...and be appreciative and gracious of the help you get here...goes a long way...so do frustrating remarks...In other words, you'll never be the same....

Safe journey...

11 May 2011, 16:25
#1092
xisu521 avatar

xisu521

New Zenner

Join Date:
May 2011
Posts:
1
Plugin Contributions:
0

Re: My Checkout Without Account Mod

horsetags:

Sorry, it is a modified header :-( - it's been a long day

STEP 1a - In your custom templates on your cart, edit the tpl_header.php file and look for this line.

<?php if (($_SESSION['customer_id']) { ?>

change it to this.

<?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>

Help,I cannot find the

<?php if (($_SESSION['customer_id']) { ?>

in the tpl_header.php of my custom template.
Then where is the exact place of the tpl_header.php ?
Thanks in advance

13 May 2011, 16:51
#1093
kands avatar

kands

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: My Checkout Without Account Mod

xisu521:

Then where is the exact place of the tpl_header.php ?

It is located in
includes/templates/YOUR_TEMPLATE_NAME/common

If you are using the default template it is in
includes/templates/template_default/common

The line you are looking
<?php if (($_SESSION['customer_id']) { ?>
is on line 48

18 May 2011, 14:11
#1094
whiskeylover avatar

whiskeylover

New Zenner

Join Date:
Apr 2011
Posts:
8
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I feel like I've tried and tried to do this, but keep running into the same issue. I've installed three times, checked and double checked things, but I'm obviously missing something. On the /index.php?main_page=no_account page, I keep seeing the following.

What did I miss? I'm sure I've looked at it a dozen times, but I just can't see it.

18 May 2011, 14:44
#1095
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I backed out of this installation as the ordered steps mod that was integrated was too difficult for me.

but I did have this issue and fixed it.

Do you have this file?

/includes/languages/english/extra_definitions/order_steps_defines.php? I guess you could just add the define to the languages/english.php file if it is not working.

define('TEXT_ORDER_STEPS_BILLING', 'Billing');
define('TEXT_ORDER_STEPS_1', 'Shipping');
define('TEXT_ORDER_STEPS_2', 'Payment');
define('TEXT_ORDER_STEPS_3', 'Order Review');
define('TEXT_ORDER_STEPS_4', 'Order Complete');
19 May 2011, 00:20
#1096
whiskeylover avatar

whiskeylover

New Zenner

Join Date:
Apr 2011
Posts:
8
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Thank you athena, that was the problem. Actually my template had the order_steps_defines.php as well, so that was overriding the one in the extra_definitions.

That did get me through that part, but even after spending hours on it, I still was having problems so I removed it again. Is this the best solution for checking out without an account? I don't know why I'm having such a block with this one. I don't like being beat by a plugin, but I want to make it easier for customers to check out. :frusty:

19 May 2011, 13:02
#1097
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: My Checkout Without Account Mod

I'm still hoping to attempt to install this again when the dust settles.....I'll post here if I have success.

02 Jun 2011, 05:47
#1098
mleahy avatar

mleahy

New Zenner

Join Date:
Nov 2010
Posts:
27
Plugin Contributions:
0

Re: My Checkout Without Account Mod

Hi,

I have been using COWOA since December and just now noticed that the MyAccount and Logoff links are not showing in the header, even when you have logged in as a registered user. I don't think this is the way it is supposed to behave. Following is the Navigation section of my tpl_header.php file where I added the COWOA mod as recommended in the install.txt file. Any suggestions? I have even tried turning COWOA off in Admin and testing it and it still doesn't show the Logoff or MyAccount link when I am logged in:

			<!-- ========== NAVIGATION LINKS ========== -->

<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>

<!-- mleahy- modified following line for COWOA installation. --> <?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>

  |   <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
  |   <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>

<?php } else { if (STORE_STATUS == '0') { ?>

  |   <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>

<?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

  |   <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
  |   <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>

<?php } ?> <!-- ====================================== -->
02 Jun 2011, 05:56
#1099
craftzombie avatar

craftzombie

Zen Follower

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

Re: My Checkout Without Account Mod

mleahy:

Hi,

I have been using COWOA since December and just now noticed that the MyAccount and Logoff links are not showing in the header, even when you have logged in as a registered user. I don't think this is the way it is supposed to behave...

That is how it is supposed to behave. A person who is using COWOA doesn't want to have a normal account and therefore would not need to have a "My Account" or "Logoff" link.

*Edit.... just saw the part about "even when you have logged in as a registered user"...OOPS!

02 Jun 2011, 06:12
#1100
craftzombie avatar

craftzombie

Zen Follower

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

Re: My Checkout Without Account Mod

mleahy:

Hi,

I have been using COWOA since December and just now noticed that the MyAccount and Logoff links are not showing in the header, even when you have logged in as a registered user. I don't think this is the way it is supposed to behave. Following is the Navigation section of my tpl_header.php file where I added the COWOA mod as recommended in the install.txt file. Any suggestions? I have even tried turning COWOA off in Admin and testing it and it still doesn't show the Logoff or MyAccount link when I am logged in:

  		<!-- ========== NAVIGATION LINKS ========== -->

<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>

<!-- mleahy- modified following line for COWOA installation. --> <?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>

  |   <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
  |   <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>

I could be wrong, but I'm not sure that a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"> is the correct way to do it. Is it supposed to be contained within the a href part?? When I look at mine, it's like this:

<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo zen_customer_store_account(); ?></a><?php } ?><?php } ?>

You see what I'm saying?? The code is put entirely before you get to the a href part.

My logoff looks like:

<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">Logout</a></li><?php } ?><?php } ?>