Commit Graph

512 Commits

Author SHA1 Message Date
Mike Jolley 0e29b31fcb Work on charts/reports 2013-06-22 11:37:59 +01: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
James Koster 7377d9d805 back to black 2013-06-07 15:48:03 +01:00
James Koster 1dcb19cf17 reduced padding to avoid annoying vertical scroll 2013-06-07 15:25:30 +01:00
Mike Jolley 71c57ecfd7 Extra trigger for slider 2013-06-06 12:30:55 +01:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley b67232b7f3 Update chosen Closes #3258. 2013-05-31 18:10:00 +01:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Mike Jolley 559d7b9759 Updated blockui to prevent errors in WP 3.6.
@coenjacobs this needs to go in .11
2013-05-28 17:02:18 +01:00
Mike Jolley 8fbd2da48d Separate out accounting.js and format dashboard sales currency. Closes #3151. 2013-05-28 15:27:26 +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
Mike Jolley 7cd82b18dc Merge pull request #2997 from dominic-p/master
Remove comma after last item in object
2013-04-23 04:06:12 -07: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
Justin Stern 7e982352f3 Order Items List Quantity Change Javascript event
Adds an event named 'quantity_changed', fired when the order items
quantity is changed
2013-04-18 16:05:53 -04:00
Mike Jolley 1de718099b readme and minify 2013-04-16 13:49:49 +01:00
Mike Jolley b40cf953f3 Merge pull request #2968 from piffpaffpuff/master
use base_country for tax calculations in manually created orders
2013-04-16 05:48:59 -07:00
Mike Jolley d73e3fedb9 Fix path insert bug. Closes #2947. 2013-04-15 14:55:00 +01:00
Mike Jolley 85f98e48c7 Fix checkmark Closes #2951. 2013-04-15 12:36:04 +01:00
Triggvy Gunderson 53c13f721b base_country js param for order tax calculation
added  woocommerce_writepanel_params.base_country to fix tax
calculation when an order is created manually. if you click the button
calc taxes the js uses base_country to calc when no billing/shipping
country is selected. just like the the message says: "If no
billing/shipping is set it will use the store base country".
2013-04-14 22:59:18 +02: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 bb1c532218 filename, break query string off 2013-03-28 12:31:48 +00:00
David Decker d39f011880 Fix hardcoded 'Pages' string in visual editor button, patch for Issue #2835 2013-03-27 23:12:10 +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
James Koster 0e639c47fb Disabled keyboard shortcuts in prettyPhoto. Closes #2770
Not happy with this. The keyboard_shortcuts paramater doesn't seem to
work so had to disable in core which hits all instances of prettyPhoto.
Will revisit.
2013-03-22 00:24:00 +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 946ecaaae2 Tweak - Filters for attribute default values. 2013-03-15 19:33:42 +00:00
James Koster 6d0cfda473 disabled prettyphoto deeplinking. closes #2697 2013-03-15 15:17:25 +00:00
Mike Jolley bf8feefb6d WC_START in checkout json requests to prevent notices breaking checkout. 2013-03-08 12:24:25 +00:00
James Koster 3c1ad56bcd Re-applied image setting tooltips 2013-03-07 12:49:51 +00:00
Mike Jolley 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Mike Jolley 8936ad0c9b Update chosen, closes #2594 2013-03-05 19:17:53 +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
Coen Jacobs 0770515825 show_classes var didn't contain show_if_external. Closes #2542 2013-02-28 16:44:27 +01:00
Mike Jolley 505f9f0b43 Stock increase/descrease alerts Closes #2536. 2013-02-27 12:50:02 +00:00
Mike Jolley 80b4ef14c9 Slugs are unreliable, and support show_if hide_if for all product types 2013-02-26 15:14:49 +00:00
Mike Jolley 890640afca Remove, don't hide. Closes #2532. 2013-02-26 14:36:18 +00:00
Mike Jolley d403f4d9bc Split out fragment code into wc-cart-fragments Closes #2528 2013-02-26 12:15:12 +00:00
Mike Jolley 625b1cf72e Fix JS calc totals Closes #2525. 2013-02-25 11:39:15 +00:00
Mike Jolley 15e6b14b58 Focus Closes #2479. 2013-02-20 18:20:28 +00:00
Mike Jolley 012a62cf3a change order #2471 2013-02-19 18:11:18 +00:00
Mike Jolley 820371a502 Switch out commas before calculation. Closes #2471. 2013-02-19 17:16:19 +00:00
Mike Jolley 038eceffc8 Fix clear image reset 2013-02-19 11:03:23 +00:00
Mike Jolley 858465b991 Fix lightbox Closes #2451. 2013-02-14 17:12:21 +00:00
Neil Pie 4f8ace7120 Fixes Order Total bug 2013-02-14 11:26:36 +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 f7dd3eea65 Strings. Closes #2385. 2013-02-08 15:11:10 +00:00
James Koster d733b12f4a prettyPhoto padding fix 2013-02-07 13:37:55 +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
James Koster ba2e9a5131 prettyphoto styling 2013-02-04 14:36:23 +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
James Koster cf00520b4c step 1 of replacing Fancybox with prettyPhoto 2013-01-30 16:18:36 +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 c51613910b Fix bulk edit. Closes #2283. 2013-01-28 11:18:14 +00:00
Mike Jolley 79eec982d1 Merge pull request #2298 from sbrajesh/master
Allow reusing virtual/downlodable option
2013-01-28 03:01:28 -08:00
Mike Jolley b211894d3c Get cart from ajax or local storage to prevent cache 2013-01-28 10:59:24 +00:00
Mike Jolley 10c8e8d501 Merge pull request #2282 from thenbrent/js_fixes
Fix delete tax row for dynamically inserted tax rows
2013-01-27 11:02:41 -08:00
Mike Jolley 0c523d30b1 @coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster. 2013-01-27 18:55:30 +00:00
Brajesh Singh 410a9d1813 Fix the write-panel.js to show_hide any panel depending on product type 2013-01-27 07:11:38 +05:30
Brent Shepherd ca6b96e96d Declare var & add missing semicolon 2013-01-25 13:26:16 +10:00
Brent Shepherd 1a9ca48422 Use delegated event handler to delete tax rows
When a tax row is dynamically inserted, it can not be dynamically
deleted until the page is refreshed (becasue the event handler is
bound to only on page load). This commit delegates the event handler
from an element which is guaranteed to exist on page load, so that
dynamically inserted tax rows can also be dynamically deleted.
2013-01-25 13:22:44 +10:00
Mike Jolley 1cb13fe740 more json fixes #2268 2013-01-22 16:48:28 +00:00
Mike Jolley a3e5748369 Add to cart json #2268 2013-01-22 16:33:33 +00:00
Mike Jolley a0b0ecc9a0 Merge pull request #2268 from efarem/master
Fix JSON customer details call
2013-01-22 08:17:50 -08:00
Frank Martin 81ed3f4ec9 Fix ajax customer details in admin 2013-01-22 14:35:10 +00:00
Mike Jolley 9e72c6a879 Pevent error if no fragments are returned 2013-01-22 14:30:21 +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 128b333578 Fix checkout field visibility after switching country 2013-01-20 13:10:36 +00:00
Mike Jolley 2dd5abd416 Fix pay form Closes #2225 2013-01-14 16:53:55 +00:00
Mike Jolley d002632ea6 ui datepicker. Closes #2223. 2013-01-14 10:57:15 +00:00
James Koster 32f7e09401 Open review form lightbox if accessed via anchor 2013-01-08 14:58:51 +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
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Mike Jolley b6387a152e New checkout field layout Closes #2120. 2013-01-03 12:37:07 +00:00