Changeset 3085804
- Timestamp:
- 05/13/2024 12:32:48 PM (22 months ago)
- Location:
- extendago-wp-connection/trunk
- Files:
-
- 6 edited
-
extendago-wp-connection.php (modified) (1 diff)
-
includes/api/class-extendago-web-api-functions.php (modified) (1 diff)
-
includes/api/class-extendago-web-api.php (modified) (1 diff)
-
includes/cronjob/class-extendago-cronjob-functions.php (modified) (3 diffs)
-
includes/woocommerce/class-extendago-woocommerce-functions.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extendago-wp-connection/trunk/extendago-wp-connection.php
r3058414 r3085804 4 4 Plugin URI: http://www.arture.nl/extendago 5 5 Description: The Wordpress plugin for connecting Woocommerce with Extenda GO / Wallmob. You can manage your products inside Extenda GO or make your webshop as leading foor product manangement. You Stock changes will be two-way binding. 6 Version: 1.5. 06 Version: 1.5.1 7 7 Author: Arture B.V. 8 8 Author URI: https://arture.nl/ -
extendago-wp-connection/trunk/includes/api/class-extendago-web-api-functions.php
r3058414 r3085804 172 172 } 173 173 174 // CHECK ORPRODUCT HAS THE TRASH STATUS. IF SO, UPDATE THE STATUS TO THE INITIAL STATUS175 if (get_post_status($post_id) == 'trash' ) {174 // CHECK IF PRODUCT HAS THE TRASH STATUS. IF SO, UPDATE THE STATUS TO THE INITIAL STATUS 175 if (get_post_status($post_id) == 'trash' || get_post_status($post_id) == 'draft' ) { 176 176 $extendago_keep_product_status = get_option('extendago_keep_product_status'); 177 177 if( !isset($extendago_keep_product_status) || !$extendago_keep_product_status) { -
extendago-wp-connection/trunk/includes/api/class-extendago-web-api.php
r3019318 r3085804 113 113 $result = json_decode($result, true); 114 114 115 update_option('extendago_access_token', $result['access_token']); 116 117 return $result['access_token']; 115 if( isset($result['access_token']) ){ 116 update_option('extendago_access_token', $result['access_token']); 117 118 return $result['access_token']; 119 } 120 else{ 121 return NULL; 122 } 118 123 } 119 124 -
extendago-wp-connection/trunk/includes/cronjob/class-extendago-cronjob-functions.php
r3058414 r3085804 839 839 840 840 841 $retail_price = $variation->retail_price; 842 if( isset($variation->sale_price) && !empty($variation->sale_price) ){ 843 $retail_price = $variation->sale_price; 844 } 845 841 846 // First variation 842 847 if( $i == 1 ){ … … 845 850 'id' => $product['id'], 846 851 'type_id' => '523', 847 'retail_price' => number_format(((float)$ variation->retail_price * 100), 0, '.', ''), // price in cents852 'retail_price' => number_format(((float)$retail_price * 100), 0, '.', ''), // price in cents 848 853 'cost_price' => 0, 849 854 'product_id' => $product['id'], … … 869 874 'id' => 'product_data-'.$variation->id, 870 875 'type_id' => '523', 871 'retail_price' => number_format(((float)$ variation->retail_price * 100), 0, '.', ''), // price in cents876 'retail_price' => number_format(((float)$retail_price * 100), 0, '.', ''), // price in cents 872 877 'cost_price' => 0, 873 878 'product_id' => $product['id'], -
extendago-wp-connection/trunk/includes/woocommerce/class-extendago-woocommerce-functions.php
r3043693 r3085804 839 839 $order_line_item['vat_amount'] = (int)number_format($item_data['total_tax'], 2, '', ''); 840 840 $order_line_item['retail_price'] = (int)number_format($item_data['total'] + $item_data['total_tax'], 2, '', ''); 841 $order_line_item['total_line_amount'] = (int)number_format($item_data['total'] + $item_data['total_tax'], 2, '', ''); 841 842 842 843 $vat_rate = 0; -
extendago-wp-connection/trunk/readme.txt
r3058414 r3085804 1 1 === Extendago Woocommerce === 2 Contributors: Arture B.V.2 Contributors: ExtendaGO 3 3 Donate link: https://www.arture.nl/abonnementen/ 4 4 Tags: extendago, extenda, woocommerce, arture, POS, 5 5 Requires at least: 6.0 6 6 Tested up to: 6.4.3 7 Stable tag: 1.5. 07 Stable tag: 1.5.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 12 12 == Description == 13 13 14 Extenda GO Connect makes it simple. No duplication of work, but a central place for your product management. Manage your products, stock and discounts at one place and our plugin will do the magic. Order received in Woocommerce? Our plugin will create the order in ExtendaGO and also handle the stock events.14 Extenda GO Connect, developed and maintained by Arture, makes it simple. No duplication of work, but a central place for your product management. Manage your products, stock and discounts at one place and our plugin will do the magic. Order received in Woocommerce? Our plugin will create the order in ExtendaGO and also handle the stock events. 15 15 16 16 In our plugin, various settings offer the possibility to set the processing as desired. … … 31 31 == Changelog == 32 32 33 = 1.5.1 = 34 * Change for sale price processing to Extenda GO 35 33 36 = 1.5.0 = 34 37 * Bugfix for cost price with dot format
Note: See TracChangeset
for help on using the changeset viewer.