This topic has 8 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Jack Richardson
On http://yourcompanysite.net/ when on the checkout page the shipping fields are empty. I tried checking the 3 Woocommerce shipping options but none made it appear. When checking out we get the error message:
First Name is a required field.
Last Name is a required field.
Address is a required field.
Town / City is a required field.
State / County is a required field.
Is this a theme compatibility issue or purely a Woocomerce bug? Any advice would be most welcome.
Thank you.
Hello,
Please provide us with FTP and WP Dashboard credentials.
Have you made any changes in the theme files?
Regards,
Eva Kemp.
Login in private area below.
I added code to the function.php file via wp-admin. I have tried without this code and still have the blank shipping field and error checking out. I am able to successfully make a purchase on Firefox, but not on Chrome or Edge browsers. The shipping fields are still blank on Firefox.
The code added was to alter the Arabic lettering to AED:
add_filter( ‘woocommerce_currencies’, ‘add_custom_currency’ );
function add_custom_currency( $currencies ) {
$currencies[‘AED’] = __( ‘United Arab Emirates Dirham’, ‘woocommerce’ );
return $currencies;
}
add_filter(‘woocommerce_currency_symbol’, ‘add_custom_currency_symbol’, 10, 2);
function add_custom_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘AED’: $currency_symbol = ‘AED ‘; break;
}
return $currency_symbol;
}
Hello,
What is FTP username?
Best regards,
Jack Richardson.
Hi, sorry about that- thought I missed something. Please see below.
Hello,
FTP credentials are incorrect.
Please check them.
Best regards,
Jack Richardson.
Very sorry, I assumed the password would be the main one. I have set it now and tested it- the below login is correct. Thanks for your patience.
Hello,
The following css code is placed in your custom.css file in line 1:
#breadcrumb, .back-to, #billing_address_2_field, .woocommerce-shipping-fields {display:none;}
and it’s hiding Shipping Address fields on checkout page.
Remove the .woocommerce-shipping-fields
class from the mentioned code and then check your checkout page.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up