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