WOOCS - WooCommerce Currency Switcher

Update v.2.3.6/v.1.3.6

  • new WOOCS admin panel
  • Price thousand and decimal separators
  • Helper of currencies for user selections (in new admin panel)
  • Field ‘interest‘ works with percentage also. Example: 20%
  • New hooks: ‘woocs_price_thousand_sep‘ + ‘woocs_price_decimal_sep‘ which allows to manipulate by price thousand and decimal separators according to business logic (example is countries). Example:
    add_filter('woocs_price_thousand_sep', function($separator, $currency) {
    
        $wcgi = WC_Geolocation::geolocate_ip(); //woocommerce API
        //UPPERCASE for country code!
        switch ($wcgi) {
            case 'US':
                $separator = '.';
                break;
            case 'GB':
                $separator = ',';
                break;
            case 'JP':
                $separator = ' ';
                break;
        }
    
        return $separator;
    },10,2);
    
    
    add_filter('woocs_price_decimal_sep', funct [...]

Update v.2.3.3/v.1.3.3

  • Fixes
  • In option ‘Currency storage‘ added native WooCommerce session for more compatibility with site set of scripts
  • New shortcode:
  • New hook woocs_price_shortcode
  • New hook-filter woocs_redraw_cart
  [...]

Update v.2.3.2/v.1.3.2

  • fixes
  • new design of currencies rates widget and shortcode
  • new feature: countries profiles in tab “GeoIP rules”
  • new currencies aggregator added “National Bank Of Ukraine“
  • schema.org from now always works with basic currencies
  [...]

Update v.2.3.1/v.1.3.1

  • To improve SEO added bots definition functionality and reset currency for their visits
  • Added hook woocs_bank_polski_table for aggregator “Narodowy Bank Polsky“
  • New hook woocs_add_custom_rate – allows to manipulate with currency rate on the fly or even use it as own currency aggregator.
  • New option “Prices preloader” which shows preloader on the prices when option “I am using cache plugin on my site” is enabled
  • New option “Disable on pages” allows using pages slugs disable WOOCS, or if to enable reverse enable WOOCS on that pages and disable on all another of the site.
  • Minimum supported woocommerce version bump to v.3.4
  • 2 new hooks woocs_announce_aggregator and woocs_add_aggregator_processor which allows to add its own custom currency aggregator.
  [...]

Update v.2.2.9/v.1.2.9

  • heap of small fixes
  • added in currencies new field as ‘interes‘ which allows to add some your interest to the currencies rates
  • added possibility to set currencies as Public or as Private. In private mode currency not published in switchers and user cannot set it by link through ‘?currency=XXX‘
  • new in-built module Statistic: enable it in tab Advanced Options
  • 3 new autonomic skins: Style #1, Style #2, Style #3 – what is cool – 3 currency switchers with different designs can be added on the same page
  • some new templates has its own unique options: +
  • REST API request added: https://currency-switcher.com/using-rest-api-with-woocommerce-currency-switcher/
  • new option in tab Options ‘Show options button on top admin bar‘ – Show WOOCS options button on top admin bar for quick access. Very handy for active work. Visible for site administrators only!
  [...]

Update v.2.2.7/v.1.2.7

  • New option: Show approx. price – Show approximate price on the shop and the single product page with currency of user defined by IP in the GeoIp rules tab. Works only with currencies rates data and NOT with fixed prices rules and geo rules.
  • New tab: Payments rules – Hide/Show payment systems on checkout page depending on the current currency
  • New option: Payments behavior in tab “Payments rules” – Should payments system be hidden for selected currencies or vice versa shown!
  • New functionality: Individual prices based on user role – Gives ability to set different prices for each user role in basic currency     [...]

Update v.2.2.4/v.1.2.4

  • Side switcher
  • new hook¬†woocs_currency_manipulation_before_show
  • Google agregator removed as the service been closed
  • Added new agregator¬†XE Currency Converter
  [...]