Results 1 to 10 of 3043

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    All Fixed ....
    Helps after I read the square edit button and turn it to TRUE instead of FALSE ...
    Grrrrrrrrrrrrrrrrrrrrrrrrrrrr ...

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

    Default Re: One-Page Checkout [Support Thread]

    OK, got one that's bugging me. OPC stopped working and my site is not logging any errors so having a hard time tracking it down. Running Firefox developer console I get a type error when the submit butting is hit. At first it was giving ot_totals is null, now it just says r after some fiddling.. On a almost clean install of 155f, I get no errors or problems with OPC working so OPC should be good. Uniformity, I was working on three other changes, so one of them could be affecting OPC. I'm thinking that the major change in shopping cart design I did may have something to do, but the tracking I was doing is not giving up any hints, just some bugs I need to fix yet. Doing a session dump is not showing any difference between working and not working sites.

    What would fire off the type error in OPC? I'm thinking its something I'm feeding it or not from the shopping cart..

    I tried changing jQuery to 1.12.4 and same issues.

    All orders are affected so changed to the default checkout pages for now.

    Site info:
    ZC 155f
    PHP 7.1.7
    OPC 1.5.0
    Template: Modified RSB 1.0

    Web Console:
    Code:
    setFormSubmitButton, payment-module: freecharger --------------------   jquery.checkout_one.min.js:5:898
    Showing "confirm" --------------------   jquery.checkout_one.min.js:5:898
    Setting orderConfirmed (0), submitter (null) --------------------   jquery.checkout_one.min.js:5:898
    jQuery version: 3.2.1 --------------------   jquery.checkout_one.min.js:5:898
    
    submitFunction, 2 arguments: 0, 0,  --------------------   jquery.checkout_one.min.js:5:898
    
    TypeError: r is null[Learn More] --------------------   jquery.checkout_one.min.js:5:1129
    
    submitFunction --------------------   https://**************/includes/modules/pages/checkout_one/jquery.checkout_one.min.js:5:1129
    <anonymous> --------------------   https://**************/includes/modules/pages/checkout_one/jquery.checkout_one.min.js:5:9216
    dispatch --------------------   https://code.jquery.com/jquery-3.2.1.min.js:3:10264
    add/q.handle --------------------    https://code.jquery.com/jquery-3.2.1.min.js:3:8326
    OPC log:
    Code:
    2018-05-26 09:24:20 checkout_one: CHECKOUT_ONE_ENTRY, version (1.5.0 (2018-01-10)), Zen Cart version (1.5.5f), template (dsw)
    2018-05-26 09:24:20 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_QUOTES
    array (
      'id' => 'free_free',
      'title' => 'Free Shipping',
      'cost' => 0,
    )order Object
    (
        [info] => Array
            (
                [order_status] => 1
                [currency] => USD
                [currency_value] => 1.00000000
                [payment_method] => 
                [payment_module_code] => 
                [coupon_code] => 
                [shipping_method] => Free Shipping
                [shipping_module_code] => free_free
                [shipping_cost] => 0
                [subtotal] => 0
                [shipping_tax] => 0
                [tax] => 0
                [total] => 0
                [tax_groups] => Array
                    (
                        [Sales Tax] => 0
                    )
    
                [comments] => 
                [ip_address] => **********************
            )
    
        [totals] => Array
            (
            )
    
        [products] => Array
            (
                [0] => Array
                    (
                        [qty] => 1
                        [name] => Zen Awesome Cloud
                        [model] => AWC101
                        [num] => AWC101
                        [tax_groups] => Array
                            (
                                [Sales Tax] => 0
                            )
    
                        [tax_description] => Sales Tax
                        [price] => 0
                        [final_price] => 0
                        [onetime_charges] => 0
                        [weight] => 0
                        [products_priced_by_attribute] => 0
                        [product_is_free] => 1
                        [products_discount_type] => 0
                        [products_discount_type_from] => 0
                        [id] => 16:c361f56d8f74fe8fd01ef573fca714b0
                        [rowClass] => rowEven
                        [tax] => 0
                        [attributes] => Array
                            (
                                [0] => Array
                                    (
                                        [option] => ZC Plugin
                                        [value] => Free
                                        [option_id] => 5
                                        [value_id] => 9
                                        [prefix] => +
                                        [price] => 0.0000
                                    )
    
                            )
    
                    )
    
            )
    
        [customer] => Array
            (
                [firstname] => dave
                [lastname] => *******
                [company] => 
                [street_address] => **************
                [suburb] => 
                [city] => *********
                [postcode] => **********
                [state] => California
                [zone_id] => 12
                [country] => Array
                    (
                        [id] => 223
                        [title] => United States
                        [iso_code_2] => US
                        [iso_code_3] => USA
                    )
    
                [format_id] => 2
                [telephone] => *************
                [email_address] => **************.com
            )
    
        [delivery] => Array
            (
                [firstname] => 
                [lastname] => 
                [company] => 
                [street_address] => 
                [suburb] => 
                [city] => 
                [postcode] => 
                [state] => 
                [zone_id] => 
                [country] => Array
                    (
                        [id] => 
                        [title] => 
                        [iso_code_2] => 
                        [iso_code_3] => 
                    )
    
                [country_id] => 
                [format_id] => 0
            )
    
        [content_type] => virtual
        [email_low_stock] => 
        [products_ordered_attributes] => 
        [products_ordered] => 
        [products_ordered_email] => 
        [attachArray] => 
        [billing] => Array
            (
                [firstname] => dave
                [lastname] => *********
                [company] => 
                [street_address] => *************
                [suburb] => 
                [city] => ***********
                [postcode] => *********
                [state] => California
                [zone_id] => 12
                [country] => Array
                    (
                        [id] => 223
                        [title] => United States
                        [iso_code_2] => US
                        [iso_code_3] => USA
                    )
    
                [country_id] => 223
                [format_id] => 2
            )
    
        [use_external_tax_handler_only] => 
    )
    messageStack Object
    (
        [messages] => Array
            (
            )
    
    )
    
    2018-05-26 09:24:20 checkout_one: CHECKOUT_ONE_AFTER_ORDER_TOTAL_PROCESSING
    order_total Object
    (
        [modules] => Array
            (
                [0] => ot_subtotal.php
                [1] => ot_shipping.php
                [2] => ot_coupon.php
                [3] => ot_group_pricing.php
                [4] => ot_tax.php
                [5] => ot_loworderfee.php
                [6] => ot_gv.php
                [7] => ot_cod_fee.php
                [8] => ot_total.php
            )
    
    )
    order Object
    (
        [info] => Array
            (
                [order_status] => 1
                [currency] => USD
                [currency_value] => 1.00000000
                [payment_method] => 
                [payment_module_code] => 
                [coupon_code] => 
                [shipping_method] => Free Shipping
                [shipping_module_code] => free_free
                [shipping_cost] => 0
                [subtotal] => 0
                [shipping_tax] => 0
                [tax] => 0
                [total] => 0
                [tax_groups] => Array
                    (
                        [Sales Tax] => 0
                    )
    
                [comments] => 
                [ip_address] => *****************
            )
    
        [totals] => Array
            (
            )
    
        [products] => Array
            (
                [0] => Array
                    (
                        [qty] => 1
                        [name] => Zen Awesome Cloud
                        [model] => AWC101
                        [num] => AWC101
                        [tax_groups] => Array
                            (
                                [Sales Tax] => 0
                            )
    
                        [tax_description] => Sales Tax
                        [price] => 0
                        [final_price] => 0
                        [onetime_charges] => 0
                        [weight] => 0
                        [products_priced_by_attribute] => 0
                        [product_is_free] => 1
                        [products_discount_type] => 0
                        [products_discount_type_from] => 0
                        [id] => 16:c361f56d8f74fe8fd01ef573fca714b0
                        [rowClass] => rowEven
                        [tax] => 0
                        [attributes] => Array
                            (
                                [0] => Array
                                    (
                                        [option] => ZC Plugin
                                        [value] => Free
                                        [option_id] => 5
                                        [value_id] => 9
                                        [prefix] => +
                                        [price] => 0.0000
                                    )
    
                            )
    
                    )
    
            )
    
        [customer] => Array
            (
                [firstname] => dave
                [lastname] => ***********
                [company] => 
                [street_address] => *****************
                [suburb] => 
                [city] => *********
                [postcode] => **********
                [state] => California
                [zone_id] => 12
                [country] => Array
                    (
                        [id] => 223
                        [title] => United States
                        [iso_code_2] => US
                        [iso_code_3] => USA
                    )
    
                [format_id] => 2
                [telephone] => *************
                [email_address] => ******************
            )
    
        [delivery] => Array
            (
                [firstname] => 
                [lastname] => 
                [company] => 
                [street_address] => 
                [suburb] => 
                [city] => 
                [postcode] => 
                [state] => 
                [zone_id] => 
                [country] => Array
                    (
                        [id] => 
                        [title] => 
                        [iso_code_2] => 
                        [iso_code_3] => 
                    )
    
                [country_id] => 
                [format_id] => 0
            )
    
        [content_type] => virtual
        [email_low_stock] => 
        [products_ordered_attributes] => 
        [products_ordered] => 
        [products_ordered_email] => 
        [attachArray] => 
        [billing] => Array
            (
                [firstname] => dave
                [lastname] => ***********
                [company] => 
                [street_address] => *******************
                [suburb] => 
                [city] => **********
                [postcode] => *********
                [state] => California
                [zone_id] => 12
                [country] => Array
                    (
                        [id] => 223
                        [title] => United States
                        [iso_code_2] => US
                        [iso_code_3] => USA
                    )
    
                [country_id] => 223
                [format_id] => 2
            )
    
        [use_external_tax_handler_only] => 
    )
    messageStack Object
    (
        [messages] => Array
            (
            )
    
    )
    
    2018-05-26 09:24:20 checkout_one: CHECKOUT_ONE_AFTER_PAYMENT_MODULES_SELECTION
    payment Object
    (
        [modules] => Array
            (
                [0] => cod.php
                [1] => freecharger.php
                [2] => moneyorder.php
                [3] => square.php
                [4] => paypal.php
            )
    
        [selected_module] => 
        [doesCollectsCardDataOnsite] => 
        [paymentClass] => freecharger Object
            (
                ["code"] => freecharger
                [title] => Free Order
                [description] => There is no charge for this order.
                [enabled] => 1
                [payment] => 
                [sort_order] => 0
                [order_status] => 2
                [email_footer] => There is no charge for this order.
            )
    
    )
    array (
      'id' => 'free_free',
      'title' => 'Free Shipping',
      'cost' => 0,
    )
    Dave
    Always forward thinking... Lost my mind!

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

    Default Re: One-Page Checkout [Support Thread]

    Dave, the console-log identifying the source of the jQuery issue is going to be easier to find if you change the OPC configuration to use the non-minimized version of the OPC's jQuery module(s).

  4. #4
    Join Date
    Nov 2009
    Location
    Chennai, India
    Posts
    50
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Hi
    I have installed the opc. While same shipping address/billing address(where there is no change is the content) prints the delivery address on the checkout confirmation email, the delivery address is not printed on the email when it is different from billing address.
    Please consider it as a bug and resolve.
    Thanks
    Balaji
    Balaji R

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Balaji View Post
    Hi
    I have installed the opc. While same shipping address/billing address(where there is no change is the content) prints the delivery address on the checkout confirmation email, the delivery address is not printed on the email when it is different from billing address.
    Please consider it as a bug and resolve.
    Thanks
    Balaji
    I've created an issue (https://github.com/lat9/one_page_checkout/issues/134) on the OPC's GitHub repository to track the change required.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    bug Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've created an issue (https://github.com/lat9/one_page_checkout/issues/134) on the OPC's GitHub repository to track the change required.
    That correction is now made and will be part of the OPC's next release. You can download the update to /includes/classes/observers/class.checkout_one_observer.php here: https://raw.githubusercontent.com/la...e_observer.php

    The issue affects any non-guest-checkout where the customer chooses to use a "temporary" address for either their billing or shipping address.

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Dave, the console-log identifying the source of the jQuery issue is going to be easier to find if you change the OPC configuration to use the non-minimized version of the OPC's jQuery module(s).
    Found my issue.

    When I changed how the main shopping cart display behaved I ended up modifying tpl_modules_order_totals.php to display in a responsive table instead of the existing div's. When I did that I removed #otshipping and used dynamic classes. I moved the main shopping cart to its own tpl_modules_order_totals.php page and restored the default which fixed one page..

    The ID was the only thing missing on the checkout page which was killing the submit and making it hard to track down. Running non-minimized gave a better reading in the developer tools.
    Thanks
    Dave
    Always forward thinking... Lost my mind!

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Dave, thanks for reporting back what the issue was!

  9. #9
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    This OPC is just the thing EXCEPT!!
    I dont want the price elements on the product listing - no problem doing that but the
    " Total: £0.00" which is now appearing below is messy.
    I just cant seem to get rid of it without killing the "Confirm order" link

    So the code bit that is relevant in tpl_modules_opc_shopping_cart.php is

    // end for loopthru all products

    if (MODULE_ORDER_TOTAL_INSTALLED) {
    $row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
    ?>
    <tr class="<?php echo $row_class; ?>" id="cartOrderTotals">

    <td colspan="<?php echo (count ($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs"><?php $order_total_modules->process (); $order_total_modules->output (); ?></td>
    </tr>
    <?php
    }
    ?>
    </table>
    </fieldset>
    </div>
    <div class="clearBoth"></div>
    <!--eof shopping-cart block --
    >
    [/I]

    The above works fine apart from the unwanted line.

    Then if I delete for instance " $order_total_modules->process (); "
    then the "Total" line disappears BUT the Confirm Order link doesnt work
    Am I looking in the wrong place or am I misunderstanding the logic ?

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @shayne, I'm not clear on what you are attempting to do. Are you trying to remove the individual product pricing from the "shopping-cart" table's display or are you just trying to "not display" the overall order's total value?

 

 

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