Commit Graph

203 Commits

Author SHA1 Message Date
Mike Jolley 70ef82a617 Add a tip for default selections, and use opt groups for the long bulk edit list 2014-05-12 15:39:13 +01:00
Pippin Williamson 8d15d6dc6c Update class-wc-meta-box-coupon-data.php
Introduce `woocommerce_coupon_data_panels` action.

If someone wants to add a new tab to the Coupons data meta box, they can use the `woocommerce_coupon_data_tabs` filter to register a new tab. These tabs accept a `target` key that lets you specify the `div` ID to reveal when the tab is clicked on. It turns out, however, that there is no way to actually add the `div` to the page, making the filter for custom tabs only good for removing tabs.
2014-05-10 11:48:37 -04:00
Mike Jolley 0f81541870 Revise how variation attributes are deleted/updated
Prevents issues with WPE caching when you delete and then update right
after.
2014-05-06 10:47:23 +01:00
Mike Jolley 746b79a49d Merge pull request #5384 from tamarazuk/patch-1
Add action filter in inventory product data
2014-04-28 16:01:35 +01:00
Mike Jolley 3e1d5feaf3 Merge pull request #5353 from tamarazuk/backorder-variations
Backorders at variation level
2014-04-28 15:27:36 +01:00
tamarazuk 44d197cde0 Another action hook in Inventory product data tab
allow plugins to create a new options_group in this tab
2014-04-27 19:25:07 -04:00
tamarazuk 47baf952e6 Add action filter in inventory product data
Allows plugins to add meta fields after stock status/backorders even if woocommerce_manage_stock is turned off.
2014-04-27 16:18:58 -04:00
Mike Jolley 5862bfb2fe Allow saving no downloads, if unset
#5296
2014-04-24 16:00:17 +01:00
Mike Jolley cae3148d55 Merge pull request #5342 from tivnet/patch-2
Update class-wc-admin-cpt-product.php
2014-04-22 16:56:10 +01:00
Mike Jolley 5274599e11 Merge pull request #5325 from gedex/refactor_cpt-shop_order_custom_columns
Removes unused block and var.
2014-04-22 16:23:18 +01:00
Tamara Zuk 7ba3089909 Backorders at variation level
Added a new select metabox for variations allowing users to control
backorders at the variation level.
Might need more testing.
ref: #5351
2014-04-21 21:13:13 -04:00
Gregory Karpinsky a45061b456 Update class-wc-admin-cpt-product.php
To handle bulk edit of "Sold Individually".
(The view part will follow in the next edit)
2014-04-18 16:13:13 -04:00
Akeda Bagus 8ae455eef9 Removes unused block and var.
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-15 21:55:59 +07:00
claudiosmweb a016d82321 fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php 2014-04-14 16:15:19 -03:00
claudiosmweb eb54adf697 added method to stop save duplicate sku in quick edit 2014-04-14 15:46:43 -03:00
Mike Jolley 2192db9fca Add label explaining discount field Closes #5300 2014-04-09 15:58:22 +01:00
Mike Jolley 070aadeda0 Work out cart discount without tax amounts #5300 2014-04-09 15:50:17 +01:00
Mike Jolley 64c9f275b4 During save_meta_boxes, only save for the "main" post being saved, not nested or subsequent save_post events
fixes #5229
2014-04-07 14:15:51 +01:00
Mike Jolley 342737907a Ensure _order_currency is set. Closes #5232 2014-04-01 15:33:01 +01:00
Patrick Rauland 1db1a47cf5 updating coupon email restriction tool tip 2014-03-31 15:54:21 -05:00
pauloiankoski fd5435f7ee Apply filters to $product_type
Apply filters to $product_type and we can set a default product type to new products.
2014-03-27 20:37:00 -03:00
Mike Jolley df8e54985c Fix the SKU search logic so it works with other filters. Closes #5208 2014-03-26 10:46:42 +00:00
Mike Jolley 8007e4c102 Fix encoding issue with attribute values and move variation data to tooltip Closes #5169 2014-03-20 15:47:52 +00:00
Mike Jolley eee61a9d1a URL decode attributes in admin so they display correctly (asian chars) 2014-03-19 15:54:26 +00:00
Mike 5a19abe48b Remove comment exclusion in order notes meta box 2014-03-18 19:49:15 +02:00
Mike Jolley abfafa7ce3 Correct discount calculation in admin when fees are involved. Closes #5103 2014-03-14 13:20:59 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Mike Jolley 30eee00c1b Change the save order so email data is correct for manual orders Closes #4995 2014-03-03 13:27:20 +00:00
splashingpixels d357154d2f shop order - fixes non object error on comments when order is in the trash 2014-02-28 22:08:42 -08:00
Mike Jolley 5ae6dd056b Hide shipping class if variation is virtual Closes #4972 2014-02-27 11:53:46 +00:00
Mike Jolley 41183d1663 wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875 2014-02-26 15:43:19 +00:00
Mike Jolley 1f3d2632ed Filters to restrict granting/revoking access to files Closes #4952 2014-02-26 12:35:11 +00:00
Mike Jolley 9a52c5dd43 Combine two meta queries into one #4901 2014-02-25 13:33:55 +00:00
Chuck Mac ed952f4698 Passing post_id to the coupon save action
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-23 10:27:27 -05:00
Mike Jolley 78d48cc597 Use get_col for sku search - return multiple results. 2014-02-21 10:35:41 +00:00
Mike Jolley f35c3708bb Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
@coenjacobs
2014-02-20 15:41:08 +00:00
Mike Jolley fbccfca522 Correctly join post meta to fix order searches Closes #4855 2014-02-19 16:11:20 +00:00
Mike Jolley 3f8b314431 Run array_unique on results of order search Closes #4855 2014-02-19 14:27:09 +00:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +00:00
Mike Jolley 4fe91a0900 Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765 2014-02-13 11:01:43 +00:00
Mike Jolley 403e90008d Fix line total display for order fees Closes #4766 2014-02-13 10:25:15 +00:00
Gerhard 75da5d829a Fix variation download file url save for Amazon S3 extension. 2014-02-12 21:17:09 +02:00
Mike Jolley 5da7cc05ce Added tinymce buttons relevant to the short description 2014-02-12 09:49:13 +00:00
James Koster b85a881cc5 allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 09:56:47 +00:00
Coen Jacobs 0033d6d116 Code standards update for #4675 2014-02-10 10:47:26 +01:00
Shohei Tanaka f03dde7868 $tax_code was url encoded , so decode it.
I can't read tax code at this box, if used Japanese in tax code. I want to read it in Japanese, so decode here.
2014-02-08 15:50:03 +09:00
Mike Jolley 545441b2e3 Multiple attribute for email box Closes #4659 2014-02-07 10:10:50 +00:00
Mike Jolley 9222e6a854 woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake 2014-01-31 14:48:23 +00:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Mike Jolley 4abcc331dd Ensure stock status is set for variations after setting to 0 Closes #4587 2014-01-29 14:39:55 +00:00