Changeset 2146461
- Timestamp:
- 08/27/2019 03:54:05 PM (7 years ago)
- Location:
- cart66-cloud/trunk
- Files:
-
- 3 edited
-
cart66-cloud.php (modified) (1 diff)
-
includes/class-cc-product.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cart66-cloud/trunk/cart66-cloud.php
r2146405 r2146461 4 4 Plugin URI: http://cart66.com 5 5 Description: Ecommerce Without The Clutter 6 Version: 2.3. 36 Version: 2.3.4 7 7 Author: Reality66 8 8 Author URI: http://www.reality66.com -
cart66-cloud/trunk/includes/class-cc-product.php
r2146405 r2146461 111 111 'meta_key' => '_cc_product_sku', 112 112 'meta_value' => $sku, 113 ' posts_per_page' =>1113 'numberposts' => -1 114 114 ); 115 115 $posts = get_posts( $args ); … … 117 117 CC_Log::write( 'PRODUCT POSTS: ' . print_r( $posts, true ) ); 118 118 119 if ( count( $posts ) ) { 120 $post = array_shift( $posts ); 119 foreach ($posts as $post) { 121 120 if ( is_object( $post ) && $post->ID > 0 ) { 122 121 $cc_product = CC_Cloud_Product::find_by_sku( $sku ); 123 // CC_Log::write( 'Updating product info for post id: ' . $post->ID . " :: " . print_r( $results, true ) );124 122 if( is_array( $cc_product ) ) { 125 123 update_post_meta( $post->ID, $this->json_key, $cc_product ); -
cart66-cloud/trunk/readme.txt
r2146405 r2146461 6 6 Requires PHP: 7.0 7 7 Tested up to: 5.2.2 8 Stable tag: 2.3. 38 Stable tag: 2.3.4 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 139 139 == Changelog == 140 140 141 = 2.3.4 = 142 - Fix: Yet another fix related to product post types and their associations with product SKUs in the cloud. If more than 1 product post type was associated with the same product SKU in the cloud, the Refresh Product Info process would only update the first one. This fix makes it so all of them get updated as they should. 143 141 144 = 2.3.3 = 142 - Fix: Another fix for an issue related to refreshing product info from the 143 cloud 145 - Fix: Another fix for an issue related to refreshing product info from the cloud 144 146 145 147 = 2.3.2 =
Note: See TracChangeset
for help on using the changeset viewer.