Page 110 of 279 FirstFirst ... 1060100108109110111112120160210 ... LastLast
Results 1,091 to 1,100 of 2784
  1. #1091
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    See this (https://github.com/lat9/one_page_checkout/issues/165) GitHub issue; let me know if that corrects the issue when a store doesn't have ot_gv enabled.

    There was a change made for zc156 such that an empty array (instead of false) is being returned in that case, that's what the change for that issue addresses.
    Thanks. I've applied the change and will check back to see if the error goes away.

  2. #1092
    Join Date
    Jul 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Good catch! I've opened an issue on OPC's GitHub repository to track the change (https://github.com/lat9/one_page_checkout/issues/171).

    I'll note, though, that dropdown list should be shown if the customer has more than 1 (not 2) addresses previously recorded.
    Hmm. When I did it, I had to set it to 2 for it to work. I concluded that it was counting "Select from saved addresses" as an address.

  3. #1093
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by archelaus View Post
    Hmm. When I did it, I had to set it to 2 for it to work. I concluded that it was counting "Select from saved addresses" as an address.
    Arggh, you're quite right; let me get that corrected on GitHub.

  4. #1094
    Join Date
    Mar 2019
    Posts
    4
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Per the plugin's readme, the YourStore template is known to be incompatible with One-Page Checkout.

    Yes I know that, but still I think I can make it work. Yourstore support offered me to install this plugin for alot of money. This template use unique method to show header and I think this is the main think why plugin isn't working properly. With your knowledge I think it's possible to merge those two files. But maybe you know better where is the problem. Thanks

  5. #1095
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by MrSteeiii View Post
    Yes I know that, but still I think I can make it work. Yourstore support offered me to install this plugin for alot of money. This template use unique method to show header and I think this is the main think why plugin isn't working properly. With your knowledge I think it's possible to merge those two files. But maybe you know better where is the problem. Thanks
    The YourStore template (and its ThemeForest siblings) gave me quite the headache when I investigated the interoperability a couple of years ago. It's not something that I'm willing to offer as a free service.

  6. #1096
    Join Date
    Mar 2019
    Posts
    4
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    The YourStore template (and its ThemeForest siblings) gave me quite the headache when I investigated the interoperability a couple of years ago. It's not something that I'm willing to offer as a free service.
    I am willing to pay some money for your help. Can you tell me how much this can cost for me?

  7. #1097
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by MrSteeiii View Post
    I am willing to pay some money for your help. Can you tell me how much this can cost for me?
    PM (Private Message) sent.

  8. #1098
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    I've completed the changes for One-Page Checkout, v2.1.0, and have packaged up v2.1.0-beta5 for download from the plugin's GitHub repository. Do not deploy this on a live site!


    I'd appreciate any/all beta-testing that the community can provide, especially with respect to the installation/upgrade documentation ... which has changed significantly. Please report any issues found (or suggestions for improvement) as GitHub issues on that repository.

  9. #1099
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    304
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    PHP 7.2
    ZC 156a
    OPC v2.1.0-beta5

    I've been testing with this build but I'm only using "PO Number Payment and Flat Rate Shipping" so I'm not covering the corner cases.
    The documentation seems to be OK if you read it carefully.

    The only issue I have is:
    The "Shipping Address" drop list on the checkout page is listing the addresses in the order I entered them NOT in any alphabetical order.

    Googled and checked the forums but can't come up with a solution.

    Any clues on how to make that sort on Company name would be appreciated.

    Thanks

  10. #1100
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    FWIW, I'm up to OPC v2.1.0-beta8.

    You'll need to edit (and make a copy of) /includes/classes/OnePageCheckout.php to edit its formatAddressBookDropdown method:
    Code:
        
        public function formatAddressBookDropdown()
        {
            $select_array = array();
            if (isset($_SESSION['customer_id']) && !$this->isGuestCheckout() && !$this->customerAccountNeedsPrimaryAddress()) {
                // -----
                // Build up address list input to create a customer-specific selection list of 
                // pre-existing addresses from which to choose.
                //
                $addresses = $GLOBALS['db']->Execute(
                    "SELECT address_book_id 
                       FROM " . TABLE_ADDRESS_BOOK . " 
                      WHERE customers_id = " . (int)$_SESSION['customer_id'] . "
                   ORDER BY address_book_id"
                );
                if (!$addresses->EOF) {
                    $select_array[] = array(
                        'id' => 0,
                        'text' => TEXT_SELECT_FROM_SAVED_ADDRESSES
                    );
                }
                while (!$addresses->EOF) {
                    $select_array[] = array( 
                        'id' => $addresses->fields['address_book_id'],
                        'text' => str_replace("\n", ', ', zen_address_label($_SESSION['customer_id'], $addresses->fields['address_book_id']))
                    );
                    $addresses->MoveNext();
                }
            }
            return $select_array;
        }
    Note, though, that this class is very 'volatile' as it's the heart of OPC's processing.

 

 

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

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