Commit Graph

4138 Commits

Author SHA1 Message Date
Scott Basgaard a85201ae2c Don't forget to round with woocommerce_price_num_decimals option 2013-10-25 15:25:58 +02:00
Scott Basgaard a3a1753c00 Round product % price inc/dec in bulk edit. Resolves #4001 2013-10-25 15:19:03 +02:00
Mike Jolley e50067d68e Merge branch 'tax-precision' 2013-10-25 12:15:48 +01:00
RistoNiinemets ae00faecdd change ucwords to ucfirst 2013-10-25 13:53:53 +03:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley af6996866e Rounded report 2013-10-24 19:22:22 +01:00
Mike Jolley 92fa4e379b round tax reports 2013-10-24 16:19:28 +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 c93a11cff2 In System Status -> Templates make sure to look for template overrides in parent theme as well. 2013-10-24 14:05:13 +02:00
Mike Jolley 90ba359ef9 Uninstall option Closes #3968. Change option for #3992 2013-10-23 17:21:03 +01:00
Mike Jolley 56714e1d62 Merge pull request #3992 from scottbasgaard/master
Add template debug mode option. First pass at #3941
2013-10-23 08:58:30 -07:00
Scott Basgaard 9c9bfe1f4c Add template debug mode option. First pass at #3941 2013-10-23 17:52:58 +02: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 22eaf33bfe Filter links + woocommerce_enable_admin_help_tab 2013-10-22 18:20:33 +01:00
Mike Jolley 05d9c0e045 Rename menus, removed woocommerce_ 2013-10-22 17:26:18 +01:00
Mike Jolley 1813c1d6d6 woocommerce_attributes > product_attributes 2013-10-22 16:46:59 +01:00
Mike Jolley ff928714a2 Keep leading zeros. Closes #3930 2013-10-22 16:28:44 +01:00
Kathy Darling cc50c0f3ef cast $tabs['class'] as array 2013-10-21 22:13:52 +02:00
Mike Jolley 6eff61481f Pass index to woocommerce_save_product_variation 2013-10-21 12:37:27 +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 380faf0f21 More PHP notice/warnings data validation
Fixes PHP Notice: Undefined offset: X
2013-10-14 21:57:56 +02:00
Scott Basgaard 714cd36428 Make sure grouped term exists before using it as an object.
Fixes Trying to get property of non-object in… PHP notice.
2013-10-14 21:47:32 +02:00
Mike Jolley dc6574b9e9 Clean the SKU, prevents variations breaking when " was saved
@coenjacobs / me for .15
2013-10-14 11:15:44 +01:00
Mike Jolley 4a2988ad35 Usage limit "per coupon". #3902 2013-10-11 13:54:53 +01:00
Mike Jolley 708423b96f Notices/undefined vars Closes #3911. 2013-10-11 12:31:36 +01:00
Mike Jolley b0f3c0336a Merge pull request #3905 from tivnet/master
Allow numeric SKUs when searching in admin
2013-10-10 10:16:46 -07:00
Mike Jolley 6646b7817b Styling and removed un-used script. #3897 2013-10-10 18:16:06 +01:00
Gregory K 02196b6c18 Allow numeric SKUs when searching in admin 2013-10-10 11:56:39 -04:00
Patrick Rauland 99fb5315eb adding system status report copy text area 2013-10-08 01:02:33 +02:00
Patrick Rauland f70ac9ce5a adding copy report button 2013-10-06 00:22:55 +02:00
Mike Jolley a490f62179 Use correct label for tax classes. Closes #3885. 2013-10-04 16:21:06 +02:00
Mike Jolley f81203fc76 Fix tax rate saving #3884 2013-10-04 16:17:18 +02:00
Mike Jolley 4204b25879 Remove accents from taxonomy names + run through filter Closes #3832 2013-10-04 16:10:49 +02:00
Mike Jolley cabddc4e9f Maintain line breaks. Closes #3882 2013-10-04 14:31:43 +02:00
Mike Jolley 66c04b0f72 Check values are set before casting as floats 2013-10-02 12:50:03 +01:00
Gregory K b923eef097 Allow entering sale price as blank string and not convert it to numeric '0' - to avoid "fake" sales events. 2013-10-01 23:21:12 -04:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00
Gregory K c577e75a6b class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT) 2013-10-01 08:13:14 -04:00
Mike Jolley c20a44c423 Coupon usage limits per user (using email + ID). Closes #3314 2013-10-01 11:48:27 +01:00
Mike Jolley 79942691ec Init no longer needed - settings API refreshes settings Closes #3858 2013-10-01 10:12:16 +01:00
Mike Jolley 4798cb8e27 bump_request_timeout closes #3857 2013-10-01 10:12:16 +01:00
Mike Jolley 49656cb250 Notice fix Closes #3859. 2013-10-01 10:12:15 +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 9dcb70feba Increment later. Closes #3811.
@coenjacobs .15
2013-09-27 15:29:02 +01:00
Mike Jolley e3680ef670 Strict standards closes #3842 2013-09-26 16:39:10 +01:00
Mike Jolley 67b50e7eaa Sortable downloads #3812 2013-09-26 16:35:37 +01:00
Mike Jolley 85f11c682e Fix upload dir #3812 2013-09-26 16:16:05 +01:00
Manos Psychogyiopoulos 37b6f98aa0 Display extension template overrides in status reports 2013-09-26 12:02:38 +03: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 b5a798c9af Fix variation saving and notices 2013-09-24 16:21:12 +01:00
Mike Jolley 51ee4ee2d8 Allow access to admin-post Closes #3814 2013-09-24 15:21:40 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley 31c34f6552 Wrong checked var 2013-09-24 10:06:41 +01:00
Mike Jolley 7fb49c4b68 Round price adjustments. Closes #3797. 2013-09-23 16:22:25 +01:00
Mike Jolley ef1d565f55 standard should be blank. Closes #3799.
@coenjacobs .15
2013-09-23 16:16:33 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01: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
Mike Jolley b93df4e706 Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506. 2013-09-19 16:31:54 +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 9f323af118 Fix paging total closes #3774 2013-09-13 12:28:20 +01:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Mike Jolley b6e7eeb241 Support no default and make the gateway/shipping tables more streamlined. Closes #3472 2013-09-09 17:16:02 +01:00
Coen Jacobs c04ce23716 Revert "View logs from System Status"
This reverts commit e70cf686f5.
2013-09-09 13:20:22 +02:00
Andrew Benbow e70cf686f5 View logs from System Status 2013-09-08 21:06:23 +01:00
Andrew Benbow 7012c9e4fd Update html-admin-page-status-report.php
Add update notification if theme is a WooTheme
2013-09-08 03:26:26 +01:00
Mike Jolley 3c8c620c5d Bulk/quick edit backorders Closes #3729 2013-09-06 11:17:41 +01:00
Mike Jolley 4cf8e9ebde Remove echo 2013-09-04 18:13:09 +01:00
Mike Jolley 5e51ef1fce Refactor variation bulk edit JS Fixes #3148 2013-09-03 17:35:20 +01:00
Coen Jacobs 6c3cd27be7 Allow false values to hide desc_tip. Closes #3691 2013-09-03 17:22:59 +02:00
Mike Jolley 9472646609 Customisable query vars. #3708 2013-09-03 16:14:56 +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
Coen Jacobs 9ba80fb34b Check for strlen to allow 0 values in attributes. Closes #3675
Conflicts:
	admin/post-types/writepanels/writepanel-product_data.php
