Mike Jolley
3b8cbe350b
Ensure button text stays changed
2014-02-24 15:39:15 +00:00
Mike Jolley
9a115dc1f4
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-24 15:34:28 +00:00
splashingpixels
2944658f01
jshinted and coding standards see #4680
2014-02-21 20:08:08 -08:00
splashingpixels
9fe74e0073
jshinted and coding standards see #4680
2014-02-21 20:07:37 -08:00
Mike Jolley
9f7363a717
Turn off cursor for IE Closes #4824
2014-02-17 12:09:35 +00:00
James Koster
d4c2d54b0d
js fix #4629
2014-02-06 09:36:55 +00:00
James Koster
2b8ef5101f
review pagination. closes #4629
2014-02-05 12:40:15 +00: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
Mike Jolley
5b991cc3e1
Checkout min
2014-01-28 11:26:07 +00:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
bc779e5e2b
Trigger change for country fields Closes #4546
2014-01-21 11:54:03 +00:00
Mike Jolley
c6cd7e4017
Sliding payment boxes tweaks Closes #4538
2014-01-20 15:18:47 +00:00
splashingpixels
5b42f5f596
revised/ammend pull request 4513
2014-01-15 23:06:23 -08:00
splashingpixels
74f0d1c4c6
fixes shipping total not updating when select method is used on checkout page
2014-01-15 21:22:43 -08:00
splashingpixels
c6018f58af
fix shipping cost total not updating when using select dropdown method Fixes #4515
2014-01-15 19:33:21 -08:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
329a96b452
Look for name of select Fixes #4365
2013-12-23 15:42:46 +00:00
Coen Jacobs
fe8f57c2e3
Minified all the JS files for #4289
2013-12-05 10:23:38 +01:00
Jared Cobb
9fc47db17f
Make frontend scripts safe to run on non WC pages (check for objects)
...
For a more detailed explaination of why this is helpful, see
Issue #4202 . In short, from a dev ops perspective, if we want to build /
concatonate our front end scripts into a single application.js file, we
need to ensure scripts first check for dependent global object helpers
before trying to use them. For example, there are several objects
(created via PHP using `wp_localize_script`) which generate objects such
as `wc_single_product_params`. These objects will not exist on most
other pages, however these scripts attempt to execute code that
references these objects.
2013-12-04 12:15:24 -07:00
Mike Jolley
293c998a1d
Set price slider min to min price. Closes #4183
2013-12-03 13:39:02 +00:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Ewout Fernhout
bfa4ce53ff
Allow custom checkout fields to be localized
2013-11-28 15:46:08 +01:00
Mike Jolley
0fae180f24
Minify all the things
2013-11-25 16:03:43 +00: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
Brent Shepherd
4a7f207eff
Use new ID for add pay method form
...
Part of #3396
2013-11-05 15:36:00 -08:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
James Koster
e934947152
Remove placeholder polyfill. closes #4012
2013-10-28 09:03:03 +00: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
1b91c75039
Tweak add to cart message. Closes #3876 .
2013-10-04 12:26:11 +01:00
Mike Jolley
8f196130ff
Don't show view cart message on cart page. Closes #3877
2013-10-04 12:21:28 +01:00
Justin Stern
e584ea83a2
Fixed Multiple Sets of Tabs on One Page Bug
...
When clicking on a tab on a page with multiple sets of products/tabs,
other products/tabs were influenced due to a missing jquery context
element
2013-10-03 14:23:50 -04:00
Mike Jolley
72c00a601a
Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616
2013-09-27 13:22:08 +01:00
Mike Jolley
ef49977905
add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
...
Closes #3484 and Closes #3143 . Pinging @thenbrent as the handler was
originally his idea and I've killed it.
@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley
ef24dfeac6
minify #3817
2013-09-23 15:53:21 +01:00
Manos Psychogyiopoulos
3af1df55c7
Allow variations JS to be used on multiple products in the same form
2013-09-22 18:30:39 +03:00
Mike Jolley
5f7753b343
Checkout error hook
...
@coenjacobs useful for .15 IMO
2013-09-16 14:55: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
e1631bd084
Reloads checkout after registration which fixes #3612 , removes some notices preventing login cookie being set, moves cart check for #3162
...
No perfect solution for #3162 . DB locking would probably cause more
issues that its worth, we cannot reliably use transactions as some
clients still use MyIsam. Best to accept orders and deal with stock
conflicts after the fact.
2013-09-04 11:26:19 +01:00
Mike Jolley
54b3d53a1b
Flag a refresh when creating an account to prevent nonce issues. Fixes #3612 .
...
@coenjacobs Might be for .14? Part of it anyway, can't cherry pick this
one.
2013-09-02 17:43:57 +01:00
Mike Jolley
e01df544ec
Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
...
@todo store shipping methods in the order
@todo test with PP shipping real world
cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley
f8aaef00e4
Replace placeholder script. Closes #3586 .
2013-08-13 12:50:47 +01:00
Mike Jolley
7fda2bd832
Search for US/UK on country field. Fixes #3626 .
2013-08-13 12:38:26 +01:00
Mike Jolley
4b223f6260
Min
2013-08-06 14:04:40 +01:00
Legradi Szabolcs
94f8baee1a
Coupon slidedown animation clipping effect, fixes #3590
2013-08-06 10:36:28 +02:00
Mike Jolley
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +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
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
19674a3d15
Allow autofill and use 'input' event to detect changes. Closes #3503
2013-07-21 10:38:22 +01:00
Mike Jolley
feb8d759a8
Only refresh fragment when cart cookie > 0
2013-07-10 17:07:25 +01:00
Neil Pie
687e1fb06a
Update add-to-cart-variation.js
2013-06-22 14:00:37 +02:00
Mike Jolley
9684ad95f7
Trigger an action when the variation form is attached
2013-06-17 13:53:21 +01:00
Mike Jolley
e1b49eb783
Checkout js
2013-06-14 12:22:00 +01:00
Justin Stern
d8ba734d4f
Bugfix: Always Submit Selected Shipping Method on Update Checkout
...
Fixes a bug where the shipping method was not posted on update checkout
if only a single shipping method is available (it's a hidden input
rather than a select or radio group)
2013-06-13 00:28:46 -04:00
Mike Jolley
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
4f0320fdb2
Refactor frontend scripts #3165
2013-06-11 13:31:41 +01:00
Mike Jolley
71c57ecfd7
Extra trigger for slider
2013-06-06 12:30:55 +01:00
Mike Jolley
ac51ebf2b8
Revised checkout shipping process. Checkbox within heading. Closes #2571 .
2013-05-28 14:19:08 +01:00
James Koster
d1fbc3b7f1
replaced placeholder plugin
...
old one no longer in active dev
2013-05-21 12:46:47 +01:00
Mike Jolley
ffe064db99
Delegate order by Closes #3080 .
2013-05-10 12:47:43 +01:00
Mike Jolley
d0ee67d9e1
Trigger when loading fragments Closes #2985 .
2013-04-23 15:37:19 +01:00
Dominic
c07fac099f
Removed commas after last item in object
...
Older IEs have issues with this for some reason.
2013-04-19 17:55:43 -07:00
Mike Jolley
85f98e48c7
Fix checkmark Closes #2951 .
2013-04-15 12:36:04 +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
36acab671f
Check typeof Closes #2811 .
2013-03-26 12:22:59 +00:00
Mike Jolley
c9b6b4a302
Refresh totals on field change, and format tax price if numeric.
2013-03-25 11:41:43 +00:00
Mike Jolley
789e917a7c
Backwards compat
2013-03-23 15:10:42 +00:00
James Koster
3ea5afbbc0
Revert "Don't allow decimals in .qty. closes #2773 "
...
This reverts commit 5e377c9f0f
.
2013-03-22 20:04:44 +00:00
James Koster
5e377c9f0f
Don't allow decimals in .qty. closes #2773
2013-03-22 20:03:07 +00:00
Mike Jolley
55b6a59e44
Check variation exists. Closes #2700 .
2013-03-18 14:03:39 +00:00
Mike Jolley
559ef34005
Tweaked default locale to include all fields so that checkout fields can fallback if specific properties are not set e.g. required. Closes #2681 .
2013-03-18 12:02:36 +00:00
Mike Jolley
bf8feefb6d
WC_START in checkout json requests to prevent notices breaking checkout.
2013-03-08 12:24:25 +00:00
Mike Jolley
089178e0e8
escape when output, not when saved. #2587
2013-03-05 21:20:00 +00:00
Mike Jolley
0c3cc15c21
Fix animation. Closes #2603 .
2013-03-05 19:14:10 +00:00
Mike Jolley
4018f8cab8
Min #2557
2013-03-01 21:04:26 +00:00
Jonathan Desrosiers
52f827a3cf
IE8 Fix - Review order was being deleted because there are two #order_review on the page. Better practice to never have two of the same IDs on the same page anyways.
2013-03-01 15:53:27 -05:00
Mike Jolley
d403f4d9bc
Split out fragment code into wc-cart-fragments Closes #2528
2013-02-26 12:15:12 +00:00
Mike Jolley
15e6b14b58
Focus Closes #2479 .
2013-02-20 18:20:28 +00:00
Mike Jolley
038eceffc8
Fix clear image reset
2013-02-19 11:03:23 +00:00
Mike Jolley
6bcb33f74a
Fix reviews Closes #2378 .
2013-02-11 15:37:26 +00:00
Mike Jolley
7a84ddd6c1
Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist
2013-02-10 23:02:52 +00:00
Mike Jolley
c903e47089
Improve variation form pattern and data
2013-02-07 10:12:08 +00:00
Mike Jolley
8742d83f72
Open payment box Closes #2357 .
2013-02-05 10:46:31 +00:00
Mike Jolley
fc84aacd14
Modify trigger. Closes #2324 , #2323
2013-02-01 15:04:10 +00:00
Mike Jolley
bbc8cea1aa
remove, don't hide, variation attributes
2013-02-01 11:49:29 +00:00
James Koster
ac70b46867
more prettyPhoto
2013-01-31 14:15:55 +00:00
Mike Jolley
3b4e7ac4f8
sessionStorage instead of localStorage
2013-01-29 17:05:25 +00:00
Mike Jolley
eb1469a2ab
min
2013-01-29 12:37:09 +00:00
Geert De Deckere
891d8f9bdb
Small optimisation for postcode/city field reordering
2013-01-28 14:28:32 +01:00
Mike Jolley
484f1e4192
Restore fields after postcode before city. Closes #2293 .
2013-01-28 12:28:27 +00:00
Mike Jolley
c21ca1a68c
fragment tweak
2013-01-28 12:02:21 +00:00
Mike Jolley
fdfa0d6efb
QTY Closes #2280 .
2013-01-28 11:42:03 +00:00
Mike Jolley
b211894d3c
Get cart from ajax or local storage to prevent cache
2013-01-28 10:59:24 +00:00