This topic has 5 replies, 3 voices, and was last updated 5 months, 2 weeks ago ago by Andrew Mitchell
Hi,
On the billing page, the “apartment” information is a required field but does not have an asterisk to state it is a required field. The red bar error message appears when you click to place the order and then displays the red bar message.
This is very confusing because not everybody has an apartment or suite address and after trying a few attempts, this works when I entered my property number, again, this is confusing.
Can this “apartment” option be changed from a non “required” field please? I want this to show but not set as mandatory so it can be left blank to avoid confusing customers and resulting in a poor experience.
Thanks.
Hi @Ajaz,
To make the Billing Address 2 to optional, please add the following code to your plugin snippet code as we suggest in the previous topic:
add_filter( 'woocommerce_checkout_fields' , 'xa_checkout_change_required_fields_to_optional' );
function xa_checkout_change_required_fields_to_optional( $fields ) {
$fields['billing']['billing_address_2']['required'] = false;
return $fields;
}
Hope it helps!
Hi,
On my previous topic, I asked the question “I have downloaded, installed, and activated the plugin, where do I enter the custom code?”
Please advise.
Thanks.
Hi @Ajaz,
We’ve just replied to that ticket.
Can you please check?
Thank you!
Dear Ajaz,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘Billing Detail requirements Issue – Apartment information is an issue’' has been successfully resolved, and the topic is now closed for further responses