2013-08-26 12:24:25 +02:00
Mike Jolley 64d87cbef7 Make logout an endpoint. Still hide it from menus. Fixes #3589
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley 27053e1abd escaping 2013-08-22 17:20:28 +01:00
Mike Jolley 6902aa852c Fix fatal error when sending order mail 2013-08-22 12:25:32 +01:00
Mike Jolley 126068de8c Moved options around for checkout settings. 2013-08-22 12:11:19 +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 5f2e489944 simpler woocommerce_get_product_schema function.
Closes #3297.
2013-08-20 13:52:06 +01:00
Mike Jolley 40a1cb446e Tweak label Closes #3515 2013-08-20 12:57:43 +01:00
Mike Jolley 3aac277d52 Add shipping fields to search Closes #3603 2013-08-19 13:37:38 +01:00
Mike Jolley 03e3e6e9ca Load thumbnails Fixes #3581
@coenjacobs this needs applying to .14
2013-08-17 02:01:54 +01:00
Mike Jolley 061283f675 Hookable default checkbox status Closes #3595 2013-08-17 01:55:05 +01:00
Mike Jolley df52bfd0ad #3630. Closes #3425. 2013-08-17 01:19:56 +01:00
Mike Jolley 66ba2c83ed Merge pull request #3637 from thenbrent/master
Add default timezone section to System Status
2013-08-16 09:25:50 -07:00
Mike Jolley 49aaa9a773 Merge pull request #3643 from sjeden/patch-1
Remove need for min-width:150px; in shipping setting admin panel.
2013-08-16 09:24:58 -07:00
Coen Jacobs 5ebc15cafb Merge branch 'Dynamic-total-rows'
Conflicts:
	assets/css/admin.css
2013-08-16 18:21:52 +02: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
sjeden 0617d6e7f0 Remove need for min-width:150px; in shipping setting admin panel.
Doesn't affect the standard WordPress display but if you are using MP6 makes extended width radio buttons.
2013-08-16 12:12:47 +01:00
Mike Jolley cd81c29195 Tweak help strings 2013-08-15 16:59:03 +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
Patrick Rauland 2f6d907b13 adding exact time to order notes 2013-08-15 08:42:08 -05:00
thenbrent 3dcf4de538 Add default timezone section to System Status 2013-08-14 11:21:49 -07:00
Mike Jolley d021980c10 Rather than have hooks *everywhere* use a single set stock function in admin and on the frontend Closes #3593 2013-08-13 16:56:09 +01:00
Mike Jolley 8db53a8d9d esc_attr Fixes #3451 2013-08-13 14:55:02 +01:00
Mike Jolley 131f692855 Tweak download handler Closes #3394. 2013-08-13 14:53:55 +01:00
Mike Jolley b62747a810 Tax rates pagination. Closes #3036. 2013-08-13 12:18:24 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
thenbrent 64832114ee Replace deprecated $wpdb::escape() with esc_sql()
Conflicts:
	admin/settings/settings-tax-rates.php
