Commit Graph

856 Commits

Author SHA1 Message Date
Mike Jolley fc87619d4c Correct add order item ajax event 2013-11-25 16:26:07 +00:00
Mike Jolley 0fae180f24 Minify all the things 2013-11-25 16:03:43 +00:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Coen Jacobs f7df17db1c Order functions woocommerce to wc refactor 2013-11-25 14:54:52 +01:00
Gregory K 8539e81d79 "export" is a reserved word in JavaScript 2013-11-25 07:18:01 -05: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
James Koster 489bf34385 attributes table. closes #4118 2013-11-19 11:04:45 +00:00
Mike Jolley 3d01a288ec hook: 'data-rel', Closes #4115 2013-11-18 13:00:56 +00:00
Coen Jacobs f0adcb65b7 Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396' 2013-11-18 12:33:23 +01:00
Mike Jolley 645ca3e834 WC_Ajax class for ajax events 2013-11-14 12:13:34 +00:00
Mike Jolley ea05881af9 Conflicts 2013-11-12 17:46:22 +00:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
James Koster f50e741397 fix handledivs in meta boxes #4042 2013-11-12 17:01:13 +00:00
Mike Jolley 9a82aecaad Min 2013-11-08 17:03:59 +00:00
Mike Jolley ac6bb25a22 Merge pull request #4053 from helgatheviking/feature/variation-bulk-edit-trigger
Add a custom trigger handler based on the value of select#field_to_edit
2013-11-08 08:08:12 -08:00
Brent Shepherd 4a7f207eff Use new ID for add pay method form
Part of #3396
2013-11-05 15:36:00 -08:00
Kathy Darling a97e1a697d Add a custom trigger handler based on the value of select#field_to_edit 2013-11-03 18:50:24 +01:00
Scott Basgaard 5b4ef0b8bd Class name consistency for woocommerce_attributes > product_attributes. See #4019 2013-11-01 13:06:14 -04:00
Mike Jolley b4d1c764d5 Move average rating outside of hidden tab. Closes #3867. 2013-10-31 16:26:20 +00:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +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 423cedc425 Wordwrap 2013-10-25 14:42:05 +01:00
Mike Jolley 0d8d95e8e6 total calcs 2013-10-24 13:41:42 +01:00
Mike Jolley 51aba21d76 Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes 2013-10-24 13:15:42 +01:00
Scott Basgaard 90b503e2c6 Use minified quick-edit.js 2013-10-23 17:36:32 +02:00
Mike Jolley 8ce3b8dd57 Filters for shortcode tags 2013-10-23 14:55:18 +01:00
Mike Jolley cf6db831e4 Removed old pages 2013-10-23 09:47:36 +01:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Scott Basgaard db405fa0ff Don't be so generous with this jQuery selector. Fixes #3933 2013-10-17 12:25:14 +02:00
Mike Jolley 6646b7817b Styling and removed un-used script. #3897 2013-10-10 18:16:06 +01: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 718093650f Save fees 2013-10-02 12:58:26 +01:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00
Mike Jolley b892815336 Remove html5 number inputs (unreliable at present, locale issues), add JS validation for price inputs. New price input type in settings API to make future changes easier to implement. Closes #3587
@coenjacobs hows this look?
2013-09-27 20:28:42 +01: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 67b50e7eaa Sortable downloads #3812 2013-09-26 16:35:37 +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
Mike Jolley 270dd86e9f Merge pull request #3817 from franticpsyx/variations_js_form
Allow variations JS to be used on multiple products in the same form
2013-09-23 07:52:23 -07: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 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
James Koster 9fbf61073a pretty photo uses new icon font 2013-09-16 15:24:42 +01:00
Mike Jolley 5f7753b343 Checkout error hook
@coenjacobs useful for .15 IMO
2013-09-16 14:55:21 +01:00
Mike Jolley 9590a03e2f Fix tax rule detection. Closes #3698.
@coenjacobs .15
2013-09-13 16:34:41 +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 759e74c860 Safari doesn't support the 'download' attribute. At least get it to open. Closes #3754 2013-09-13 13:38:36 +01:00
Mike Jolley 3c8c620c5d Bulk/quick edit backorders Closes #3729 2013-09-06 11:17:41 +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 5e51ef1fce Refactor variation bulk edit JS Fixes #3148 2013-09-03 17:35:20 +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 d1b020b661 Add a script to add support for RTL when enabled to fix chosen. Fixes #3604
@coenjacobs maybe for .14?
2013-09-02 14:22:53 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley f2586d8d76 Fix bulk edit status Fixes #3614
@coenjacobs .14
2013-08-19 13:00:40 +01:00
Mike Jolley 2428c9f268 Expand when calculating totals 2013-08-16 17:00:49 +01:00
Mike Jolley a66472d148 Order panel improvements + save multiple shipping methods 2013-08-16 16:43:26 +01:00
Mike Jolley 7cd4e46846 Cleaner orders items, and show meta in text until editing.
@coenjacobs this commit has the urldecode fix. Will move it over to
master/.14 later
2013-08-15 16:49:09 +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
Mike Jolley 99f0e3ffd7 Merge pull request #3592 from LeGaS/master
Coupon slidedown animation clipping effect, fixes #3590
2013-08-06 03:47:01 -07:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01:00
Legradi Szabolcs 94f8baee1a Coupon slidedown animation clipping effect, fixes #3590 2013-08-06 10:36:28 +02:00
Mike Jolley 110d8c3026 BACS, Cheque, COD Closes #3172
Rather than merging them (they are all different) I've refactered code
and added multiple accounts in BACS which has had multiple requests.
2013-08-05 16:34:54 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 981575491d Review order columns Closes #2798. 2013-07-31 15:12:53 +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 12d705c9c4 Bulk and quick edit tax status/class. Closes #3530. 2013-07-30 14:43:45 +01:00
Mike Jolley 63433bbdd7 Check for undefined attributes. Closes #3487. 2013-07-30 13:57:42 +01:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +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 f295a5d568 Merge branch 'Charts/Reports' Closes #3281 2013-07-18 14:08:27 +01:00
Mike Jolley 8104048ddc Export reports to CSVs #3281 2013-07-18 12:56:12 +01:00
Mike Jolley 0a8be76453 killed code relating to dashboard sales 2013-07-18 09:23:21 +01:00
Mike Jolley feb8d759a8 Only refresh fragment when cart cookie > 0 2013-07-10 17:07:25 +01:00
Mike Jolley 1c1d60b375 Customer reports 2013-07-09 15:31:22 +01:00
Mike Jolley 400fd1538b input instead of :checkbox Closes #3408. 2013-06-28 11:22:12 +01:00
Mike Jolley 72bb335662 by category 2013-06-27 21:34:18 +01:00
Mike Jolley 6f5200de1b By cat 2013-06-27 18:39:55 +01:00
Mike Jolley dcee729de4 class based reports - top sellers and earners, added cache based on query hash 2013-06-26 15:11:33 +01:00
Mike Jolley d30f6b55f2 Reports + sparklines 2013-06-25 14:59:20 +01:00
Mike Jolley d7cfe05daf More charts work 2013-06-24 17:47:28 +01:00
Neil Pie 687e1fb06a Update add-to-cart-variation.js 2013-06-22 14:00:37 +02:00
Mike Jolley 111011e8a6 flot min 2013-06-22 11:44:18 +01:00
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
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Mike Jolley dd1b73a6f2 Chosen update Closes #2129. 2013-01-03 10:33:08 +00:00
James Koster 1622b7b2b7 consistent title on rating 2013-01-02 12:06:15 +00:00
Mike Jolley 8c9966145b Removed some unused code, removed order tracking from installer. #1765 2012-12-30 15:51:37 +00:00
Mike Jolley 53aee3c446 Fix for commit 5507e8453f 2012-12-28 17:33:05 +00:00
Mike Jolley 5507e8453f Remove depricated jQuery Closes #2039 2012-12-28 13:02:12 +00:00
Mike Jolley 68cd69f7d3 unused 2012-12-20 11:38:02 +00:00
Mike Jolley fe92fb6a96 Work on media uploader 2012-12-18 21:56:01 +00:00
Mike Jolley f663a71550 Media upload (started) 2012-12-18 12:04:33 +00:00
Mike Jolley 2dc706095b Improve bulk actions and fix after save attributes. 2012-12-18 07:23:13 +00:00
Mike Jolley 01ff7b1083 Fix save attributes for custom attributes. Closes #2002. 2012-12-18 07:08:16 +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 2da3146ed9 remove debug 2012-12-13 01:27:34 +00:00
Mike Jolley 0f0512c8fd rounding filters. Closes #1964. 2012-12-13 01:23:35 +00:00
Mike Jolley 7976ae8a66 Order data/fixed keys. Closes #1981. 2012-12-13 00:47:40 +00:00
Mike Jolley 988269534a removed refunds 2012-12-12 18:03:46 +00:00
James Koster 6e2b7067a2 Revert "fade the view cart link in"
This reverts commit ffb4b207d4.
2012-12-11 18:15:57 +00:00
James Koster d37435eaea Revert "still need the added class!"
This reverts commit f0641a5c05.
2012-12-11 18:15:38 +00:00
James Koster f0641a5c05 still need the added class! 2012-12-11 18:10:00 +00:00
James Koster ffb4b207d4 fade the view cart link in 2012-12-11 18:05:08 +00:00
James Koster cf8f381bd8 added title to added_to_cart anchor 2012-12-11 17:29:58 +00:00
Coen Jacobs 084a247a20 Backend views for refunds #1755 2012-12-11 14:56:30 +01: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
Mike Jolley 1828db4e7f show hide panels. Closes #1942. 2012-12-07 10:51:06 +00:00
Mike Jolley a9d5df1c13 min 2012-12-06 15:44:22 +00:00
Mike Jolley ede8fca597 Merge pull request #1937 from KingYes/master
Fxing step return "NaN" in quantity.
2012-12-06 07:43:48 -08:00
Yakir Sitbon 998fa3b8d0 Fxing step return "NaN" in quantity. 2012-12-06 17:19:48 +02:00
Mike Jolley 753fc7c39e Use core jquery ui. Closes #1929. 2012-12-06 14:56:19 +00:00
Mike Jolley a6a685fd6e JS tweak. Closes #1918. 2012-12-05 15:05:50 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 7d580cf3a6 default to text. Closes #1838. 2012-11-27 10:37:28 +00:00
Matt 8243974004 Add address to customer session. Closes #1836 2012-11-26 20:56:48 -05:00
Mike Jolley b0fa6d4481 Save attributs via ajax and refresh variations. Closes #1804. 2012-11-26 17:27:55 +00:00
Mike Jolley 93fdca8530 Fix those darn categoies. Closes #1800. 2012-11-22 13:46:05 +00:00
Mike Jolley 7d960e0c9d HTML5 validation for product data. #1322 2012-11-20 14:16:13 +00:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley 2d0909d28b Update weights/dimensions for variations if they differ. Closes #1629. 2012-11-16 13:50:15 +00:00
Mike Jolley 8986da2ec2 This is fixed in iO6, so just show an alert when nothing matches. Closes #1737. 2012-11-14 15:38:56 +00:00
Mike Jolley d3068c2bef Min/max date fix. Closes #1728. 2012-11-13 23:58:32 +00:00
Coen Jacobs 3da5ccdafe Merged 'refunds' into 'fees-and-shipping'. Closes #1746 2012-11-13 16:03:42 +01:00
Mike Jolley 32c474ef42 Also update order tax 2012-11-13 14:59:28 +00:00
Mike Jolley 7e5d2ac174 Calc totals/tax rows rework 2012-11-13 14:54:34 +00:00
Coen Jacobs 9c5c033fcf Refunds: Function logic and AJAX implementation 2012-11-13 14:26:30 +01:00
Mike Jolley c2e1258d04 Work on calc_tax 2012-11-12 18:53:40 +00:00
Mike Jolley 6ecef0139c Calc totals for fees. 2012-11-12 14:34:10 +00:00
Mike Jolley a1ad595822 Add fees 2012-11-12 13:41:54 +00:00
Mike Jolley 1db8c6158f checkboxes 2012-11-12 12:30:37 +00:00
Mike Jolley 877e6eb8c7 Bulk stock increase and decrease. 2012-11-12 12:22:35 +00:00
Mike Jolley fb2d954da1 Placeholders for bulk functions 2012-11-10 16:25:50 +00:00
Mike Jolley ca6a204b21 Bulk 2012-11-10 16:25:18 +00:00
Mike Jolley 1534ca50ff bulk delete 2012-11-10 16:18:20 +00:00
Mike Jolley d8bbded60d Tweak JS. Closes #1705. 2012-11-08 11:39:04 +00:00
Mike Jolley 68bc00c4b9 do ready. #1705 2012-11-08 10:36:00 +00:00
Mike Jolley 9971da5f86 Fix for #1707. 2012-11-07 21:23:45 +00:00
Mike Jolley cf54452e8e Don't attach downlodas. Closes #1664. 2012-11-06 14:13:06 +00:00
Mike Jolley 21e9252405 Country text instead of dropdown. Closes #1658 2012-11-06 12:43:17 +00:00
Mike Jolley c97aeaf533 use wp api for meta, and done the checkout 2012-10-19 18:59:17 +01:00
Mike Jolley 48da8e2e56 Add and remove order items 2012-10-19 15:05:23 +01:00
Mike Jolley a11804a61f add/remove/save meta 2012-10-18 18:56:28 +01:00
Mike Jolley 98b21a4a44 Split up scripts. #1575. 2012-10-17 14:32:31 +01:00
Mike Jolley 243de32c23 Only replace content if response has content. Closes #1606. 2012-10-17 12:43:59 +01:00
Mike Jolley c1c5cd6890 Prevent double form submission. Closes #1609. 2012-10-17 12:21:50 +01:00
Coen Jacobs 98e9774653 Merge pull request #1597 from woothemes/resend-order-emails
Resend order emails, closes #1562
2012-10-12 06:56:49 -07:00
Coen Jacobs eb90b0ed10 Allow multiple select and actually send the resend order emails 2012-10-12 15:33:46 +02:00
Mike Jolley 39b7567b0c product_variations[] Closes #1581. 2012-10-12 14:21:21 +01:00
Mike Jolley 48079a8fc6 more tweaks 2012-10-12 12:56:03 +01:00
Mike Jolley d66aeaa262 Sales graph tweak 2012-10-12 12:56:03 +01:00
Coen Jacobs b581b5e062 UI for resending order emails from the Order Actions meta box 2012-10-10 19:03:49 +02:00
Mike Jolley 6e10465faf Bulk improvements. Closes #1063. 2012-10-09 10:07:30 +01:00
Mike Jolley 79324412d4 sku tweak. Closes #1479. 2012-10-08 13:54:31 +01:00
Mike Jolley bf1d80151d Merge pull request #1574 from thenbrent/master
Only slide payment box up-and-down if > 1 method
2012-10-08 05:36:16 -07:00
Mike Jolley 2d15a8aaac Schedule sale for variations. #1064. 2012-10-08 12:51:00 +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 ead3e8313e Final image handling tweaks. 2012-10-05 19:02:02 +01:00
Mike Jolley b88c6e62f7 Load sessions before customer class. Closes #1545. 2012-09-30 20:11:32 +01:00
Mike Jolley 544b9a1874 readme and min 2012-09-29 20:32:22 +01:00
Mike Jolley 93849b89e7 Merge pull request #1530 from scottbasgaard/master
Update Product Image Title w/ Variation Image for Lightbox
2012-09-29 12:16:11 -07:00
Mike Jolley 1b8e887f39 Fix updating when typing. Closes #1540. 2012-09-29 19:43:45 +01:00
Scott Basgaard f5999c270b Update Product Image Title w/ Variation Image for Lightbox 2012-09-25 14:22:22 +02:00
Mike Jolley cb2b935788 Tax expansion to allow city taxes, #94 2012-09-23 17:16:39 +01:00
Mike Jolley 22ff25efb1 Show totals. Closes #1473. 2012-09-20 14:43:52 +01:00
Mike Jolley aaeb0ec0fb Calc totals. Closes #883. 2012-09-18 19:07:18 +01:00
Mike Jolley bcb6e0b2a3 Localized shortcode button. Closes #1459. 2012-09-10 17:56:29 +01:00
Mike Jolley 4c4bc9f5d2 Multi download features, and added the expirey back. 2012-09-06 16:16:16 +01:00
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 53c5fbee40 Fix - Variation sku updating after selection. 2012-09-05 16:57:19 +01:00
Mike Jolley e19505c6ab checkout loading tweak 2012-09-03 16:45:09 +01:00
Mike Jolley 4ea207c249 Revised stats by category 2012-08-31 14:11:34 +01:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Mike Jolley 431316dfd3 small variable naming tweak 2012-08-25 16:00:40 +01:00
Mike Jolley 3eeae3a164 Hide cart button when a variation is out of stock with disabled backorders. Closes #1419. 2012-08-25 11:02:02 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley c42814bbc6 Added fallback for variations variable (JS) 2012-08-25 10:11:23 +01:00
Mike Jolley 5ab84b2b98 Pass variation to show_variation trigger (JS). Closes #1431. 2012-08-25 09:51:20 +01:00
Mike Jolley e7c5542762 javascript tweak for #1416 2012-08-24 21:46:32 +01:00
Mike Jolley 50b62fe4d4 tweak to add to cart logic 2012-08-24 18:44:11 +01:00
Mike Jolley 7a14daebea min 2012-08-23 10:57:09 +01:00
Dominic 601852df87 Renamed variable, avoid window.name collision
Using a variable called `name` causes the global `window.name` to be reset. Simply renaming the variable prevents this.
2012-08-22 23:11:30 -07:00
Mike Jolley 822a03529b min 2012-08-22 16:36:08 +01:00
Manos Psychogyiopoulos bf59c718c0 Fix annoying sliding effect on option change. 2012-08-22 09:51:19 +03:00
Mike Jolley 40cc7b997d Scope. Closes #1364. 2012-08-21 16:41:18 +01:00
James Koster 8c93b41605 Product data tabs class name 2012-08-15 19:28:13 +01:00
Mike Jolley 7d47de830b Copy billing to shipping address on order screen. #1269. 2012-08-10 12:31:18 +01:00
Mike Jolley 377ddce930 Demo store notice option 2012-08-10 10:35:25 +01:00
Mike Jolley 6cd409b7a4 Fixes for #1347. 2012-08-08 11:53:36 +01:00
Mike Jolley 56e8689c5d Merge pull request #1347 from scottbasgaard/master
Update Variation Image Title/Alt
2012-08-08 03:44:49 -07:00
Scott Basgaard 713f6fa6f5 Update Variation Image Title/Alt
We should update the image title/alt when the product image changes for different variations.
2012-08-07 10:37:00 +02:00
Mike Jolley d16fd5acb0 ajax filter for orders page 2012-08-01 13:43:50 +01:00
Mike Jolley dbc8279dbd ajax customer select 2012-08-01 13:43:50 +01:00
Mike Jolley 417fd73ab1 undefined check. Closes #1294. 2012-07-26 15:43:47 +01:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Mike Jolley 59d2d792f6 Product data panels 2012-07-22 13:50:45 +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
Mike Jolley 638b04b0ad variation image optimisations 2012-07-11 23:56:57 +01:00
Mike Jolley d9e8568e85 stop() 2012-07-11 17:25:16 +01:00
Mike Jolley f15c4baef7 Stop the animation. Closes #1226. 2012-07-11 16:45:19 +01:00
Mike Jolley 69565d6e87 Load address sets country. Closes #1238. 2012-07-11 16:22:18 +01:00
Mike Jolley c687c214e7 Fix multi item add. Closes #1233. 2012-07-10 17:51:37 +01:00
Mike Jolley c37525383b tweak the checkout update js 2012-06-28 12:52:58 +01:00
Mike Jolley c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Mike Jolley 0d42e21aa7 minify 2012-06-14 12:13:55 +01:00
Geert De Deckere 3a5e2f7f8a Fix metabox collapsing 2012-06-14 11:36:39 +02:00
Mike Jolley 9a969237a1 min js 2012-06-11 16:32:02 +01:00
Geert De Deckere 376676e9c0 Use translated months in the report graph of the dashboard widget 2012-06-11 11:11:19 +02:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley 9031d15756 Prevent NaN Closes #1104. 2012-06-10 09:08:11 +01:00
Mike Jolley 91e0ade791 Can't control output, but can only allow 1 to be selected. Closes #1042. 2012-06-10 09:03:20 +01:00
Mike Jolley 439d21e395 Prevent double add to cart with related products 2012-06-05 00:53:04 +01:00
Mike Jolley 66acc8dcfc Fix cancel. Closes #1054. 2012-05-26 17:42:26 +01:00
Mike Jolley 7bcb3deb62 small markup tweaks 2012-05-26 15:18:44 +01:00
Mike Jolley ba1377933f removed alert 2012-05-17 13:57:51 +01:00
Mike Jolley a00ae6adf2 div prefix. Closes #1034. 2012-05-16 18:38:28 +01:00
Mike Jolley 26a8af2440 radio shipping methods 2012-05-13 21:02:07 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley e5f93e448b focusin for IE Closes #866. 2012-05-08 16:41:16 +01:00
Mike Jolley ce7e765d2a Product data tweak. Closes #1012.
Removed shipping class writepanel.
Added shipping class to product data.
Removed purchase note for external products.
2012-05-08 15:32:30 +01:00
Mike Jolley 6008920a0f Use css for tinymce button. Closes #985. 2012-04-25 18:14:06 +01:00
Mike Jolley 46653cf957 reset image. Closes #935. 2012-04-16 18:34:58 +01:00
Mike Jolley 297d9a0be1 Payment method transition 2012-04-16 14:14:24 +01:00
Mike Jolley 7a96a9293c Merge pull request #929 from thenbrent/paybox-js-patch
Checkout Payment Box JS Tweak
2012-04-16 06:09:18 -07:00
Mike Jolley 96f6301edf qty input default values 2012-04-16 10:34:36 +01:00
Brent Shepherd a5ad4c1ef4 Sliding currently selected payment box up instead of instantly hiding it. 2012-04-16 11:18:00 +10:00
Mike Jolley c227540a5b data-min fix 2012-04-12 22:25:10 +01:00
Mike Jolley ccc82590eb moved initial change event trigger 2012-04-11 21:07:57 +01:00
Coen Jacobs 9a1c35f125 Added product_categories shortcode to WooCommerce editor button 2012-04-11 14:36:19 +02:00
Mike Jolley e7c23d832b Fix sortables. Closes #898. 2012-04-10 19:06:12 +01:00
Mike Jolley 85c42f00ed trigger change @0868553652423db6712cbf283aea639095da642a 2012-04-10 18:17:36 +01:00
Mike Jolley 96ebb1f9f4 Fix for last commit 2012-04-10 13:14:31 +01:00
Mike Jolley ee574e1ef8 Changed the filters for checkout field locales - lets you override the base country labels 2012-04-10 13:07:23 +01:00