This topic has 2 replies, 2 voices, and was last updated 10 hours, 16 minutes ago ago by Luca Rossi
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
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
You must be logged in to reply to this topic.Log in/Sign up