Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by niccol View Post
    Oh, now I am not sure. This is a site I have inherited.

    It says 1.5.7a but obviously the line is not in the default Zen code. (or in 1.5.0) So, I don't know.

    What I am seeing on this site is this: (but it might be non-standard and someone has edited in the past.)

    Code:
        function size($class) 
        {
            if (!empty($_SESSION['messageToStack'])) {
                foreach ($_SESSION['messageToStack'] as $next_message) {
                    $this->add($next_message['class'], $next_message['text'], $next_message['type']);
                }
            }
    
            $_SESSION['messageToStack'] = array();
    
            $count = 0;
    
            foreach ($this->messages as $next_message) {
                if ($next_message['class'] == $class) {
                    $count++;
                }
            }
    
            return $count;
        }
    But your point about it being unnecessary anyway on Github makes a lot of sense :-)
    niccol, you've got the correct zc157 version; my initial response was my foobar.

  2. #2
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi lat9, I'm testing this one-page checkout module (v2.4.0) right now, and I noticed there might be a mistake for the installation notes. Step G is the following:

    "Now, check your store's current /includes/modules/pages/checkout_payment directory's contents. The "base" Zen Cart distribution includes two files in that directory: header_php.php and jscript_main.php. If your directory contains any other files, be sure to copy them to your store's /includes/modules/pages/checkout_one directory. Those additional files come from plugins and additional payment methods and will be required for those modifications to operate correctly in the one-page checkout environment."

    I checked the zen cart v1.5.7c and v1.5.7d zip files, there are five files under /includes/modules/pages/checkout_payment folder, which are the following:

    header_php.php
    jscript_main.php
    jscript_double_submit.php
    jscript_pmt_support.php
    jscript_square.php

    Maybe the early version zen cart only comes with 2 files for this folder and but now it have 5 files. It is not critical and you may clarify it in your next update.

    Thanks in advance.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    Hi lat9, I'm testing this one-page checkout module (v2.4.0) right now, and I noticed there might be a mistake for the installation notes. Step G is the following:

    "Now, check your store's current /includes/modules/pages/checkout_payment directory's contents. The "base" Zen Cart distribution includes two files in that directory: header_php.php and jscript_main.php. If your directory contains any other files, be sure to copy them to your store's /includes/modules/pages/checkout_one directory. Those additional files come from plugins and additional payment methods and will be required for those modifications to operate correctly in the one-page checkout environment."

    I checked the zen cart v1.5.7c and v1.5.7d zip files, there are five files under /includes/modules/pages/checkout_payment folder, which are the following:

    header_php.php
    jscript_main.php
    jscript_double_submit.php
    jscript_pmt_support.php
    jscript_square.php

    Maybe the early version zen cart only comes with 2 files for this folder and but now it have 5 files. It is not critical and you may clarify it in your next update.

    Thanks in advance.
    I appreciate the posting. The readme for v2.4.1 will be updated to be more generic in its instructions!

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

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