Page 81 of 218 FirstFirst ... 3171798081828391131181 ... LastLast
Results 801 to 810 of 2177
  1. #801
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    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:
    [SCR] //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) .[/SCR]

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

    [SCR]//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) .[/SCR]

    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.

  2. #802
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

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

  3. #803
    Join Date
    Mar 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

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

  4. #804
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: Fast and Easy Checkout for Zen Cart

    Quote Originally Posted by soxophoneplayer View Post
    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:
    Code:
      //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.

    Code:
    //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!

  5. #805
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: Fast and Easy Checkout for Zen Cart

    Quote Originally Posted by NickP View Post
    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.

  6. #806
    Join Date
    Mar 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Quote Originally Posted by JTheed View Post
    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?

  7. #807
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    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.

  8. #808
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: Fast and Easy Checkout for Zen Cart

    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!

  9. #809
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: Fast and Easy Checkout for Zen Cart

    Quote Originally Posted by soxophoneplayer View Post
    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!

  10. #810
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    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.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 25 Jan 2012, 07:37 PM
  2. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  3. Go To Checkout Error - with Fast and Easy Checkout installed
    By RFree190 in forum General Questions
    Replies: 3
    Last Post: 10 Mar 2009, 07:08 AM
  4. checkout page not redirect (Fast and Easy Checkout module)
    By wowemall in forum Addon Templates
    Replies: 0
    Last Post: 27 Sep 2008, 02:36 PM
  5. Fast and Easy Checkout
    By cmes in forum General Questions
    Replies: 5
    Last Post: 15 Feb 2008, 04:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR