Content of the page

realmag777

All posts by realmag777

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… read more

Using REST API with woocommerce currency switcher

From plugin version 2.2.9/1.2.9 appeared possibility to use in-built REST request to get site currencies data: wp-json/woocs/v3/currency Also WOOCS allows using its API create any custom REST requests, as an example below which allows to get all shop products prices in all its currencies (wp-json/woocs/v3/products/gbp):

 

WooCommerce Composite Products

Plugin: https://woocommerce.com/products/composite-products/ in file wp-content\plugins\woocommerce-composite-products\includes\class-wc-cp-display.php add next code: $suffix=”; in file wp-content\plugins\woocommerce-composite-products\assets\js\frontend\add-to-cart-composite.js add next code:

Flexible Product Fields Pro (by wpdesk.net)

Plugin: https://www.wpdesk.net/products/flexible-product-fields-pro-woocommerce/ in file \wp-content\plugins\flexible-product-fields\classes\fpf-product-fields.php add next code:

in file \wp-content\plugins\flexible-product-fields\classes\fpf-cart.php add next code:

Please  do test!  

Finale Lite – Sales Countdown Timer & Discount for WooCommerce (by XLPlugins)

Plugin: https://wordpress.org/plugins/finale-woocommerce-sales-countdown-timer-discount/ in file  wp-content\plugins\finale-woocommerce-sales-countdown-timer-discount\includes\wcct-cart.php add next code:

Wholesale Suite

Plugin: https://wholesalesuiteplugin.com/ in file \wp-content\plugins\woocommerce-wholesale-prices\includes\class-wwp-wholesale-prices.php add next code:

 

DOKAN

Plugin: https://wedevs.com/dokan/ in functions.php of your current wp theme add next code:

   

WooCommerce Points and Rewards (by WooCommerce)

Plugin: https://woocommerce.com/products/woocommerce-points-and-rewards/ in file \plugins\woocommerce-points-and-rewards\includes\class-wc-points-rewards-manager.php add next code:

   

How remove or hide special WOOCS data in orders

WOOCS keeps special meta data of orders in data base which can be in different currencies. So after plugin removing this data can be visible. But different cases happens, and this valuable data can be uninstall wrongly, so code below doesn included in uninstall.php. You can remove data completely, but we recommend hide this data…. read more