Commit Graph

122 Commits

Author SHA1 Message Date
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