Code samples

Show "Shipment Tracking" in orders history (Pro feature)
add_filter( 'wpo_order_history_customer_table_headers', function($headers) { $new_headers = array(); foreach($headers as $header) { $new_...
Mon, 7 Oct, 2019 at 9:59 AM
Search product by title and short description
add_filter( "wpo_custom_product_search", function($do_custom_search,$query_args,$term) { //don't do custom search , just set filter add...
Fri, 11 Oct, 2019 at 9:28 AM
Differentiate the phone orders from orders made on the website
Please, adapt following code to modify order numbers add_filter( 'woocommerce_order_number', function($num,$order){ if( $order->get_met...
Tue, 24 Dec, 2019 at 4:48 PM
Use external address lookup APIs(craftyclicks.co.uk)
You must define javascript function wpo_get_address_autocomplete_init Sample  code  , you must replace YOUR_API_KEY with your key add_action(&#x...
Mon, 20 Jan, 2020 at 8:00 PM
Fill delivery date/time for Order Delivery Date Pro for WooCommerce
1. Visit >WooCommerce>Phone Orders>Settings>Custom fields and paste following text to 1st textarea .  Adjust time slots to match yours!! Deli...
Wed, 15 Apr, 2020 at 2:30 PM