Commit Graph

70 Commits

Author SHA1 Message Date
Claudio Sanches ad5264d40b Fixed initial tax rate settings pagination
Pagination need to be set up to 1, since is first page.
This fix a bug where is impossible to insert rates when don't have any rate saved before.

cc @mikejolley
2015-10-27 19:36:57 -02:00
Claudio Sanches 9b47f3866a Prevented reset to default option when click in any attribute option
Improvement for #9335
2015-10-27 17:59:26 -02:00
Claudio Sanches 9877ce99b5 Minify 2015-10-27 17:24:54 -02:00
Mike Jolley 1f6260a880 Use tax settings in backend and default to base country
Closes #9186
2015-10-05 15:31:58 +01:00
roykho 52ec35cab6 tweak to use product class function instead of body class function 2015-10-02 10:26:53 +02:00
roykho 5ba6ff1dac fix variation image flicker issue when default variations are set closes #7904 2015-10-02 03:45:11 +02:00
Mike Jolley b9381d1495 Revert uniform fix - looking into doing it in-theme 2015-08-21 19:24:39 +01:00
Mike Jolley 10c0b92d0d Added BW compatibility for themes using 'uniform'. 2015-08-21 15:37:00 +01:00
Manos Psychogyiopoulos f5691fd82a animate variations script markup changes 2015-07-31 14:04:55 +03:00
Mike Jolley e3ff9d6e24 Minify 2015-07-28 16:22:00 +01:00
Mike Jolley d0c2c10c47 Made the linter happy 2015-07-27 17:55:37 +01:00
Mike Jolley 44b91e5b66 Revert triggerHandlers back to trigger() for BW compat
Closes #8569
2015-07-14 10:28:49 +01:00
Claudio Sanches ee1263db9c Minify 2015-07-10 20:17:47 -03:00
Mike Jolley 3ec4003bbb Move add variation button and toolbars 2015-07-11 00:04:16 +01:00
Claudio Sanches 501742b07f Updated grunt dependencies 2015-07-10 18:48:04 -03:00
Mike Jolley 2834eff221 Merge branch 'variations-8477'
Conflicts:
	assets/js/frontend/add-to-cart-variation.js
	assets/js/frontend/add-to-cart-variation.min.js
	assets/js/frontend/add-to-cart.min.js
	assets/js/frontend/checkout.min.js
	assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Claudio Sanches 62d879e86c Fixed all jshint errors #4680 2015-07-10 02:13:30 -03:00
Mike Jolley 9531258ee6 Treat each form separately. 2015-07-09 16:21:17 +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
Mike Jolley 6760589381 Tweak code used to get country's statebox
Closes #8255
2015-06-01 10:50:16 +01:00
Mike Jolley 0a3defd798 Move tax enabled check 2015-05-29 14:55:57 +01:00
James Koster aebef4aece variation img title / caption. closes #8032 2015-04-28 17:19:38 +01:00
Mike Jolley d7144d9ed6 [2.3] Reset sku when no option chosen
Closes #7799
2015-03-23 13:03:53 +00:00
Mike Jolley 0959b68182 Minify 2015-03-10 10:25:40 +00:00
Claudio Sanches 01c0401bc0 Close the select2 when close the wc backbone modal, closes #7347 2015-02-10 14:57:14 -02:00
Risto Niinemets d9e63dcbb2 "hide_variation" hook 2015-02-04 18:08:14 +02:00
boohoogal 538d514cc0 As suggested kept original event and created new event 'woocommerce_variation_has_changed' for after selection has been fully applied. #6833 2014-12-11 10:02:24 +00:00
boolah ff86dec284 Make custom event 'woocommerce_variation_select_change' for theme developers as last thing we trigger. #6833 2014-12-10 21:43:26 +00:00
Mike Jolley 2294135bff Rename touch punch to stop grunt breaking minify 2014-10-23 14:38:19 +01:00
James Koster 63f45a8720 variation visibility, based on #6182. #5661 2014-09-26 17:22:43 +01:00
Mike Jolley b321d6297b Use is_purchasable to determine if a variation cart button is needed, and potentially show empty_price_html Closes #5137 2014-03-17 12:12:10 +00:00
splashingpixels e19fa9a73c frontend add to cart variation jshinted and coding standards 2014-03-16 22:19:58 -07:00
Mike Jolley 77929bc27f grunt dev - updated languages 2014-02-27 14:21:25 +00:00
splashingpixels 2944658f01 jshinted and coding standards see #4680 2014-02-21 20:08:08 -08:00
Mike Jolley b1b6e10b98 Result of Grunt minification + tx pull 2014-02-03 14:35:26 +00:00
Coen Jacobs fe8f57c2e3 Minified all the JS files for #4289 2013-12-05 10:23:38 +01:00
Mike Jolley ece95e25ce When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Mike Jolley eef86ab5eb First found should be used.
@coenjacobs this should go in .15 - the first matching variation should
always be used IMO, not the last.
2013-10-10 14:21:19 +01:00
Mike Jolley ef24dfeac6 minify #3817 2013-09-23 15:53:21 +01:00
Mike Jolley d13ec3bcd6 touchstart event for ios devices. Closes #3376.
@coenjacobs might be good for .15
2013-09-13 15:48:23 +01:00
Mike Jolley 0405fabf69 Alt changes from .14 2013-09-04 17:22:35 +01:00
Mike Jolley 63433bbdd7 Check for undefined attributes. Closes #3487. 2013-07-30 13:57:42 +01:00
Mike Jolley 17da2c0c44 Prevent breakage when moved to header by w3 total cache Closes #3412. 2013-07-23 11:49:16 +01:00
Mike Jolley 9684ad95f7 Trigger an action when the variation form is attached 2013-06-17 13:53:21 +01:00
Mike Jolley 4f0320fdb2 Refactor frontend scripts #3165 2013-06-11 13:31:41 +01:00
Mike Jolley 789e917a7c Backwards compat 2013-03-23 15:10:42 +00:00
Mike Jolley 55b6a59e44 Check variation exists. Closes #2700. 2013-03-18 14:03:39 +00:00
Mike Jolley 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Mike Jolley 038eceffc8 Fix clear image reset 2013-02-19 11:03:23 +00:00
Mike Jolley c903e47089 Improve variation form pattern and data 2013-02-07 10:12:08 +00:00