WOOCS - WooCommerce Currency Switcher

Special shortcode to show current country only

Question: “Hello team, is there a shortcode just to display the country name?” Answer: “No, but it is possible to add by the next code example”


How to use Memcached or Redis as currency storage

From v.2.3.4/1.3.4 go to tab ‘Options’ in ‘Currency aggregator’ select ‘Memcached’ or ‘Redis’ set the option ‘Storage server’, usually it is ‘localhost’ BUT different hosting companies has different options, and maybe socket is possible only, ask your hosting support or read hosting documentation set the option ‘Storage port’, usually foe Memcached port is 11211 and […]

Hide trailing zeros on prices

In file functions.php file add next code:


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: [woocs_price] New hook woocs_price_shortcode New hook-filter woocs_redraw_cart  

WooCommerce Product Add-Ons Ultimate by pluginrepublic.com

Plugin link: https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/ In file plugins\product-extras-for-woocommerce\inc\functions-cart.php add next code:

  On the same file add next code:

    And to the same file:

And on the same file:

  And on the same file:


AliExpress Dropshipping Business plugin for WooCommerce

Plugin link: https://codecanyon.net/item/aliexpress-dropship-for-woocommerce/19821022 Producer: https://ali2woo.com/ In file \plugins\ali2woo\includes\classes\shipping\A2W_ShippingFrontendPageController.php add next code:

Also to the same file add next code:


WooTour – WooCommerce Travel Tour Booking

Plugin link: https://codecanyon.net/item/wootour-woocommerce-travel-tour-and-appointment-booking/19404740 In file \plugins\woo-tour\inc\functions.php add next code:

In file plugins\woo-tour\inc\class-woo-booking.php add next code:

And to the same file:

Ultimate Affiliate Pro WordPress Plugin

Plugin link: https://codecanyon.net/item/ultimate-affiliate-pro-wordpress-plugin/16527729 In file \wp-content\plugins\indeed-affiliate-pro\public\services\Uap_Woo.class.php add next code:

Note: This will only work with new orders  

SUMO Affiliates Pro – WordPress Affiliate Plugin

Plugin link: https://codecanyon.net/item/sumo-affiliates-pro-wordpress-affiliate-plugin/22795996 In file wp-content\plugins\affs\inc\woocommerce\class-fs-affiliates-wc-commission.php add next code: