Page 43 of 86 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 854
  1. #421
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    Quote Originally Posted by lat9 View Post
    That P.S. is from a post a little over a year ago. I did a fresh install of v2.4 and the define is still missing. What are the TEXT_CHECKOUT_LOGOFF_CUSTOMER and TEXT_CHECKOUT_LOGOFF_GUEST defines "supposed" to say?
    Thought I was missing something... but looking at ZenCart1.5.1 and 2, it's in the core langrage file for /includes/languages/english/checkout_sucess.php not part of COWOA!

    Code:
    define('TEXT_CHECKOUT_LOGOFF_GUEST', 'NOTE: To complete your order, a temporary account was created. You may close this account by clicking Log Off. Clicking Log Off also ensures that your receipt and purchase information is not visible to the next person using this computer. If you wish to continue shopping, feel free! You may log off at anytime using the link at the top of the page.'); 
    define('TEXT_CHECKOUT_LOGOFF_CUSTOMER', 'Thank you for shopping. Please click the Log Off link to ensure that your receipt and purchase information is not visible to the next person using this computer.');
    Used in tpl_checkout_success_default.php as
    Code:
    <div id="checkoutSuccessLogoff"> 
    <?php 
    if ($_SESSION['COWOA']) { 
      zen_session_destroy(); 
    } else { 
      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> 
    <?php } ?> 
    </div>
    the guest_id section still exist in ZenCart 1.5.2
    Dave
    Always forward thinking... Lost my mind!

  2. #422
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,376
    Plugin Contributions
    94

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    Unfortunately, having the constants in the checkout_success page's language file doesn't do the order_status page any good.

    Those two constants are used at the bottom of tpl_order_status_default.php:
    Code:
    <!--Kills session after COWOA customer looks at order status-->
    <?php
    if ($_SESSION['COWOA'] and COWOA_LOGOFF == 'true') {
      zen_session_destroy();
    } else {
      if (isset($_SESSION['customer_guest_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_GUEST;
      } elseif (isset($_SESSION['customer_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
      }
    ?>
    <?php } ?>
    <!--eof logoff-->
    I'm thinking that the wording on the order_status page should be a tad different than that used on the checkout_success page, too.

  3. #423
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    Quote Originally Posted by lat9 View Post
    That P.S. is from a post a little over a year ago. I did a fresh install of v2.4 and the define is still missing. What are the TEXT_CHECKOUT_LOGOFF_CUSTOMER and TEXT_CHECKOUT_LOGOFF_GUEST defines "supposed" to say?
    Just did a search of the code and I don't see any reference to "TEXT_CHECKOUT_LOGOFF_GUEST".

    "TEXT_CHECKOUT_LOGOFF_CUSTOMER" looks like it has been missing for sometime, and it's never been reported as an "issue".. I don't think that it creates an "issue" since it's wrapped in a non-existent condition
    Code:
      if (isset($_SESSION['customer_guest_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_GUEST;
    "customer_guest_id" doesn't exist.. I'm thinking that this is code from an original/older version of COWOA.. The codebase that is part of COWOA comes from multiple contributors, and this looks like code that was leftover from one of these original contributors..
    Last edited by DivaVocals; 8 Jan 2014 at 05:24 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #424
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    Quote Originally Posted by lat9 View Post
    Unfortunately, having the constants in the checkout_success page's language file doesn't do the order_status page any good.

    Those two constants are used at the bottom of tpl_order_status_default.php:

    I'm thinking that the wording on the order_status page should be a tad different than that used on the checkout_success page, too.
    I see what your saying... I use a differnt oder status page then what came with COWOA and didn't see a need to have a kill command or login user check when the session was killed at the successfull order completed page. I also wanted any user to make an easy check on order status even if they have a account. I hate logging in just to see where my order is.

    @DivaVocals
    Just did a search of the code and I don't see any reference to "TEXT_CHECKOUT_LOGOFF_GUEST".
    That chunk of code at the bottom of the tpl_order_status_default.php during your next testing/edits could possibly get removed. I may have to play a bit too, my page header is differnt for it too... due to how I'm using returns.
    Dave
    Always forward thinking... Lost my mind!

  5. #425
    Join Date
    May 2012
    Location
    Dallas, Texas
    Posts
    11
    Plugin Contributions
    0

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    I have Zen Cart 1.50 with a couple of free items. After installing COWOA, customer has only FREE items in cart, $0.00 total. They get to get "order review" stage of checkout with not buttons to click to complete the order. I have the FreeCharger payment module installed to handle this case. Is there a patch for COWOA?

  6. #426
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: COWOA (for ZC v1.5.x)

    So tonight I was able to replicate this issue.

    Quote Originally Posted by Scully View Post
    I've gone through this entire post and haven't seen the answer to my question, so if someone could help me, I'd be very grateful. :-)

    I installed the COWOA (1.5.0, I think) a few months ago, and after some hiccups, got it working properly. But recently a few different book customers have contacted me, saying that the system is telling them their session has expired. This is happening less than 5 minutes after they've finalized their order. How can I reset the timeout feature so that their session won't expire until AFTER they've downloaded their products?

    Oddly enough, it isn't happening every time, just occasionally. Any ideas why?

    Thanks!!
    To resolve it I changed the COWOA setting "Enable Forced Logoff" to "false". This stopped the session expiration error and allowed my customer to get their download.

    BUT..

    once I changed "Enable Forced Logoff" to "false", I noticed that something lat9 reported reared it's ugly head..

    Quote Originally Posted by lat9 View Post
    P.S. Off-subject, but when I did a fresh install of COWOA on a fresh install of Zen Cart 1.5.1, the define TEXT_CHECKOUT_LOGOFF_CUSTOMER appears to be missing from the orders_status page.
    Quote Originally Posted by lat9 View Post
    That P.S. is from a post a little over a year ago. I did a fresh install of v2.4 and the define is still missing. What are the TEXT_CHECKOUT_LOGOFF_CUSTOMER and TEXT_CHECKOUT_LOGOFF_GUEST defines "supposed" to say?

    Quote Originally Posted by DivaVocals View Post
    Just did a search of the code and I don't see any reference to "TEXT_CHECKOUT_LOGOFF_GUEST".

    "TEXT_CHECKOUT_LOGOFF_CUSTOMER" looks like it has been missing for sometime, and it's never been reported as an "issue".. I don't think that it creates an "issue" since it's wrapped in a non-existent condition
    Code:
      if (isset($_SESSION['customer_guest_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_GUEST;
    "customer_guest_id" doesn't exist.. I'm thinking that this is code from an original/older version of COWOA.. The codebase that is part of COWOA comes from multiple contributors, and this looks like code that was leftover from one of these original contributors..
    The issue is that in BOTH cases this block of code in the orders_status page is the issue.. The missing constant definition aside, this code flat out it just doesn't "do" what it should do, and it's over my head to fix.. So I'm throwing it out there for the community to take a gander at..


    Code:
    <!--bof logoff-->
    <!--Kills session after COWOA customer looks at order status-->
    <?php
    if ($_SESSION['COWOA'] and COWOA_LOGOFF == 'true') {
      zen_session_destroy();
    } else {
      if (isset($_SESSION['customer_guest_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_GUEST;
      } elseif (isset($_SESSION['customer_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
      }
    ?>
    <?php } ?>
    <!--eof logoff-->
    The workaround for now for anyone selling downloads is to set "Enable Forced Logoff" to "false" and replace the code above as follows:

    Code:
    <!--bof logoff-->
    <!--Kills session after COWOA customer looks at order status-->
    <?php
    if ($_SESSION['COWOA'] and COWOA_LOGOFF == 'true') {
      zen_session_destroy();
    } else {
      if (isset($_SESSION['customer_guest_id'])) {
        echo ' ';
      } elseif (isset($_SESSION['customer_id'])) {
        echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
      }
    ?>
    <?php } ?>
    <!--eof logoff-->
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #427
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,376
    Plugin Contributions
    94

    Default Re: COWOA (for ZC v1.5.x)

    Quote Originally Posted by DivaVocals View Post
    "customer_guest_id" doesn't exist.. I'm thinking that this is code from an original/older version of COWOA.. The codebase that is part of COWOA comes from multiple contributors, and this looks like code that was leftover from one of these original contributors..
    Actually, $_SESSION['customer_guest_id'] is set by the PayPal payment processing when a not-logged-in customer uses the express-checkout button to complete their purchase.

  8. #428
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: COWOA (for ZC v1.5.x)

    Quote Originally Posted by lat9 View Post
    Actually, $_SESSION['customer_guest_id'] is set by the PayPal payment processing when a not-logged-in customer uses the express-checkout button to complete their purchase.
    Agreed, but this whole codeblock still isn't working as expected, and it's totally noticeable if one is selling downloads..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #429
    Join Date
    May 2012
    Location
    Dallas, Texas
    Posts
    11
    Plugin Contributions
    0

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    Quote Originally Posted by osulywan View Post
    I have Zen Cart 1.50 with a couple of free items. After installing COWOA, customer has only FREE items in cart, $0.00 total. They get to get "order review" stage of checkout with not buttons to click to complete the order. I have the FreeCharger payment module installed to handle this case. Is there a patch for COWOA?
    I found what was happening. For the benefit of others who may have a total order = $0 ...

    includes/templates/[YOUR TEMPLATE]/templates/tpl_checkout_confirmation_default.php on or about line 47 is this condition:

    if ($_SESSION['cart']->show_total() != 0) { ?>

    I removed the condition but kept "?>"

    Then I deleted the last 3 lines of the file that close the conditional:

    <?php
    }
    ?>

    I hope most of you have enormous numbers in your order totals but if you offer free stuff or in my case use products to register volunteers and customer appreciation swag, here it is. Thanks for the work you have done on COWOA, it works great. Here is my site: https://www.mellew.com/reg/

  10. #430
    Join Date
    Mar 2014
    Location
    California
    Posts
    12
    Plugin Contributions
    0

    Default Re: COWOA Updated and Combined for ZC v1.5.x

    After uploading the COWOA files (I did change the name of the admin folder, and the template folder), when I try to SEND the SQL code I get "WARNING: An Error occurred, please refresh the page and try again."

 

 
Page 43 of 86 FirstFirst ... 33414243444553 ... LastLast

Similar Threads

  1. v139c COWOA Module (my update for ZC v1.3.x)
    By JTheed in forum All Other Contributions/Addons
    Replies: 398
    Last Post: 29 Oct 2014, 02:35 PM
  2. Installed FEC before COWOA, now COWOA config menu doesn't appear
    By i-make-robots in forum Addon Payment Modules
    Replies: 8
    Last Post: 12 Jan 2014, 01:34 PM
  3. v151 How to install COWOA (for ZC v1.5.x)
    By edgemeister in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 4 Apr 2013, 05:21 PM
  4. v151 Which COWOA Plugin? Fast and Easy or original COWOA ?
    By damon in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 8 Nov 2012, 03:44 AM

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