Commit Graph

152 Commits

Author SHA1 Message Date
Mike Jolley c6cd7e4017 Sliding payment boxes tweaks Closes #4538 2014-01-20 15:18:47 +00:00
splashingpixels 74f0d1c4c6 fixes shipping total not updating when select method is used on checkout page 2014-01-15 21:22:43 -08:00
Mike Jolley 7ddd4d012a Move localisation to address-i18n.js for account page. Closes #4446 2014-01-08 14:38:20 +00: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 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 5f7753b343 Checkout error hook
@coenjacobs useful for .15 IMO
2013-09-16 14:55:21 +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
Legradi Szabolcs 94f8baee1a Coupon slidedown animation clipping effect, fixes #3590 2013-08-06 10:36:28 +02:00
Mike Jolley 19674a3d15 Allow autofill and use 'input' event to detect changes. Closes #3503 2013-07-21 10:38:22 +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 4f0320fdb2 Refactor frontend scripts #3165 2013-06-11 13:31:41 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +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 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 0c3cc15c21 Fix animation. Closes #2603. 2013-03-05 19:14:10 +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 15e6b14b58 Focus Closes #2479. 2013-02-20 18:20:28 +00:00
Mike Jolley 8742d83f72 Open payment box Closes #2357. 2013-02-05 10:46:31 +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 34966373ad When editing checkout fields, only refresh totals if required address fields are filled. 2013-01-20 15:36:25 +00:00
Mike Jolley 2dd5abd416 Fix pay form Closes #2225 2013-01-14 16:53:55 +00:00
Mike Jolley 1ef704140e Changing this was a mistake; files were out of date. 2013-01-07 14:18:17 +00:00
Mike Jolley b2f5cee7cb Classes were changed. Closes #2160. 2013-01-07 13:19:02 +00:00
Mike Jolley 454be82469 Tab index issue Closes #2163. 2013-01-07 13:07:01 +00:00
Mike Jolley b6387a152e New checkout field layout Closes #2120. 2013-01-03 12:37:07 +00:00
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Mike Jolley 5507e8453f Remove depricated jQuery Closes #2039 2012-12-28 13:02:12 +00:00
Mike Jolley e807cb2f2e Puttin' the code back 2012-12-13 16:59:33 +00:00
James Koster f5552e0b5e retina'd frontend ajax loader 2012-12-13 15:53:36 +00:00
Mike Jolley dda8b8afbe JSON tweak from 1.6 2012-12-13 14:57:31 +00:00
Mike Jolley 110bc854e0 Some validation. Closes #1949. 2012-12-10 14:50:49 +00:00
Mike Jolley f43cb2be6d duh #1954 2012-12-10 13:12:18 +00:00
Mike Jolley c394119983 Ajax view cart. Closes #1948. 2012-12-10 13:11:05 +00:00
Mike Jolley 2f04ea576d Checkout form JS. Closes #1954. 2012-12-10 11:06:14 +00:00
Matt 8243974004 Add address to customer session. Closes #1836 2012-11-26 20:56:48 -05:00
Mike Jolley 9971da5f86 Fix for #1707. 2012-11-07 21:23:45 +00:00
Mike Jolley 21e9252405 Country text instead of dropdown. Closes #1658 2012-11-06 12:43:17 +00:00
Mike Jolley 243de32c23 Only replace content if response has content. Closes #1606. 2012-10-17 12:43:59 +01:00
Brent Shepherd b4cf878f40 Only slide payment box up-and-down if > 1 method 2012-10-08 12:01:43 +10:00
Mike Jolley b88c6e62f7 Load sessions before customer class. Closes #1545. 2012-09-30 20:11:32 +01:00
Mike Jolley 1b8e887f39 Fix updating when typing. Closes #1540. 2012-09-29 19:43:45 +01:00
Mike Jolley cb2b935788 Tax expansion to allow city taxes, #94 2012-09-23 17:16:39 +01:00
Mike Jolley e19505c6ab checkout loading tweak 2012-09-03 16:45:09 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 37b0dec37a Event handling for checkout fields 2012-07-20 13:46:05 +01:00
Mike Jolley 30b8ddaf1d Split up frontend scripts so they can be loaded when needed. 2012-07-17 15:09:18 +01:00