This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_filter( 'wp_footer' , 'rs_change_datepicker_cal', 99 ); | |
| function rs_change_datepicker_cal() { | |
| ?> | |
| <script> | |
| jQuery(function($){ | |
| $.datepicker.regional['en-US'] = { | |
| firstDay: 0 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // https://gist.github.com/WillBrubaker/b9b2415e32a19833aa9c8b1845f64489 | |
| add_filter( 'woocommerce_countries', 'handsome_bearded_guy_add_my_country' ); | |
| function handsome_bearded_guy_add_my_country( $countries ) { | |
| $new_countries = array( | |
| 'NIRE' => __( 'Northern Ireland', 'woocommerce' ), | |
| ); | |
| return array_merge( $countries, $new_countries ); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_filter( 'woocommerce_get_price_html', 'wc_ninja_add_sc_price_display', 20 ); | |
| function wc_ninja_add_sc_price_display( $price ) { | |
| echo do_shortcode( '[woocommerce_currency_converter] ' ); | |
| return $price; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_filter( 'woocommerce_get_price_html', 'wc_ninja_add_sc_price_display', 20 ); | |
| function wc_ninja_add_sc_price_display( $price ) { | |
| if ( is_product() ) { | |
| echo do_shortcode( '[woocommerce_currency_converter] ' ); | |
| } | |
| return $price; | |
| } | |
| //Did this help? Donate me some BTC: 1BEsm8VMkYhSFJ92cvUYwxCtsfsB2rBfiG | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 1. download the icon you'd like to use (example: http://www.flaticon.com/free-icon/heart_214309#term=heart&page=1&position=18) | |
| 2. make sure you download both the 16px and 32px .png for this icon | |
| 3. rename the icons as follows: | |
| - heart.png | |
| - [email protected] | |
| 4. copy / paste both these icons to the plugin's /assets/images/ folder | |
| 5. download this file and paste it to /assets/css/ folder (overwrite the current file): https://www.dropbox.com/s/507kp5q3w0ppe1p/woocommerce-wishlists.css?dl=1 | |
| 6. download this file and paste it to /classes/ folder (overwrite the current file): https://www.dropbox.com/s/kj4j0fxzeqjznl8/class-wc-wishlists-admin-settings.php?dl=1 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_action( 'woocommerce_before_shop_loop_item_title', 'add_category_title', 25); | |
| function add_category_title() | |
| { | |
| global $product; | |
| $product_cats = wp_get_post_terms($product->get_id(), 'product_cat'); | |
| $count = count($product_cats); | |
| foreach($product_cats as $key => $cat) | |
| { | |
| echo | |
| '<span class="wcc_category_title"> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); | |
| function custom_override_checkout_fields( $fields ) { | |
| $fields['billing']['billing_phone_ext'] = array( | |
| 'label' => __('Phone ext', 'woocommerce'), | |
| 'placeholder' => _x('Phone ext', 'placeholder', 'woocommerce'), | |
| 'required' => false, | |
| 'priority' => 105, | |
| 'class' => array('form-row-last'), | |
| 'clear' => true | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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'] = true; | |
| return $address_fields; | |
| } | |
| function woo_filter_state_shipping( $address_fields ) { | |
| $address_fields['shipping_state']['required'] = true; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_action( 'woocommerce_after_customer_login_form', 'wc_myacc_message' ); | |
| function wc_myacc_message() { | |
| if ( get_option( 'woocommerce_enable_myaccount_registration' ) == 'yes' ) { | |
| ?> | |
| <div class="woocommerce-info"> | |
| <p><?php _e( 'your custom message goes here' ); ?></p> | |
| </div> | |
| <?php | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | add_filter( 'woocommerce_order_item_permalink', '__return_false' ); |