peted172
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Remove a Particular State/County from Shipping or Billing FormHi Deeperlook
Just updated WooCommerce to version 2.0.19 and i also couldn’t find where to delete the Australian states in class-wc-countries.php file.
In WC version 2.0.1 and 2.0.19 the class-wc-countries.php file states in the first paragraph that they are both version 1.6.4 so i used the class-wc-countries.php file from Woo Commerce 2.0.1 and it works perfectly
The WooCommerce countries class stores country/state data.
*
* @class WC_Countries
* @version 1.6.4Cheers Pete
Forum: Plugins
In reply to: [WooCommerce] Remove a Particular State/County from Shipping or Billing FormHi Deeperlook
Line 282
$this->states = apply_filters(‘woocommerce_states’, array(
‘AU’ => array(
‘VIC’ => __(‘Victoria’, ‘woocommerce’) ,I just deleted all the states the were not required, you have to remember to do this each time you update Woocommerce
Cheers Pete
Forum: Plugins
In reply to: [Firelight Lightbox] FancyBox with Contact form7 width of boxWorked it out.
Had to change the base.css of the theme
Forum: Plugins
In reply to: [WooCommerce] Remove a Particular State/County from Shipping or Billing FormFound it…
You edit the class-wc-countries.php file which sits in plugins/woocommerce/classes