Changeset 795898
- Timestamp:
- 10/30/2013 12:50:01 PM (12 years ago)
- Location:
- woocommerce-chilean-peso-currency/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
woocommerce-chilean-peso.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-chilean-peso-currency/trunk/readme.txt
r764271 r795898 11 11 Tested up to: 3.6 12 12 13 Stable tag: 2. 313 Stable tag: 2.4 14 14 15 15 == Description == … … 23 23 24 24 25 == TODO == 26 27 Agregar panel de administración para las variables. 25 28 26 29 == Changelog == 27 30 31 = 2.4 = 32 33 Se deshabilita el código postal como obligatorio. 28 34 29 35 = 2.2 = -
woocommerce-chilean-peso-currency/trunk/woocommerce-chilean-peso.php
r764271 r795898 5 5 Plugin URI: http://plugins.svn.wordpress.org/woocommerce-chilean-peso-currency/ 6 6 Description: This plugin add the chilean currency, symbol , paypal and the states to WooCommerce. 7 Version: 2. 37 Version: 2.4 8 8 Author: Cristian Tala Sánchez <cristian.tala@gmail.com> 9 9 Author URI: http://www.cristiantala.cl … … 89 89 } 90 90 91 92 // Se eliminan los datos postales como obligatorios. 93 function postalcode_override_default_address_fields( $address_fields ) { 94 $address_fields['postcode']['required'] = false; 95 96 return $address_fields; 97 } 98 99 //Se eliminan los códigos portales como obligatorios. (Filtro) 100 add_filter( 'woocommerce_default_address_fields' , 'postalcode_override_default_address_fields' ); 101 91 102 add_filter('woocommerce_paypal_args', 'convert_clp_to_usd'); 92 103 add_filter('woocommerce_states', 'custom_woocommerce_states');
Note: See TracChangeset
for help on using the changeset viewer.