Home Forums WoodMart support forum thank you page changes

thank you page changes

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #425827

    giannisth
    Participant

    hello, all is normal apart from the thank you page were the page breaks and shows different page size, squeezed.please see https://i.imgur.com/91rQEag.png

    #425878

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #425902

    giannisth
    Participant

    hi, please see the hidden info.
    thank you

    #426042

    Hello,

    Please deactivate all the plugins except these ones:

    Slider Revolution
    WPBakery Page Builder or Elementor
    Woodmart Core
    Contact Form 7
    MailChimp for WordPress
    WooCommerce
    Safe SVG
    Switch to the parent theme and check.

    If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    Best Regards

    #426066

    giannisth
    Participant

    hi, without disabling any of the plugins, i just changed to parent theme and the issue is gone. but with child theme the issue insists. so it must have to do with child theme?

    #426162

    Hello,

    It means a part of the customization breaks the page.

    Please check whole the customization code of the child theme.

    If you have any questions please feel free to contact us.

    Best Regards

    #426185

    giannisth
    Participant

    hello, you mean the customisation in functions.php of child theme, or css?

    #426442

    giannisth
    Participant

    it appears that apparently on functions.php this causes the issue of breaakdown and of the 3 errors reported above.
    add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );

    function custom_woocommerce_auto_complete_order( $order_id ) {
    if ( ! $order_id ) {
    return;
    }

    $order = wc_get_order( $order_id );

    if ( $order && ‘cod’ === $order->get_payment_method() ) {
    $order->update_status( ‘completed’ );
    }
    }
    i am struggling to find something like this but with no success.
    any idea what to apply in order to accomplish automatic set of order to completed status?
    thanks in advance!

    #426842

    Hello,

    Does checkout work properly, when you delete the code? If it doesn’t, remove it.

    If you have any questions please feel free to contact us.

    Best Regards

    #428296

    giannisth
    Participant

    hi, i have eliminated all errors.
    I think that still the re order does not work well yet.
    1. this is the order created with reorder with the customer not logged out after initial order. https://i.imgur.com/RgaB1wT.jpg it is normal.

    2. this is the order created with reorder with the customer having logged out and then logged in again.https://i.imgur.com/zMeTxlI.jpg. the store has not been selected as you can see on highlighted. the admin must select from drop down :).
    so the re order is not completely applied if the customer has logged out and then logged in. The re order is completely applied if the customer has not logged out at all.
    I have also enabled the woodmart theme, not the child, so all the functions.php settngs do not apply now. But still the issue persists and only on re order after customer has logged out and logged in again.
    Any idea please? it is really important.
    Thank you

    #428320

    Hello,

    You would better refer the Woocommerce documentation as our theme does not influence the Woocommerce functionality.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 11 posts - 1 through 11 (of 11 total)