2013-08-09 14:56:39 +02:00
Mike Jolley 5ead65e118 Merge pull request #3606 from ragulka/bulk-edit-field-type
Change quick/bulk edit stock quantity field type to number
2013-08-09 02:59:30 -07:00
Mike Jolley 6bc0a1cef7 Merge pull request #3607 from ragulka/product-quick-edit-hooks
Add product quick edit start & end action hooks
2013-08-09 02:59:05 -07:00
Mike Jolley d74122251c Merge pull request #3602 from BFTrick/add-lang-to-system-status
Adding WPLANG to System Status
2013-08-09 02:58:15 -07:00
Mike Jolley 918e30d0e6 compare to lowercase class name 2013-08-08 12:38:26 +01:00
Mike Jolley 46940db5aa Typecast array 2013-08-08 12:38:26 +01:00
Mike Jolley 7b70d1ed86 Sortable is needed for admin scripts 2013-08-08 12:38:26 +01:00
Illimar Tambek 3d9ec9acd4 Add woocommerce_product_quick_edit_start and woocommerce_product_quick_edit_end hooks 2013-08-08 10:46:46 +03:00
Illimar Tambek df469b1473 Change product quick edit stock quantity field type to number 2013-08-08 09:24:38 +03:00
Illimar Tambek 372fd1137d Change bulk edit stock quantity field type to number 2013-08-08 09:21:20 +03:00
Patrick Rauland a4886a5ae4 adding WPLANG to system status 2013-08-07 16:05:09 -05:00
Coen Jacobs 930cd6125f Make sure end( gets a variable to work around strict notices 2013-08-07 14:15:53 +00:00
Mike Jolley d77bac9330 Removed hooks and functions from admin. 2013-08-06 16:56:15 +01:00
Mike Jolley 62261daa86 Remove old extension prompt 2013-08-06 14:04:40 +01:00
Mike Jolley fa7c1d9a6a Addons page Closes #3331 2013-08-06 14:04:40 +01:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01: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 7ad7f31e3b Remove last pipe 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 4456b7ccf1 Syntax error in shop order class 2013-08-02 12:56:49 +01:00
Mike Jolley 7dee74ba9e Show settings only when needed #3165 2013-08-02 12:27:31 +01:00
thenbrent 825587da6a Backward compatible variable_product_sync()
Adds new static sync() method to WC_Product_Variable and restores
variable_product_sync() to its former, non-static glory. Also makes
the $product_id param optional on variable_product_sync() to avoid
breaking backward compatibility.
2013-08-01 17:35:54 -07:00
Mike Jolley 23cad7cec2 First day of month report fixes. 2013-07-31 17:47:38 +01:00
Mike Jolley 981575491d Review order columns Closes #2798. 2013-07-31 15:12:53 +01:00
Patrick Rauland 012e6fe2f9 linking plugin name to the plugin url in system status 2013-07-30 21:31:19 -05:00
Mike Jolley 12d705c9c4 Bulk and quick edit tax status/class. Closes #3530. 2013-07-30 14:43:45 +01:00
Mike Jolley 55150a08d8 Notices 2013-07-30 13:03:18 +01:00
Mike Jolley bf5716af3c If admin user is logged in, link them to order notes. Closes #3433. 2013-07-30 12:35:18 +01:00
Mike Jolley 63b203955b Fix syncing and make variable_product_sync static for admin use. Closes #3450 2013-07-30 12:15:09 +01:00
Mike Jolley 9b512df0c0 Bulk edit mark on hold Closes #3496. 2013-07-30 11:35:07 +01:00
Mike Jolley 51c1af2f34 Pass item + id to order_line_item hook Closes #3518. 2013-07-30 11:29:06 +01:00
Mike Jolley c9b7a46c7b Correct string to times and ranges. Closes #3540 2013-07-30 11:12:48 +01:00
Mike Jolley f7d2531ec1 Check attribute values are posted. 2013-07-30 11:12:48 +01:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00
Mike Jolley e7bd988470 Admin taxonomies 2013-07-25 17:51:28 +01:00
Mike Jolley cd50b328a2 Install and update functions 2013-07-25 16:29:25 +01:00
Mike Jolley 8f04446a61 Dashboard. Closes #3493 2013-07-25 15:00:23 +01:00
Mike Jolley 728b1bf244 Some more admin class conversions 2013-07-24 19:55:02 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00