Page 171 of 279 FirstFirst ... 71121161169170171172173181221271 ... LastLast
Results 1,701 to 1,710 of 2784
  1. #1701
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mprough View Post
    Disabling adv shipper made no difference and the console isn't reporting any additional errors. Standard Zen Cart checkout is working fine in either case. I am happy to share login creds and site in PM if you want to look.
    Sure, send them on. If you'll install "Display Logs" so that I can 'see' what's going on, I'll only need admin-login credentials.

  2. #1702
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Sure, send them on. If you'll install "Display Logs" so that I can 'see' what's going on, I'll only need admin-login credentials.
    The checkout-loop that @mprough reported in post #1693 above was due to the changes made in #1692, which applied the id="OPC" to all order-totals, causing OPC's jQuery to pick up the value of the order's sub-total instead of the total.

    That discrepancy was the cause of the checkout-loop. Here's the correction for the Bootstrap template's /templates/tpl_modules_order_total.php:
    Code:
    <?php
    /**
     * Module Template
     * 
     * BOOTSTRAP v1.0.BETA
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_order_totals.php 2993 2006-02-08 07:14:52Z birdbrain $
     */
     ?>
    <?php 
    /**
     * Displays order-totals modules' output
     */
      for ($i=0; $i<$size; $i++) { ?>
    <?php
    //-20200718-lat9-Only apply the id="OPC" for the order's total
    $value_parameter =  ($GLOBALS[$class]->code == 'ot_total') ? ' id="OPC"' : '';
    ?>
    
    <tr id="<?php echo str_replace('_', '', $GLOBALS[$class]->code); ?>">
    <td colspan="2" class="text-right">
    <?php echo $GLOBALS[$class]->output[$i]['title']; ?>
    </td>
    <td class="text-left"<?php echo $value_parameter; ?>>
    <?php echo $GLOBALS[$class]->output[$i]['text']; ?>
    </td> 
        </tr>
    <?php } ?>
    If you're using that, you'll also need to change the OPC's order-total selector's configuration as identified in post #1692 above!

  3. #1703
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    25
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I see 160 odd pages of discussion, can you narrow it down for ae a little bit? is there a link to the answer ?

  4. #1704
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by johnniejetski2 View Post
    I see 160 odd pages of discussion, can you narrow it down for ae a little bit? is there a link to the answer ?
    I've identified Melanie's two posts by their post numbers which appear in the respective post's date/time header, to the right.

  5. #1705
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

    Default Re: One-Page Checkout [Support Thread]

    I have an odd issue and trouble tracking it down.

    OPC 2.1.4
    Zen Cart 1.5.6c

    The order confirmation emails for guest checkout have the billing and shipping address as a single line of text (https://prnt.sc/tczh24). Regular account order confirmation emails appear correctly with each line of the address on it's own line.

    I'm having trouble tracking down where this issue might be coming from. I've been tracking down $email_text in /includes/classes/observers/class.checkout_one_observer.php
    but not having any luck solving this.

  6. #1706
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    I have an odd issue and trouble tracking it down.

    OPC 2.1.4
    Zen Cart 1.5.6c

    The order confirmation emails for guest checkout have the billing and shipping address as a single line of text (https://prnt.sc/tczh24). Regular account order confirmation emails appear correctly with each line of the address on it's own line.

    I'm having trouble tracking down where this issue might be coming from. I've been tracking down $email_text in /includes/classes/observers/class.checkout_one_observer.php
    but not having any luck solving this.
    Jim, there have been 86 commits (i.e. code changes) since OPC v2.1.4 was released last September. The various releases are documented here: https://github.com/lat9/one_page_checkout/releases.

    You might try applying the change documented here: https://github.com/lat9/one_page_che...af4be9e4aca26e

  7. #1707
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    ZCv1.56c
    OPCv2.3.2 (pretty sure still applies in OPC v2.3.3)

    A code change request - I think I've got this right.

    In the various customer address blocks - store side, the placeholder alert asterisk (ENTRY_STATE_TEXT) is placed inside the state field when it is not a dropdown:

    tpl_modules_checkout_new_address.php
    Code:
    echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state" placeholder="' . ENTRY_STATE_TEXT . '"');
    tpl_modules_address_book_details.php
    Code:
     echo zen_draw_input_field('state', zen_get_zone_name($entry->fields['entry_country_id'], $entry->fields['entry_zone_id'], $entry->fields['entry_state']), zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state" placeholder="' . ENTRY_STATE_TEXT . '"');
    not so in tpl_modules_opc_address_block.php
    Code:
     echo zen_draw_input_field($state_field_name, $address['state'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . " id=\"$state_field_id\"");
        if (zen_not_null(ENTRY_STATE_TEXT)) {
            echo '<span class="alert">' . ENTRY_STATE_TEXT . '</span>';
        }
    The placeholder is outside of the state field, I think it could do with being inside it. I've dabbled but can't seem to add the placeholder after the state_field_id without breaking it.

    Edit: forgot to include tpl_modules_create_account.php in my examples
    Last edited by simon1066; 20 Jul 2020 at 06:13 PM.
    Simon

  8. #1708
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    I feel stupid asking this... but what file is missing when the checkout page only displays stuff like the following instead of the actual text. I have triple checked the install - concentrating on the /english files - and everything looks fine to me.......

    Home :: NAVBAR_TITLE_1 :: NAVBAR_TITLE_2
    HEADING_TITLE

    TEXT_CHECKOUT_ONE_TOP_INSTRUCTIONS
    TITLE_BILLING_SHIPPING_ADDRESS

    Using latest 1.3.3 and this shows on
    https://xxxxxxxxxxxxxx.com/catalog/i...e=checkout_one
    Last edited by stellarweb; 20 Jul 2020 at 07:53 PM.

  9. #1709
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by stellarweb View Post
    I feel stupid asking this... but what file is missing when the checkout page only displays stuff like the following instead of the actual text. I have triple checked the install - concentrating on the /english files - and everything looks fine to me.......

    Home :: NAVBAR_TITLE_1 :: NAVBAR_TITLE_2
    HEADING_TITLE

    TEXT_CHECKOUT_ONE_TOP_INSTRUCTIONS
    TITLE_BILLING_SHIPPING_ADDRESS

    Using latest 1.3.3 and this shows on
    https://xxxxxxxxxxxxxx.com/catalog/i...e=checkout_one
    Look for /includes/languages/english/checkout_one.php; check your template's language-override (/includes/languages/english/YOUR_TEMPLATE/checkout_one.php).

  10. #1710
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Look for /includes/languages/english/checkout_one.php; check your template's language-override (/includes/languages/english/YOUR_TEMPLATE/checkout_one.php).
    THANKS!!!! That worked! I triple checked that and missed it each time! lol

 

 

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