Zen Cart Logo
Forums / All Other Contributions/Addons / Fast and Easy Checkout

Fast and Easy Checkout

Views: 550,926

Results 801 to 820 of 2,177
30 Apr 2010, 6:51 PM
#801
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Fast and Easy Checkout

Upgrading 1.3.8a to 1.3.9a trying to merge admin/orders.php
I have FEC, 1.5.1, Stock by Attributes 4.9 merged onto my 1.3.8a file. The parts to merge onto 1.3.9a file seem straight forward (lol) to me, but this section leaves me will cold feet.

In 1.3.9a:
```
//send emails
$message =
EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
strip_tags($notify_comments) .


vs my merged copy in 1.3.8a which is same as this block in FEC most recent update.

//send emails
$message = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n";
if(!$check_status->fields['COWOA_order']) {
$message .= EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n";
}
$message .= EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
strip_tags($notify_comments) .


Question 1: any suggestions how to merge these two blocks.

Question 2: I also have Super Orders - does it override orders.php making my first question moot?

My server will be moving to PHP 5.3 but hasn't yet.
30 Apr 2010, 6:55 PM
#802
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Fast and Easy Checkout

ok obviously I did something wrong as my quoted code vanished in the above post. Here's trying again:

In 1.3.9a:

       > //send emails
        $message =
        EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
        EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
        EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
        strip_tags($notify_comments) .

In merged copy of 1.3.8a

//send emails
$message = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n";
if(!$check_status->fields['COWOA_order']) {
$message .= EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n";
}
$message .= EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
strip_tags($notify_comments) .

30 Apr 2010, 10:57 PM
#803
nickp avatar

nickp

New Zenner

Join Date:
Mar 2009
Posts:
34
Plugin Contributions:
0

Re: Fast and Easy Checkout

I've bin loking for two days now for the solution for the following problem:

I was editing includes/classes/order.php and when I tried to go to checkout page (main_page=checkout&action=null) it turnd up blank.
I reinstalled the original order.php the page was still blank, allas.

When I turn fec off the checkout works with the normal three steps.
I reinstalled all the fec files, but still no luck.

I used the debugging tool and got an redeclare class error on line 1037 in order.php, but since the first time the blank page occurd I've installed the order.php at least twice.

So now I'm in the dark about it.

Any help would be welcome...

1 May 2010, 11:12 AM
#804
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

soxophoneplayer:

Upgrading 1.3.8a to 1.3.9a trying to merge admin/orders.php
I have FEC, 1.5.1, Stock by Attributes 4.9 merged onto my 1.3.8a file. The parts to merge onto 1.3.9a file seem straight forward (lol) to me, but this section leaves me will cold feet.

In 1.3.9a:
```
//send emails
$message =
EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
strip_tags($notify_comments) .

