Changeset 1844438
- Timestamp:
- 03/21/2018 09:07:23 PM (8 years ago)
- Location:
- cart66-cloud/trunk
- Files:
-
- 5 edited
-
cart66-cloud.php (modified) (1 diff)
-
includes/class-cart66-cloud.php (modified) (1 diff)
-
includes/class-cc-shortcode-manager.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
resources/js/add-to-cart.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cart66-cloud/trunk/cart66-cloud.php
r1823612 r1844438 4 4 Plugin URI: http://cart66.com 5 5 Description: Secure Ecommerce For WordPress. 6 Version: 2. 1.16 Version: 2.2.0 7 7 Author: Reality66 8 8 Author URI: http://www.reality66.com -
cart66-cloud/trunk/includes/class-cart66-cloud.php
r1823612 r1844438 25 25 define( 'CC_URL', WP_PLUGIN_URL . '/' . $plugin_dir . '/' ); 26 26 define( 'CC_TEMPLATE_DEBUG_MODE', false ); 27 define( 'CC_VERSION_NUMBER', '2. 1.1' );27 define( 'CC_VERSION_NUMBER', '2.2.0' ); 28 28 } 29 29 -
cart66-cloud/trunk/includes/class-cc-shortcode-manager.php
r1815908 r1844438 17 17 add_shortcode( 'cc_product_review_form', array( 'CC_Shortcode_Manager', 'cc_product_review_form' ) ); 18 18 add_shortcode( 'cc_product_gallery', array( 'CC_Shortcode_Manager', 'cc_product_gallery') ); 19 add_shortcode( 'add_to_cart', array( 'CC_Shortcode_Manager', 'cc_product') ); 19 20 } 20 21 … … 31 32 $display_price = isset($args['price']) ? $args['price'] : 'true'; 32 33 $display_mode = isset($args['display']) ? $args['display'] : ''; 34 35 if (isset($args['item'])) { 36 $product_sku = $args['item']; 37 } 33 38 34 39 CC_Log::write( "cc_product shortcode: subdomain: $subdomain :: product loader: $product_loader" ); -
cart66-cloud/trunk/readme.txt
r1823612 r1844438 6 6 Requires PHP: 5.4 7 7 Tested up to: 4.9 8 Stable tag: 2. 1.18 Stable tag: 2.2.0 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 139 139 == Changelog == 140 140 141 = 2.2.0 = 142 - New: Backwards compatibility for the Cart66 Pro [add_to_cart] shortcodes 143 - Fix: Fixed an issue with invalid product forms producing hard errors on some web hosts (e.g. Flywheel) 144 141 145 = 2.1.1 = 142 146 -
cart66-cloud/trunk/resources/js/add-to-cart.js
r1815908 r1844438 23 23 }, 24 24 error: function(response) { 25 if(response.status == 500 ) {26 form.append('<div class="ajax_add_to_cart_message"><span class="alert alert-error ajax_button_notice"><a href="#" title="close" class="cc_close_message"><i class="icon-remove"></i></a><span class="cc_ajax_message">The product was not added to your cart. Please try again.</span></span></div>');25 if(response.status == 500 || response.status == 503) { 26 form.append('<div class="ajax_add_to_cart_message"><span class="alert alert-error ajax_button_notice"><a href="#" title="close" class="cc_close_message"><i class="icon-remove"></i></a><span class="cc_ajax_message">There was a problem adding this item to your cart. Please try again or contact the merchant.</span></span></div>'); 27 27 } 28 28 else {
Note: See TracChangeset
for help on using the changeset viewer.