Plugin Directory

Changeset 1850757


Ignore:
Timestamp:
04/01/2018 01:04:27 PM (8 years ago)
Author:
abhishekfdd
Message:

bug fixes

Location:
ajaxified-cart-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ajaxified-cart-woocommerce/trunk/README.txt

    r1772103 r1850757  
    33Tags: woocommerce, ajax, cart
    44Requires at least: 3.0.1
    5 Tested up to: 4.9
    6 Stable tag: 4.9
     5Tested up to: 4.8
     6Stable tag: 4.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141= 1.2.1 =
    4242* 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  
    8383            WC_AJAX::get_refreshed_fragments();
    8484        } else {
    85             $this->json_headers();
    8685
    8786            // If there was an error adding to the cart, redirect to the product page to show any errors.
     
    9089                'product_url'    => apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ),
    9190            );
    92             echo wp_json_encode( $data );
     91            wp_send_json( $data );
    9392        }
    9493        wp_die();
     
    130129                            $product->supports( 'ajax_add_to_cart' ) ? 'ajax_add_to_cart' : '',
    131130                        ) ) ),
     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                        ),
    132137                    );
    133138
  • ajaxified-cart-woocommerce/trunk/languages/abwc-ajax-cart.pot

    r1710512 r1850757  
    1 # Copyright (C) 2017
     1# Copyright (C) 2018
    22# This file is distributed under the same license as the  package.
    33msgid ""
     
    55"Project-Id-Version: \n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/index\n"
    7 "POT-Creation-Date: 2017-08-08 19:25:06+00:00\n"
     7"POT-Creation-Date: 2018-04-01 12:57:10+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
     11"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
    1212"Last-Translator: Abhishek Kumar <abhishekfdd@gmail.com>\n"
    1313"Language-Team: Abhishek Kumar <abhishekfdd@gmail.com>\n"
  • ajaxified-cart-woocommerce/trunk/wc-ajax-cart.php

    r1724948 r1850757  
    1616 * Plugin URI:        https://wordpress.org/plugins/woocommerce-ajaxified-cart/
    1717 * Description:       This Plugins ajaxifies single product page and variable products in shop page.
    18  * Version:           1.2.1
     18 * Version:           1.2.2
    1919 * Author:            Abhishek Kumar
    2020 * Author URI:        http://github.com/abhishekfdd/
Note: See TracChangeset for help on using the changeset viewer.