> 
> vs my merged copy in 1.3.8a which is same as this block in FEC most recent update.
> 
> ```
//send emails
      $message = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" .
      EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n";
      if(!$check_status->fields['COWOA_order']) {
      $message .= EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n";
      }
      $message .= EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
      strip_tags($notify_comments) .

Question 1: any suggestions how to merge these two blocks.

Question 2: I also have Super Orders - does it override orders.php making my first question moot?

My server will be moving to PHP 5.3 but hasn't yet.

The only difference between those 2 sections is that it is adding a Seperator Line ___________ and checking if you are using the COWOA (Checkout WithOUT an Account). A simple copy and paste over the new code in 1.39a will work fine.

Super_Orders uses it's own files but does require that you edit /includes/classes/order.php. I would compare this file from order.php in 1.39a and after you finsih that, add in any FEC changes.

Remember, Always BACKUP your FIles and DB BEFORE making changes!

1 May 2010, 11:14 AM
#805
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

NickP:

I've bin loking for two days now for the solution for the following problem:

I was editing includes/classes/order.php and when I tried to go to checkout page (main_page=checkout&action=null) it turnd up blank.
I reinstalled the original order.php the page was still blank, allas.

When I turn fec off the checkout works with the normal three steps.
I reinstalled all the fec files, but still no luck.

I used the debugging tool and got an redeclare class error on line 1037 in order.php, but since the first time the blank page occurd I've installed the order.php at least twice.

So now I'm in the dark about it.

Any help would be welcome...

Look at message 800 on page 80 (previous page) of this thread and see if that helps you out.

1 May 2010, 2:16 PM
#806
nickp avatar

nickp

New Zenner

Join Date:
Mar 2009
Posts:
34
Plugin Contributions:
0

Re: Fast and Easy Checkout

JTheed:

Look at message 800 on page 80 (previous page) of this thread and see if that helps you out.

To bad, it didn't work out for me.

It doesn't matter if a set al the other options from fec to 1 or 0, but when I switch fec on the page goes blank.

Wich file controls this?

1 May 2010, 3:08 PM
#807
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Fast and Easy Checkout

Thank you JTheed for reply to my previous post.

Here is another question, this time re

includes/modules/create_account.php

There are many instances in the 1.3.9a file where 'login' is changed to 'create account'.

But there are also large blocks of unique code further down in the FEC file that use 'login', , for instance //shipping down around #300, so if I copy those blocks over into 1.3.9a will that be a problem

....should I change those instances of 'login' also to 'create account'?

This question also posted in 1.3.9a upgrade forum.

1 May 2010, 4:16 PM
#808
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

My Bad for not specifying this earlier, I am using version 173 of FEC. I haven't looked at 151 but it may not be compatible for 1.39.

NickP: If you turn off the FEC mod, then it is not your problem. Did you edit a core file to add it to your store? If so, put a copy of the original file that was edited back in and see if that clears the problem.

Remember EVERYONE, if you have a problem on a page, it HELPS A LOT to leave a link to your sight if you can and tell us what version of zen-cart and the mod you are using. This way it can be looked at and it might make the fix a lot easier to find.

Remember, Always BACKUP your files and DB Before add any modification!

1 May 2010, 4:54 PM
#809
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

soxophoneplayer:

Thank you JTheed for reply to my previous post.

Here is another question, this time re

includes/modules/create_account.php

There are many instances in the 1.3.9a file where 'login' is changed to 'create account'.

But there are also large blocks of unique code further down in the FEC file that use 'login', , for instance //shipping down around #300, so if I copy those blocks over into 1.3.9a will that be a problem

....should I change those instances of 'login' also to 'create account'?

This question also posted in 1.3.9a upgrade forum.

I would say No. Create_Account is for Creating a NEW Account and Login is for a Customer to Login because they have already created their account. I would leave it the way it is as far as Login and Create_Account go.

Remember, Always BACKUP your files and DB Before add any modification!

1 May 2010, 9:37 PM
#810
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Fast and Easy Checkout

includes/modules/create_account.php is NOT on the list of modified files in the FEC 1.8.0 release.

However, the file is contained in the folder of required files and it is substantially different from either the zc 1.3.8a or 1.3.9a clean file which is why I was attempting to merge it.

There are several other files likewise not in the former but in the latter.

I took this to mean the exclusion from the list was accidental, but now it seems perhaps it was the inclusion of the files which was unintended. (?)

I'm getting befuddled trying to update FEC and zc concurrently.

1 May 2010, 9:45 PM
#811
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Fast and Easy Checkout

I have customers complaining they cant change the ship to address, is anyone else having this issue?

2 May 2010, 3:29 AM
#812
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

soxophoneplayer:

includes/modules/create_account.php is NOT on the list of modified files in the FEC 1.8.0 release.

However, the file is contained in the folder of required files and it is substantially different from either the zc 1.3.8a or 1.3.9a clean file which is why I was attempting to merge it.

There are several other files likewise not in the former but in the latter.

I took this to mean the exclusion from the list was accidental, but now it seems perhaps it was the inclusion of the files which was unintended. (?)

I'm getting befuddled trying to update FEC and zc concurrently.

OK, I see what you are talking about. It looks like it was left in and has a check for the captcha mod included in it.
It might be better to address this on the authors site as he doesn't list this as one of the files to be modified.

As far as changing the login to create_account, they are there for error messages, so changing them should be ok. I would try it using the 1.39 file and only add the COWOA parts to the 1.39 version. You did see you need another mod to even use the FEC 180, right?

I don't know how many mods you have installed, but I think I would get the upgrade done to 1.3.9 and then add the mods I want to it. The main thing is to get the Database UPGRADED and the new code for security purposes and PHP 5.3x

I'll try to get some time to install FEC180 tomorrow and let you know what I find myself.

2 May 2010, 3:30 AM
#813
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

rxalex:

I have customers complaining they cant change the ship to address, is anyone else having this issue?

I've not run across this problem, but a link to your site would help a lot and what it's running on too!

2 May 2010, 3:50 AM
#814
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Fast and Easy Checkout

I have customers complaining they cant change the ship to address, is anyone else having this issue? *** URL REMOVED *** ... also anyone having issues with abandoned carts?

2 May 2010, 6:04 AM
#815
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

rxalex:

I have customers complaining they cant change the ship to address, is anyone else having this issue? *** URL REMOVED *** ... also anyone having issues with abandoned carts?

Your site worked ok for me (FireFox v3.63), did these customers happen to say which browser and version of it they are using?

2 May 2010, 1:51 PM
#816
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

soxophoneplayer:

includes/modules/create_account.php is NOT on the list of modified files in the FEC 1.8.0 release.

However, the file is contained in the folder of required files and it is substantially different from either the zc 1.3.8a or 1.3.9a clean file which is why I was attempting to merge it.

There are several other files likewise not in the former but in the latter.

I took this to mean the exclusion from the list was accidental, but now it seems perhaps it was the inclusion of the files which was unintended. (?)

I'm getting befuddled trying to update FEC and zc concurrently.

I went ahead and installed FEC 180 out of the box with just 2 changes. I renamed the template_default folder to classic as it is the one I use when testing and the other change was to remove an } on line 304 in the tpl_checkout_stacked.php file for running ZEC with one page checkout.
I did not merge any of the file together, just the 2 changes above and it works. There are more files overwritten than what is on his list of files that are modified, you were 100% correct there.
I am going to comb thru it and see if there are any things that really SHOULD be merged for security updates.

2 May 2010, 2:18 PM
#817
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Fast and Easy Checkout

Not sure which browser they used Jthread. Thanks for your help

2 May 2010, 6:13 PM
#818
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

Re: Fast and Easy Checkout

I'm also having issues with addresses being changed...it seems to work if everything is entered correctly, but if there's an error in one field, it just does nothing - no error messages are shown, and the change address box is closed with no change.
I'm using FEC 1.8 on ZC 1.3.9b

3 May 2010, 1:19 AM
#819
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: Fast and Easy Checkout

hey_you:

I'm also having issues with addresses being changed...it seems to work if everything is entered correctly, but if there's an error in one field, it just does nothing - no error messages are shown, and the change address box is closed with no change.
I'm using FEC 1.8 on ZC 1.3.9b

I just tried it on my setup (FEC 1.80 and Zen-Cart 1.3.9b) and it worked as it should. I left off a field on the new address and it came back with an error message and the address page for me to correct it. When I corrected it, it went forward as it should. I am setup as a single page checkout.

Did you just install the FEC 180 or merge files?

3 May 2010, 2:10 AM
#820
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

Re: Fast and Easy Checkout

JTheed:

I just tried it on my setup (FEC 1.80 and Zen-Cart 1.3.9b) and it worked as it should. I left off a field on the new address and it came back with an error message and the address page for me to correct it. When I corrected it, it went forward as it should. I am setup as a single page checkout.

Did you just install the FEC 180 or merge files?

I upgraded from 1.7.3 - maybe I forgot to remove an old file?

Thanks for checking!