Commit Graph

21020 Commits

Author SHA1 Message Date
Mike Jolley fe8a81110b Merge pull request #3634 from BFTrick/set-default-shipping-rates
Setting Default Shipping Rates for Flat Rate Shipping
2013-08-16 17:39:25 -07:00
Mike Jolley df52bfd0ad #3630. Closes #3425. 2013-08-17 01:19:56 +01:00
Mike Jolley 9c55bb2b10 Accept multiple filters Closes #3572 2013-08-17 01:09:22 +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
Mike Jolley 281ed667cf Handle paypal cancelled reversals 2013-08-15 11:19:30 +01:00
Coen Jacobs 62a9200386 Made methods static that were referenced from static 2013-08-15 11:23:52 +02:00
Coen Jacobs 423522f05a Made methods static that were referenced from static 2013-08-15 09:22:38 +00: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
thenbrent 3dcf4de538 Add default timezone section to System Status 2013-08-14 11:21:49 -07:00
Patrick Rauland 69f45fb39b setting default shipping rates 2013-08-14 10:42:43 -05:00
Mike Jolley 9ce810fdcf Needs shipping filter 2013-08-14 10:53:08 +01:00
Mike Jolley 5c07464fd0 To prevent pebkac Closes #3628 2013-08-13 17:26:21 +01:00
Mike Jolley 64e1b091a0 Add a dedicated hook for adding fees. Closes #3611. Fixes #3352
@coenjacobs we might want this in .14 for some extensions in audit.
2013-08-13 17:19:20 +01: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 6dae4bcc0d Merge pull request #3627 from Geczy/master
Filter on the shortcode products query
2013-08-13 06:14:56 -07:00
Mike Jolley 2b31cdb360 Cart item data templates Closes #3216. 2013-08-13 14:14:24 +01:00
Mike Jolley aa3601f517 Remove white space. Closes #3499. 2013-08-13 13:17:32 +01:00
Mike Jolley b12d5a7377 Optimise sale query. Closes #3264. 2013-08-13 13:14:32 +01:00
Matt 776f1eb7db Filter on the shortcode products query 2013-08-13 08:08:41 -04:00
Mike Jolley 0ff59bcd5b remove deprecated function. Closes #3582. 2013-08-13 13:02:20 +01:00
Mike Jolley 48c9d25ea5 Merge pull request #3619 from dominic-p/filter-logon-creds
Filter Request: Login Credentials
2013-08-13 04:47:09 -07:00
Mike Jolley d015432b9c Merge pull request #3624 from BFTrick/remove-whitespace-in-shipping-classes
Remove Spaces in Favor of Tabs in Shipping Classes
2013-08-13 04:46:07 -07:00
Mike Jolley 7fda2bd832 Search for US/UK on country field. Fixes #3626. 2013-08-13 12:38:26 +01:00
Mike Jolley b62747a810 Tax rates pagination. Closes #3036. 2013-08-13 12:18:24 +01:00
Patrick Rauland 4d4645eee4 remove spaces in favor of tabs in shipping classes 2013-08-12 16:09:04 -05:00
Dominic cfbbaa4b5e Filter Request: Login Credentials
I'm trying to add a "remember me" option to my login form. WordPress
supports this, but it's hardcoded to always on in the WC form handler.
Since you can't tell a difference in PHP between an unchecked checkbox
and no checkbox at all, this seems like the simplest alternative that
maintains backwards compatibility. Thanks.
2013-08-10 12:31:17 -07: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 14a66489f7 Croatia is EU Fixes #3615.
@coenjacobs .14
2013-08-09 11:11:53 +01:00
Mike Jolley ff79e99f70 Merge pull request #3594 from markoheijnen/Fix-php5.5
Move return class after class definition. Fixes PHP 5.5 fatal errors.
2013-08-09 03:09:12 -07: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
Mike Jolley e29c67b6bc Update user meta for billing fields 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 5a1cc2362e Strict notice fix for get_price_html implementation 2013-08-07 14:38:31 +00:00
Coen Jacobs 930cd6125f Make sure end( gets a variable to work around strict notices 2013-08-07 14:15:53 +00:00
Marko Heijnen 390b3bc577 Move return class after class definition. Fixes PHP 5.5 fatal errors. 2013-08-06 19:04:10 +02: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
Coen Jacobs 54fceb7d99 Use version_compare to check for required jQuery. Closes #3567 2013-08-06 13:27:36 +02:00
Mike Jolley 5d497fdcc3 Merge pull request #3576 from rnt/master
Fixing warnings with 'strict standarts' and file permission
2013-08-06 03:49:19 -07:00
Mike Jolley be202c3ced Merge pull request #3591 from Gator92/tax_rate_foreign_key
Adds an index to the foreign key in table woocommerce_tax_rate_locations
2013-08-06 03:47:38 -07:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01:00
Schuyler Langdon b4c2149428 Adds an index to the foreign key in table woocommerce_tax_rate_locations 2013-08-06 00:18:41 -04: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 7c7e0ec9f4 Strict warnings
@coenjacobs for .14 I think
2013-08-05 12:27:30 +01:00
Renato Covarrubias a63a77e414 Fix warning if is null 2013-08-03 23:59:26 -04: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
Mike Jolley 54fa720768 Filter styles and add cleaner backwards compat. Closes #3165 2013-08-02 12:06:32 +01:00
Mike Jolley 8cf74a5250 Add separate instruction fields for BACS and CHEQUE (like COD) Closes #3291. 2013-08-02 11:40:40 +01:00
Mike Jolley 223f862750 Tweak email inclusion 2013-08-02 11:18:05 +01:00
Mike Jolley d0fd42ab1a US Spelling of fulfil Closes #3570. 2013-08-02 11:18:05 +01:00
Mike Jolley e9a168c2ee Merge pull request #3564 from ragulka/stock-action-hooks
Add stock set, increase and reduce action hooks
2013-08-02 03:11:05 -07:00
Mike Jolley daae3e6f97 Merge pull request #3566 from LeGaS/master
Enable states for Hungary
2013-08-02 03:09:30 -07:00
thenbrent 3ce6f3012d Set default $product_id on variable_product_sync() 2013-08-01 17:54:24 -07: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
Legradi Szabolcs 89a3732a03 Fix state label for Hungary 2013-08-01 16:58:48 +02:00
Legradi Szabolcs 0b92287bd4 Enable states in Hungary
The states file for Hungary is in the project for some time now, this
commit enables the use of it.
2013-08-01 16:43:00 +02:00
Illimar Tambek 27ed699ea7 Prefix stock hooks with product_ 2013-08-01 15:09:15 +03:00
Illimar Tambek 40ee077624 Add woocommerce_set_stock, woocommerce_increase_stock and woocommerce_reduce_stock action hooks 2013-08-01 15:06:26 +03: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 1b9562ca3b operator option. Closes #3528 2013-07-30 15:03:39 +01:00
Mike Jolley f7cba5948b Filter woocommerce_checkout_customer_id Closes #3491 2013-07-30 14:50:53 +01:00
Mike Jolley 12d705c9c4 Bulk and quick edit tax status/class. Closes #3530. 2013-07-30 14:43:45 +01:00
Mike Jolley 596f4d1a23 More login hooks Closes #3543. 2013-07-30 13:38:45 +01:00
Mike Jolley 55150a08d8 Notices 2013-07-30 13:03:18 +01:00
Mike Jolley fd4b16f30e Correctly sanitize password. Closes #3553. 2013-07-30 13:03:08 +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 b2e3df20e3 Remove trashed and non-existant products from the cart. Closes #3457. 2013-07-30 11:51:50 +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 22bd515fbd Customer invoice does not need toggle. Closes #3459. 2013-07-30 11:24:25 +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 97f5ee7433 Merge pull request #3533 from kloon/master
Google Analytics, Add to cart event uniformity for shop and single.
2013-07-27 11:36:31 -07:00
Kathy Darling f743018ea1 add action woocommerce_variable_product_sync to variable sync 2013-07-26 11:59:34 -04:00
Kathy Darling 1a0d17c29d Merge branch 'master' of git://github.com/woothemes/woocommerce 2013-07-26 11:57:17 -04:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00
Kathy Darling bdcb4cf169 add woocommerce_get_variation_price_html filter 2013-07-26 09:47:23 -04:00
Gerhard 9954c87fa6 Google Analytics, Add to cart event uniformity for shop and single. 2013-07-26 09:10:12 +02: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 ff0fc4fa31 Check function returns a product. #3526 2013-07-24 21:24:58 +01:00
Mike Jolley 41c27b19ad deprecated 2013-07-24 21:24:58 +01:00
Mike Jolley f67f48558c Merge pull request #3523 from themesquad/master
Fixed "Strict Standards" warning on the process_payment() declaration.
2013-07-24 12:04:26 -07: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
Juan Jose Gonzalez Alanis 1339426164 Fixed "Strict Standards" warning on the process_payment() declaration of the WP_Payment_Gateway class. 2013-07-24 13:24:52 +02:00
Mike Jolley 815a5e6ff4 PayPal buttonsource 2013-07-23 17:21:24 +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 805a9e617c Use get_price and introduce get_regular and get_sale_price methods. Closes #3427 2013-07-23 11:29:04 +01:00
Mike Jolley 81f188b4ca PayPal authorization feature 2013-07-23 10:18:58 +01:00
Mike Jolley d51083167a Sandbox off by default 2013-07-22 13:41:59 +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 0b848b8f37 AE no postcodes. Closes #3492. 2013-07-19 15:08:40 +01:00
Mike Jolley 857ed79924 fallback for bad calls to the post_class filter. Closes #3463 2013-07-19 14:28:04 +01:00
Mike Jolley b01bf72bfe Improve messages. Closes #3370. 2013-07-19 13:30:27 +01:00
Mike Jolley 12d6569cc1 Readme + versions 2013-07-19 11:09:19 +01:00
Mike Jolley 7ccac3a260 Clean inputs posted on the shipping form 2013-07-19 07:58:50 +01:00
Mike Jolley a5aa58b135 Allow iframe html to be input for sharethis. Closes #3254. 2013-07-19 07:54:51 +01:00
Mike Jolley 34c90813bd Price filter widget: preserve orderby Closes #3307. 2013-07-19 07:11:41 +01:00
Mike Jolley 7b2c232b9c Prevent flat rate rows with no class set from saving. Closes #3312. 2013-07-19 07:08:13 +01:00
Mike Jolley 2c8e598371 Fix paypal phone mask (whitespace) Closes #3328. 2013-07-19 07:00:38 +01:00
Mike Jolley 0ef33da03c Make account password 'required' when needed. Closes #3313. 2013-07-19 06:58:45 +01:00
Mike Jolley f295a5d568 Merge branch 'Charts/Reports' Closes #3281 2013-07-18 14:08:27 +01:00
Mike Jolley d30c1ef1e4 'httpversion' => '1.1' possibly needed for paypal - testing 2013-07-17 14:29:42 +01:00
Mike Jolley 18a448ff77 Tweaked popularity sorting to work better when no sales are present. 2013-07-17 11:21:52 +01:00
Mike Jolley bf73fd3c8e Merge pull request #3411 from jprieton/patch-1
Hint on documentation of function get_product()
2013-07-15 09:17:41 -07:00
Mike Jolley 3a1ca6789c Merge pull request #3438 from BFTrick/patch-add-product-meta
Add Product Meta Data to Post Class
2013-07-15 09:16:02 -07:00
Mike Jolley fd887c52f1 Merge pull request #3478 from henrikgregersen/master
(#3477) Initialize address formats to the stores locale, instead of use a default.
2013-07-15 09:11:03 -07:00
Mike Jolley 8ac12ae40c Merge pull request #3479 from shoheitanaka/master
Japanese Localization
2013-07-15 09:09:58 -07:00
Shohei Tanaka 7436e37aec Japanese Localization
I made Japanese localization files.
2013-07-15 17:22:48 +09:00
Henrik Gregersen a0105bb043 Initialize to store address format (#3477)
If the user has not entered an address yet, then the address fields will be displayed in a default order, because the $country will be empty. To fix this and initialize address formats to the stores locale, the $country variable is set to the base_country if it has no value
2013-07-15 01:25:12 +02:00
James Koster fa786a1173 typo 2013-07-08 09:48:48 +01:00
Patrick Rauland e6f7f5b16f adding product meta data to post class 2013-07-05 10:46:52 -05:00
jprieton 59d43a25f7 Update proposal hint on documentation of function get_product()
Update proposal hint on documentation of function `WC_Product_Factory::get_product()` from `void` to an generic `WC_Product`
2013-07-01 17:18:07 -04:30
Coen Jacobs 9bcf44106c Also apply #3405 to master branch 2013-06-28 13:10:44 +02:00
Mike Jolley 06bf190599 public false for taxonomies. Closes #3373. 2013-06-28 11:17:56 +01:00
Mike Jolley a9569ccd6f Only allow those who can edit the post to add drafts to cart. For testing. Closes #3381 2013-06-28 11:14:21 +01:00
Mike Jolley e6db7d2c0c Set session after removing item. Closes #3382. 2013-06-28 11:03:12 +01:00
Mike Jolley e296c9d538 woocommerce_new_order_note_data Closes #3379 2013-06-28 10:50:05 +01:00
Mike Jolley 5be00f2d32 Drop ucwords Closes #3369. 2013-06-28 10:30:32 +01:00
Mike Jolley d0b6483037 Dump coupon helper and add new functions. Closes #3353. 2013-06-28 10:23:20 +01:00
Mike Jolley 9f5f81c1aa cat-parent without extra query. Closes #3355. 2013-06-28 10:07:18 +01:00
Mike Jolley f8f3f8a660 Fix sale expiration for variations. Closes #3321.
@coenjacobs might be useful for .13
2013-06-28 09:58:07 +01:00
Coen Jacobs a55556332c Extra escaping on layered nav href to prevent injection 2013-06-26 11:44:35 +02:00
Mike Jolley d7cfe05daf More charts work 2013-06-24 17:47:28 +01:00
Mike Jolley 9d37e5bf92 Stripslashes 2013-06-22 11:43:57 +01:00
Mike Jolley 0e29b31fcb Work on charts/reports 2013-06-22 11:37:59 +01:00
Mike Jolley fc104fc84b Post types need to exist first 2013-06-20 12:05:11 +01:00
Mike Jolley 1ff10d6ccf Enable for all taxonomies 2013-06-20 12:05:11 +01:00
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +01:00
Mike Jolley 1e94bbc990 Review nonce. Closes #3324. 2013-06-14 16:15:26 +01:00
Mike Jolley 2db3d24a82 Enforce session as array data, and settings api tweak for special chars. Closes #3135. 2013-06-14 14:42:28 +01:00
Mike Jolley 2a6bae4e0a Change is_visible for variations to make method calls cleaner. 2013-06-14 12:21:38 +01:00
Mike Jolley 1d0a017a9f Put back params 2013-06-13 17:01:47 +01:00
Mike Jolley f87505b445 Rounding tweaks 2013-06-13 17:01:47 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Mike Jolley 1716728802 new message functions 2013-06-11 15:59:42 +01:00
Mike Jolley 10f44301f4 deprecated functions 2013-06-11 15:59:34 +01:00
Mike Jolley 60bc15e61f Session class improvements - get and set + defaults 2013-06-11 15:59:23 +01:00
Mike Jolley d448046234 Move WC back to main file, as singleton 2013-06-11 15:21:14 +01:00
Mike Jolley 4397b00c4a classes -> includes (for includes) 2013-06-11 14:28:45 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00