Changeset 2373976
- Timestamp:
- 09/02/2020 02:55:59 PM (6 years ago)
- Location:
- officegest/trunk
- Files:
-
- 3 edited
-
officegest.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/Controllers/SyncPecas.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
officegest/trunk/officegest.php
r2373903 r2373976 5 5 * Plugin URI: https://www.officegest.com/woocommerce 6 6 * Description: A forma mais fácil de ligar a sua loja online com a sua faturação. 7 * Version: 1.0.2 37 * Version: 1.0.24 8 8 * Author: OfficeGest 9 9 * Author URI: https://www.officegest.com -
officegest/trunk/readme.txt
r2373903 r2373976 5 5 Tested up to: 5.4 6 6 Requires PHP: 5.6 7 Stable tag: 1.0.2 37 Stable tag: 1.0.24 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 33 33 34 34 == Changelog == 35 36 = 1.0.24 = 37 Fixed Bug in Classifications for Ecoauto Parts 35 38 36 39 = 1.0.23 = -
officegest/trunk/src/Controllers/SyncPecas.php
r2373903 r2373976 53 53 } 54 54 $parent_term_new_model_id = term_exists( $v1['model'], 'product_cat', $parent_term['term_id'] ); 55 55 56 $sql_model = "SELECT distinct category from " . TABLE_OFFICEGEST_ECO_PARTS . " where brand='" . $v['brand'] . "' and model='" . $v1['model'] . "'"; 56 57 $category = $wpdb->get_results( $sql_model, ARRAY_A ); … … 66 67 $component = $wpdb->get_results( $sql_model, ARRAY_A ); 67 68 foreach ( $component as $k12 => $v12 ) { 68 $parent_term_component_id = term_exists( $v1 1['category'], 'product_cat',$parent_term_category_id['term_id'] );69 $parent_term_component_id = term_exists( $v12['component'], 'product_cat',$parent_term_category_id['term_id'] ); 69 70 if ( ! isset( $parent_term_component_id['term_id'] ) ) { 70 71 $datam['description'] = $v12['component'];
Note: See TracChangeset
for help on using the changeset viewer.