Changeset 1850757
- Timestamp:
- 04/01/2018 01:04:27 PM (8 years ago)
- Location:
- ajaxified-cart-woocommerce/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
includes/class-abwc-ajax-cart-loader.php (modified) (3 diffs)
-
languages/abwc-ajax-cart.pot (modified) (2 diffs)
-
wc-ajax-cart.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ajaxified-cart-woocommerce/trunk/README.txt
r1772103 r1850757 3 3 Tags: woocommerce, ajax, cart 4 4 Requires at least: 3.0.1 5 Tested up to: 4. 96 Stable tag: 4. 95 Tested up to: 4.8 6 Stable tag: 4.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 = 1.2.1 = 42 42 * Fatal error fix 43 44 = 1.2.2 = 45 * Simple products archive ajax add to cart when varibale product archive ajax option is enabled issue fix. 46 * fixed 500 error when tried to add more variation products to cart than stock holds. -
ajaxified-cart-woocommerce/trunk/includes/class-abwc-ajax-cart-loader.php
r1710512 r1850757 83 83 WC_AJAX::get_refreshed_fragments(); 84 84 } else { 85 $this->json_headers();86 85 87 86 // If there was an error adding to the cart, redirect to the product page to show any errors. … … 90 89 'product_url' => apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ), 91 90 ); 92 echo wp_json_encode( $data );91 wp_send_json( $data ); 93 92 } 94 93 wp_die(); … … 130 129 $product->supports( 'ajax_add_to_cart' ) ? 'ajax_add_to_cart' : '', 131 130 ) ) ), 131 'attributes' => array( 132 'data-product_id' => $product->get_id(), 133 'data-product_sku' => $product->get_sku(), 134 'aria-label' => $product->add_to_cart_description(), 135 'rel' => 'nofollow', 136 ), 132 137 ); 133 138 -
ajaxified-cart-woocommerce/trunk/languages/abwc-ajax-cart.pot
r1710512 r1850757 1 # Copyright (C) 201 71 # Copyright (C) 2018 2 2 # This file is distributed under the same license as the package. 3 3 msgid "" … … 5 5 "Project-Id-Version: \n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/index\n" 7 "POT-Creation-Date: 201 7-08-08 19:25:06+00:00\n"7 "POT-Creation-Date: 2018-04-01 12:57:10+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 201 7-MO-DA HO:MI+ZONE\n"11 "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: Abhishek Kumar <abhishekfdd@gmail.com>\n" 13 13 "Language-Team: Abhishek Kumar <abhishekfdd@gmail.com>\n" -
ajaxified-cart-woocommerce/trunk/wc-ajax-cart.php
r1724948 r1850757 16 16 * Plugin URI: https://wordpress.org/plugins/woocommerce-ajaxified-cart/ 17 17 * Description: This Plugins ajaxifies single product page and variable products in shop page. 18 * Version: 1.2. 118 * Version: 1.2.2 19 19 * Author: Abhishek Kumar 20 20 * Author URI: http://github.com/abhishekfdd/
Note: See TracChangeset
for help on using the changeset viewer.