Support Needed – Issues with Cart and Checkout Page

This topic has 2 replies, 2 voices, and was last updated 10 hours, 16 minutes ago ago by Luca Rossi

  • Avatar: Mario
    Mario
    Participant
    December 3, 2024 at 22:25

    Hello,

    I’m encountering two technical issues on my site, and I’d appreciate your guidance on how to resolve them:

    Cart Issue:
    Incorrect products are automatically being added to the cart without any user action.
    These products cannot be removed, which disrupts the normal functionality of the site.
    Could you please explain how to identify the root cause of this issue and fix it?

    Mandatory Field on Checkout Page:
    I need to make the “Notes/Additional Information” field mandatory during checkout.
    Could you provide the steps or guidance on how to configure this?
    I’m available for any further clarification or if you need specific access to investigate. Thank you in advance for your detailed response.

    Best regards,
    Mario

    1 Answer
    Avatar: Justin
    Luca Rossi
    Support staff
    December 4, 2024 at 09:46

    Dear @Mario,

    We hope this message finds you well.

    1. We kindly request your assistance in creating a video to demonstrate the issue in question, as we have been unable to reproduce it on our end. Your help in this matter would be greatly appreciated.

    2. Additionally, we would like to ask you to add the following code snippet to the functions.php file located in your child theme:

    
    // Make order notes required
    add_filter( 'woocommerce_checkout_fields', 'wc_override_checkout_fields' );
    function wc_override_checkout_fields( $fields ) {
         $fields['order']['order_comments']['required'] = true;
         return $fields;
    }
    

    Thank you in advance for your support and cooperation.

    Best regards,
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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