Mike Jolley
d8a00b97a1
Minify
2017-02-16 10:44:43 +00:00
Claudio Sanches
ff35f07a4d
Minify
2016-12-15 14:49:33 -02:00
Mike Jolley
ca04ee8e9f
Replace
2016-11-22 15:09:37 +00:00
Mike Jolley
747a6d51d1
Update mini cart after back button page load
...
Fixes #11646
2016-08-10 11:35:44 +01:00
Claudio Sanches
09ac79e7e1
Minify files
2016-07-14 15:48:11 +02:00
Mike Jolley
99f6540fe9
Trigger fragment refresh after updating ajax cart
...
Fixes #11064
2016-06-08 12:06:40 +01:00
Kevin Killingsworth
543e091c2c
Fix for #10940 - wc_cart_hash
...
wc_cart_hash was used as a key for localStorage
for all WooCommerce sites. If you were to load your
cart for two different sites in the same browser,
the two WooCommerce pages would contend over this key
and loop on trying to set this key in the localStorage
This commit prepends the site's ajax URL onto the wc_cart_hash
key name in localStorage, providing a unique key for each
WooCommerce site. This ends contention over the keys.
2016-05-24 14:36:43 -05:00
Mike Jolley
699e007659
Wrap export in quotes to preserve commas
...
Fixes #10541
2016-03-14 12:26:18 +00:00
Claudio Sanches
ede64f7aa9
Minify and POT
2016-03-11 14:42:34 -03:00
Mike Jolley
7012ef5608
When updating cart hash, refresh all open tabs
...
Closes #8708
2015-10-26 11:50:25 +00:00
Jeff Stieler
d04dac6ba6
Update minified cart fragments javascript.
2015-10-06 12:50:44 -06:00
Mike Jolley
d0c2c10c47
Made the linter happy
2015-07-27 17:55:37 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches
866a975517
Minify files for #8347
2015-06-10 14:50:13 -03:00
Mike Jolley
2e2ec824f0
Set field required class
...
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley
21c5513526
Added endpoint for faster ajax requests
2015-03-20 12:28:26 +00:00
Mike Jolley
e6a5825f8c
Some shipping class tidyup
2014-11-17 16:30:18 +00:00
Mike Jolley
2b4906bf4c
Prevent security error with try catch block Closes #5275
2014-04-07 14:34:47 +01:00
Mike Jolley
8007e4c102
Fix encoding issue with attribute values and move variation data to tooltip Closes #5169
2014-03-20 15:47:52 +00:00
splashingpixels
6d2aa8b3c3
cart-fragments jshinted and standard coding fixes
2014-03-17 19:56:31 -07:00
Mike Jolley
b1b6e10b98
Result of Grunt minification + tx pull
2014-02-03 14:35:26 +00:00
toddlahman
13c24b410e
Removed (document).ready from jQuery scripts
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Coen Jacobs
fe8f57c2e3
Minified all the JS files for #4289
2013-12-05 10:23:38 +01:00
Mike Jolley
cc40557077
filter for cart fragment #4132
2013-11-20 16:31:28 +00:00
Scott Basgaard
f3b2854638
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead.
2013-11-19 14:44:28 +01:00
Scott Basgaard
bee41fb7e5
woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method.
2013-11-19 13:33:26 +01:00
Mike Jolley
34624fa4ca
Rather than check if cart has contents, standardize cart hash adn cookie so its refreshed once. Closes #3505 .
...
@coenjacobs for .14
2013-07-30 15:23:08 +01:00
Mike Jolley
feb8d759a8
Only refresh fragment when cart cookie > 0
2013-07-10 17:07:25 +01:00
Mike Jolley
4f0320fdb2
Refactor frontend scripts #3165
2013-06-11 13:31:41 +01:00
Mike Jolley
d0ee67d9e1
Trigger when loading fragments Closes #2985 .
2013-04-23 15:37:19 +01:00
Mike Jolley
422b07b262
Reveal cart on adding_to_cart action
2013-04-09 09:38:55 +01:00
Mike Jolley
9977031a5d
Nonces cannot be used on all pages with cache - removed them for add to cart actions + fixed caching for hiding the cart
2013-04-08 18:43:07 +01:00
Mike Jolley
d403f4d9bc
Split out fragment code into wc-cart-fragments Closes #2528
2013-02-26 12:15:12 +00:00