Changeset 2116638
- Timestamp:
- 07/03/2019 06:20:48 AM (7 years ago)
- Location:
- ds-titan
- Files:
-
- 10 edited
-
tags/0.2/readme.txt (modified) (1 diff)
-
tags/0.2/src/DSTitan.php (modified) (3 diffs)
-
tags/0.2/src/Products.php (modified) (1 diff)
-
tags/0.2/vendor/composer/autoload_files.php (modified) (1 diff)
-
tags/0.2/vendor/composer/autoload_static.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/DSTitan.php (modified) (3 diffs)
-
trunk/src/Products.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_files.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_static.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ds-titan/tags/0.2/readme.txt
r2112592 r2116638 32 32 33 33 Initial integration between DSTitan and WooCommerce 34 35 = 0.2 =36 37 * Release date: June 26, 201938 39 Bug fixes and improvements -
ds-titan/tags/0.2/src/DSTitan.php
r2115238 r2116638 201 201 $productIds = $body['productIds']; 202 202 203 $logs[] = 'Products pushed from DSTitan:' . implode($productIds);203 $logs[] = 'Products pushed from DSTitan:' . count($productIds) . ' - '. implode(', ', $productIds); 204 204 } catch(\Exception $e) { 205 205 return new \WP_Error('invalid_post_body', 'Sorry the post body is invalid', [ … … 227 227 } 228 228 229 $logs[] = 'Products pushed: ' . count($productIds) . ', details fetched: '. count($newProducts); 229 230 // Save the log 230 231 $appLogs[time()] = $logs; … … 241 242 ]); 242 243 } 244 $appLogs = get_option(Products::APP_LOG_KEY, []); 245 $appLogs[time()] = [ 246 'Products pushed: ' . count($productIds) . ', Products imported: '. count($results), 247 ]; 248 update_option(Products::APP_LOG_KEY, $appLogs); 249 243 250 244 251 // Return -
ds-titan/tags/0.2/src/Products.php
r2115208 r2116638 14 14 { 15 15 // Use for mapping woocommerce product with DSTitan product 16 // PLEASE ALSO CHANGE THE uninstall.php IF CHANGE THESE CONSTANTS 16 17 const PRODUCT_MAPPING_KEY = 'ds_titan_product_mapping'; 17 18 const IMAGE_MAPPING_KEY = 'ds_titan_images_mapping'; -
ds-titan/tags/0.2/vendor/composer/autoload_files.php
r2112616 r2116638 8 8 return array( 9 9 '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 10 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', 10 11 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 11 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',12 12 '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 13 13 ); -
ds-titan/tags/0.2/vendor/composer/autoload_static.php
r2115233 r2116638 9 9 public static $files = array ( 10 10 '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', 11 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', 11 12 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', 12 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',13 13 '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', 14 14 ); -
ds-titan/trunk/readme.txt
r2112592 r2116638 32 32 33 33 Initial integration between DSTitan and WooCommerce 34 35 = 0.2 =36 37 * Release date: June 26, 201938 39 Bug fixes and improvements -
ds-titan/trunk/src/DSTitan.php
r2115238 r2116638 201 201 $productIds = $body['productIds']; 202 202 203 $logs[] = 'Products pushed from DSTitan:' . implode($productIds);203 $logs[] = 'Products pushed from DSTitan:' . count($productIds) . ' - '. implode(', ', $productIds); 204 204 } catch(\Exception $e) { 205 205 return new \WP_Error('invalid_post_body', 'Sorry the post body is invalid', [ … … 227 227 } 228 228 229 $logs[] = 'Products pushed: ' . count($productIds) . ', details fetched: '. count($newProducts); 229 230 // Save the log 230 231 $appLogs[time()] = $logs; … … 241 242 ]); 242 243 } 244 $appLogs = get_option(Products::APP_LOG_KEY, []); 245 $appLogs[time()] = [ 246 'Products pushed: ' . count($productIds) . ', Products imported: '. count($results), 247 ]; 248 update_option(Products::APP_LOG_KEY, $appLogs); 249 243 250 244 251 // Return -
ds-titan/trunk/src/Products.php
r2115208 r2116638 14 14 { 15 15 // Use for mapping woocommerce product with DSTitan product 16 // PLEASE ALSO CHANGE THE uninstall.php IF CHANGE THESE CONSTANTS 16 17 const PRODUCT_MAPPING_KEY = 'ds_titan_product_mapping'; 17 18 const IMAGE_MAPPING_KEY = 'ds_titan_images_mapping'; -
ds-titan/trunk/vendor/composer/autoload_files.php
r2112616 r2116638 8 8 return array( 9 9 '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 10 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', 10 11 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 11 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',12 12 '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 13 13 ); -
ds-titan/trunk/vendor/composer/autoload_static.php
r2115233 r2116638 9 9 public static $files = array ( 10 10 '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', 11 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', 11 12 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', 12 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',13 13 '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', 14 14 );
Note: See TracChangeset
for help on using the changeset viewer.