Header and footer in Advanced Layout for Cart/Checkout

This topic has 31 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 19, 2022 at 08:33

    Hello,

    Enable debug mode in WordPress – https://wordpress.org/support/article/debugging-in-wordpress/ to find out what error appears on your site, it will point you in the right direction what needs to be fixed.
    Please provide FTP access, then I will ask one of our developers to check the problem more deeply and help you.
    If you do not know how to create FTP contact with your hosting provider, they will help you.

    Regards

    Avatar: Krzysztof
    Krzysztof
    Participant
    August 19, 2022 at 11:28

    Hi
    Seems we have some incompatibility with woocommerce-tm-extra-product-options plugin.

    With standard/normal layout for Cart & Checkout all works ok with this plugin.

    When I turn on Advanced Layout for Cart/Checkout I see the following error in debug:

    
    [19-Aug-2022 10:15:19 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WC_Product_Simple as array in /XXX/wp-content/plugins/woocommerce-tm-extra-product-options/includes/classes/class-themecomplete-epo-cart.php:2735
    Stack trace:
    #0 /XXX/wp-includes/class-wp-hook.php(307): THEMECOMPLETE_EPO_Cart->woocommerce_cart_item_thumbnail()
    #1 /XXX/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #2 /XXX/wp-content/themes/xstore/woocommerce/checkout/thankyou-advanced.php(103): apply_filters()
    #3 /XXX/wp-includes/class-wp-hook.php(307): {closure}()
    #4 /XXX/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #5 /XXX/wp-content/plugins/woocommerce/templates/order/order-details-item.php(33): apply_filters()
    #6 /XXX/wp-content/plugins/woocommerce/includes/wc-core- in /XXX/wp-content/plugins/woocommerce-tm-extra-product-options/includes/classes/class-themecomplete-epo-cart.php on line 2735
    

    When I turn off above mentioned plugin, Advanced Layout for Cart/Checkout works fine again … therefore definitely we have some incompatibility here 🙁

    Reg FTP access .. I’m able to provide SFTP access only. Standard FTP is not available on my server. If this is ok for you, please let me know and I will generate new set of RSA keys for you and will prepare everything on server side.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 19, 2022 at 12:04

    Yes, please provide SFTP access, then I will ask one of our developers to check what can be done to help you.

    Regards

    Avatar: Krzysztof
    Krzysztof
    Participant
    August 19, 2022 at 15:52

    pls see prv

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 19, 2022 at 16:00

    Hello,

    Thanks for the reply. I’ve passed this topic to our dev team. They will check it and give an answer after the weekend. Please be patient and do not change access.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2022 at 15:08

    Hello,

    You provided us the ftp connection to you staging site (according to the path on ftp) and we uploaded fix on it. Fix is located in xstore/woocommerce/checkout/thankyou-advanced.php

    Please, check if it is ok and if so you may upload that file on your production site.

    Regards

    Avatar: Krzysztof
    Krzysztof
    Participant
    August 22, 2022 at 17:31

    Hello
    This time no error in order with standard shipment metod, thank you 🙂

    But when I selected shipping via “Paczkomaty inpost 24/7” I can’t place order. Error in red filed says “Proszę wybrać paczkomat” what means “Please select parcel locker” which is mandatory for this type of shipment:
    https://gyazo.com/a7c6abc84a39cc6cb0284e96204d81ee

    Parcel locker has been selected from the map on the right hand side (box with product and shipping details: https://gyazo.com/76391935bbccce7a4360126869c1deab

    Can you please have a look ?
    On production site, where I have standard cart/checkout all works fine.

    PS:
    Interesting error I fount in debug log … please see prv.
    Error seems to be related to WPForms not Paczkomaty integration so not sure if this is relevant to above issue.

    Please contact administrator
    for this information.
    Avatar: Krzysztof
    Krzysztof
    Participant
    August 22, 2022 at 18:54

    PS .. you should also have access to debug file now, so you can check errors by yourself 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 23, 2022 at 13:40

    Hello,

    Could you please, make sure that everything is ok with other types of advanced checkout (classic/multistep) or disabled. If so then it seems we understand that due to structure of such layout (separated one) it is not possible to make compatibility with such plugins which require specific (default) structure of checkout page. If so, you can only switch to another type (not separated type) and use them. In next update we will add notification about possible incompatibilities of such layout type with some delivery/payment plugins.

    We checked it from our side and we really found that the bug persists now only with separated layout (which you are using) so please, check the text above where we described what is possible to do (change layout to classic/multistep or disable)

    P.S. Multistep layout should be ok on your staging because we uploaded our fix for such layout and it will be included in the theme update.

    Regards

    Avatar: Krzysztof
    Krzysztof
    Participant
    August 23, 2022 at 17:04

    Hi
    I did many tests and classic/multistep seems to be ok now 🙂 .. thank you very much … again great support 🙂

    Should I copy entire theme and et-core to production site or wait for next release ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 24, 2022 at 10:02

    Hello,

    You may wait for the next release where it will be included globally. Also, you may copy only a few files to your production ->
    1/ xstore/woocommerce/checkout/form-checkout-default.php
    2/ xstore/woocommerce/checkout/form-checkout-multistep.php
    3/ xstore/css/modules/woocommerce/pages/cart-checkout-advanced-layout.min.css
    4/ xstore/css/modules/woocommerce/pages/cart-checkout-advanced-layout.css

    Regards

  • 1 2
    Viewing 31 results - 21 through 31 (of 31 total)

The issue related to '‘Header and footer in Advanced Layout for Cart/Checkout’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.