id = 'free_shipping'; $this->method_title = __('Free shipping', 'woothemes'); $this->enabled = get_option('woocommerce_free_shipping_enabled'); $this->title = get_option('woocommerce_free_shipping_title'); $this->min_amount = get_option('woocommerce_free_shipping_minimum_amount'); $this->availability = get_option('woocommerce_free_shipping_availability'); $this->countries = get_option('woocommerce_free_shipping_countries'); add_action('woocommerce_update_options', array(&$this, 'process_admin_options')); add_option('woocommerce_free_shipping_availability', 'all'); add_option('woocommerce_free_shipping_title', 'Free Shipping'); } public function calculate_shipping() { $this->shipping_total = 0; $this->shipping_tax = 0; $this->shipping_label = $this->title; } public function admin_options() { ?>


    $val) : echo '
  • '; endforeach; ?>