siobhant
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Only working in test modeAlso, I have tried turning off all plugins and that didn’t change anything. It seems to only be applying rules if it is in test mode.
Please help!
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Filters stop workingHi,
This issue is also causing problems for my website. Is there any update on when you might be able to update the plugin so it doesn’t conflict with woocommerce layered nav?Thanks
Issue resolved externally, thankyou.
I know that this script will make the State field required in Woocommerce without this plugin. Are you able to tell me the changes to make to this?
<?php
add_filter( ‘woocommerce_billing_fields’, ‘woo_filter_state_billing’, 10, 1 );
add_filter( ‘woocommerce_shipping_fields’, ‘woo_filter_state_shipping’, 10, 1 );
function woo_filter_state_billing( $address_fields ) {
$address_fields[‘billing_state’][‘required’] = false;
return $address_fields;
}
function woo_filter_state_shipping( $address_fields ) {
$address_fields[‘shipping_state’][‘required’] = false;
return $address_fields;
}Thanks