Changeset 3020847
- Timestamp:
- 01/12/2024 08:25:06 AM (2 years ago)
- Location:
- extendago-wp-connection/trunk
- Files:
-
- 5 edited
-
extendago-wp-connection.php (modified) (1 diff)
-
includes/admin/class-extendago-wp-connection-admin.php (modified) (1 diff)
-
includes/cronjob/class-extendago-cronjob-functions.php (modified) (1 diff)
-
includes/woocommerce/class-extendago-woocommerce-functions.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extendago-wp-connection/trunk/extendago-wp-connection.php
r3020409 r3020847 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.4. 66 Version: 1.4.7 7 7 Author: Arture B.V. 8 8 Author URI: https://arture.nl/ -
extendago-wp-connection/trunk/includes/admin/class-extendago-wp-connection-admin.php
r3020409 r3020847 775 775 <select name="<?php echo $VatRate['id']; ?>"> 776 776 <option value=""><?php echo __( 'Select tax rate', 'extendago-wp-connection-plugin' ); ?></option> 777 <option value="null" >Default <?php echo $default_tax; ?>%</option>777 <option value="null" <?php echo ( isset( $value ) && $value == 'null' ) ? 'selected=selected' : ''; ?>>Default <?php echo $default_tax; ?>%</option> 778 778 <?php 779 779 // Iterate Woocommerce vat rates -
extendago-wp-connection/trunk/includes/cronjob/class-extendago-cronjob-functions.php
r3020409 r3020847 413 413 // Costs of goods 414 414 if ( isset($extendago_costs_field) && !empty($extendago_costs_field) ) { 415 $variant_data['cost_price'] = get_post_meta($product_variation_id, $extendago_costs_field, true); 415 $cost_price = get_post_meta($product_variation_id, $extendago_costs_field, true); 416 $variant_data['cost_price'] = number_format(((float)$cost_price * 100), 0, '.', ''); 416 417 } 417 418 -
extendago-wp-connection/trunk/includes/woocommerce/class-extendago-woocommerce-functions.php
r3019318 r3020847 192 192 // Costs of goods 193 193 if ( isset($extendago_costs_field) && !empty($extendago_costs_field) ) { 194 $product_data['cost_price'] = get_post_meta($product->get_id(), $extendago_costs_field, true); 194 $cost_price = get_post_meta($product->get_id(), $extendago_costs_field, true); 195 $product_data['cost_price'] = number_format(((float)$cost_price * 100), 0, '.', ''); 195 196 } 196 197 … … 313 314 // Costs of goods 314 315 if ( isset($extendago_costs_field) && !empty($extendago_costs_field) ) { 315 $variant_data['cost_price'] = get_post_meta($product_variation_id, $extendago_costs_field, true); 316 $cost_price = get_post_meta($product_variation_id, $extendago_costs_field, true); 317 $variant_data['cost_price'] = number_format(((float)$cost_price * 100), 0, '.', ''); 316 318 } 317 319 -
extendago-wp-connection/trunk/readme.txt
r3020409 r3020847 5 5 Requires at least: 6.0 6 6 Tested up to: 6.4.2 7 Stable tag: 1.4. 67 Stable tag: 1.4.7 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 31 31 == Changelog == 32 32 33 = 1.4.7 = 34 * Bugfix with costprice fields and different seperators 35 33 36 = 1.4.6 = 34 37 * Some small improvements and tooltips
Note: See TracChangeset
for help on using the changeset viewer.