Mike Jolley
9e45927803
Create refund with crud
2016-08-22 13:15:15 +01:00
Mike Jolley
190cd0bf86
Remove direct access of item props in admin
2016-08-19 15:08:00 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Mike Jolley
5afac69f10
Fix write context errors
2016-08-15 17:50:02 +01:00
Mike Jolley
eb45acf0d5
[2.6] Use method title in admin shipping dropdown
...
fixes #11678
2016-08-12 14:23:59 +01:00
Mike Jolley
a8759fc0aa
Meta/product handling
2016-08-08 16:20:15 +01:00
Mike Jolley
c3aa933ad2
coupon
2016-08-08 15:25:22 +01:00
Mike Jolley
75975de58a
Item meta
2016-08-08 15:22:00 +01:00
Mike Jolley
9bbf5df1fd
Billing/shipping details
2016-08-08 14:49:53 +01:00
Mike Jolley
6bf05396c2
date_paid
2016-08-05 16:14:30 +01:00
Mike Jolley
0a0330bac0
customer_user
2016-08-05 16:09:40 +01:00
Mike Jolley
7685587b22
payment_method
2016-08-05 16:04:41 +01:00
Mike Jolley
39b4831e95
get_id
2016-08-05 15:56:23 +01:00
Mike Jolley
9181c107a8
get_currency
2016-08-05 15:49:17 +01:00
Mike Jolley
66c8d6cdcf
Merge pull request #11496 from franticpsyx/order_item_class_args
...
[2.6] Add $order arg to order_item_class filters
2016-07-22 13:58:58 +02:00
James Koster
02e08e071e
Use number inputs for hour/minute fields on edit order screen. closes #11494
2016-07-22 12:19:18 +01:00
Manos Psychogyiopoulos
0173447cf9
add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters
2016-07-21 11:50:45 +03:00
Mike Jolley
d17b4de6d5
woocommerce_admin_order_item_bulk_actions
...
Closes #11099
2016-07-20 13:37:17 +01:00
Claudio Sanches
14eeee15ee
Welcome to docs.woocommerce.com
2016-07-19 07:30:31 -03:00
Mike Jolley
53511e36ec
Use permission id to revoke access to downloads to prevent removing wrong rows.
...
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Mike Jolley
53e75f3d4d
Merge pull request #11300 from rspublishing/update-class-wc-meta-box-coupon-data.php
...
Updates class-wc-meta-box-coupon-data.php
2016-06-30 09:32:40 +01:00
Mike Jolley
361ab507d2
Cast class to array
...
Closes #11294
2016-06-30 08:47:06 +01:00
rspublishing
63c0445957
Replacing link
2016-06-30 09:25:39 +02:00
rspublishing
1a0f5ae723
Updates the includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php file
2016-06-30 09:16:52 +02:00
Mike Jolley
2bbb1453fb
External product SKU
2016-06-27 16:04:49 +01:00
Beka Rice
37c441dc45
Shows the "customer pay page" link for any order that needs payment
2016-06-17 16:56:14 -04:00
Mike Jolley
b57030afb7
Fix the showing/hiding of panels when terms do not exist by using wc_get_product_types() for retrieving product types.
...
@claudiosmweb
2016-06-16 14:58:44 +01:00
Claudio Sanches
6a65bc73c7
Fixed invalid pattern for hour and minute in the admin screen
2016-06-14 18:03:00 -03:00
Claudio Sanches
05c7f186ba
Fixed line_subtotal_tax and line_tax localized price format
2016-06-14 17:41:20 -03:00
Mike Jolley
f8db1c403f
Type casting and docs
2016-06-07 11:22:36 +01:00
Mike Jolley
8ef3957ad1
Var checks
2016-06-06 19:15:40 +01:00
Mike Jolley
76a4ffe2e0
Unused vars
...
@claudiosmweb
2016-06-06 18:10:03 +01:00
Mike Jolley
d4d6f3181c
Best practice tweaks
2016-06-06 17:24:31 +01:00
Teemu Suoranta
35519fb685
Add filters for attribute selection UI
2016-06-05 21:22:10 +03:00
Mike Jolley
d6993daab2
Class was not present in 2.5 and can be dropped.
...
d0354fd4fd
2016-05-31 11:30:32 +01:00
Claudio Sanches
d0354fd4fd
Suit CSS naming for #10994
...
cc @jameskoster
2016-05-30 13:35:12 -03:00
Mike Jolley
c0dc352df1
Clear parent transients when clearing own transients
...
Fixes #10996
2016-05-27 11:12:23 +01:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
David Anderson
6cd2fc12f0
Place customer IP inside a span for easier access
...
I want to code something that shows a country flag / link to ipinfo.io next to the customer IP address on the order dashboard page. Putting the IP address inside a span makes it easier to locate without ugly hacks / less prone to breakage.
2016-05-26 14:44:51 +01:00
Mike Jolley
146f79914f
Move stock update code
...
Fixes #10976
2016-05-24 14:38:54 +01:00
Mike Jolley
d24fceab44
When calculating discount amount in backend, use unrounded values
...
#10963
2016-05-23 16:23:27 +01:00
Mike Jolley
19a4648a5a
clean post cache after update
2016-05-17 14:46:08 +01:00
Mike Jolley
36021ab1ac
Improve no longer editable text
...
Closes #10916
2016-05-16 11:12:04 +01:00
Mike Jolley
ba2bfdc685
Fix invalid closing tag
2016-05-16 10:17:44 +01:00
corsonr
becc4ef841
use wc_help_tip()
2016-05-13 18:49:58 +02:00
corsonr
ca040a3d1f
Add a refund reason help bubble
2016-05-13 18:15:35 +02:00
Mike Jolley
96cb47e037
escape
2016-05-11 10:58:04 +01:00
Caleb Burks
2fd455769d
Make customer download links available for admins
2016-05-10 23:52:18 -05:00
Mike Jolley
0782b869f5
Remove double filter on meta_key label
...
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley
85faaf8b77
Remove old permissions when generating new download permissions
...
Closes #10839
2016-05-03 15:22:49 +01:00
Mike Jolley
ad3f9d0754
Show payment date on order screen
...
Closes #10828
2016-05-02 12:02:07 +01:00
Mike Jolley
6f42514afb
Pass false for product in attribute label filter
...
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley
4468d34548
Show invoice email in dropdown
2016-04-25 13:22:31 +01:00
Mike Jolley
29c6acf767
Used positional placeholders in strings where the order of strings may require modification in the locale.
...
Closes #10775
2016-04-25 13:07:41 +01:00
Mike Jolley
c0449f445d
Merge pull request #10634 from JeroenSormani/product-visual-loading
...
Optimize the visuals when loading the product data meta box
2016-04-05 14:26:32 -05:00
Mike Jolley
f8d483fd30
$updated_gallery_ids was not set
2016-04-05 07:42:03 -05:00
JeroenSormani
a8abfef5fa
Optimize the visuals when loading the product data meta box
2016-04-03 19:07:46 +02:00
Mike Jolley
95de7f5a2c
Minor spacing issues
2016-03-23 13:06:15 +00:00
Mike Jolley
f73149feaf
Tweak variation display and reenable bulk editing
2016-03-22 17:13:39 +00:00
Mike Jolley
f1b3d0f708
Further layout tweaks
2016-03-22 14:54:02 +00:00
Mike Jolley
5862785522
Restyle items panel
2016-03-21 18:35:00 +00:00
Mike Jolley
7be2b129b6
Removed bulk actions from order items panel
...
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.
Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Jeff Stieler
16b65ea8c3
Fire action before order line items are rendered.
2016-03-18 15:25:31 -06:00
Mike Jolley
0516d63c3f
Update download permission user and email when changed
...
Fixes #10543
2016-03-14 14:36:32 +00:00
Mike Jolley
ac857999ff
[2.5] Prevent notice when unsetting terms
...
Fixes #10536 @claudiosmweb
2016-03-11 13:12:31 +00:00
Mike Jolley
9ce892bd39
Avoid title case. Clean up colon.
...
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Claudio Sanches
11decde0ab
Make sure that the attribute is a taxonomy before unset #10506
2016-03-09 17:17:21 -03:00
Claudio Sanches
99fd5f0d68
[2.5] Unset deleted attributes when update products, closes #10506
2016-03-09 17:12:19 -03:00
Mike Jolley
5b7bc59517
[2.5] Rename pay link for clarity
2016-03-08 11:50:41 +00:00
Mike Jolley
7dadae7bc8
Load gateways before save
...
#10461
2016-03-03 17:05:40 +00:00
Mike Jolley
89e8404acb
[2.5] Clear sale price on save if sale is no longer valid.
...
Closes #10454
2016-03-03 13:16:22 +00:00
Mike Jolley
384db11839
Hide disabled emails from dropdown
...
Fixes #10428
2016-02-26 13:22:31 +00:00
Justin Shreve
8c49e81f45
Fix up heading hierarchy on the add new order screen
2016-02-18 08:39:02 -08:00
Mike Jolley
6880a71ea9
Merge pull request #10141 from woothemes/fix-10135
...
Fix 10135
2016-02-12 13:37:53 +00:00
Mike Jolley
fab8a871aa
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
8e85306ef1
Remove reviews/comments meta box for products
...
Closes #10175 @claudiosmweb
2016-02-08 13:29:54 +00:00
Mike Jolley
98f40fed9e
Enable SKU for grouped products and move to inventory tab.
...
SKU is a stock keeping unit, specifically for inventory purposes. So it
does make sense to have this on the inventory tab - this also allows it
to work on grouped products without showing new tabs there.
Closes #10034
cc @jameskoster @claudiosmweb
2016-02-08 11:50:01 +00:00
Mike Jolley
efd0304bb0
Color code manual, system and customer notes
...
Closes #7225
2016-02-08 11:39:31 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
57c643c93e
[2.5] Round tax/tax refunded amounts on display.
...
Closes #10162
2016-01-25 15:18:49 +00:00
Mike Jolley
77e1aa8263
Make qty for refunds negative
...
Fixes order counts reported in #10135
May however require an upgrade routine and needs more testing. Not for
2.5.
Fixes #10135
2016-01-22 16:28:29 +00:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley
007abbc98e
Shipping meta data
...
Closes #9094
2016-01-08 11:42:32 +00:00
Fredrik Forsmo
da2e0ac950
Add missing phpdoc param tags to all WC_Meta_Box_* classes
2016-01-04 22:31:36 +01:00
Mike Jolley
0b678ab2af
Tweak save logic to set _price for variables/groups via sync functions only
...
Closes #9892
2015-12-23 13:08:45 +00:00
Claudio Sanches
997d1caa50
Fixed several new variations admin actions, closes #9886
2015-12-21 03:36:36 -02:00
Mike Jolley
c7e104115f
unused code
2015-12-17 12:58:02 +00:00
Claudio Sanches
c001d5b274
Make tooltips consistent, closes #9856
2015-12-16 03:38:53 -02:00
Mike Jolley
d515ddaaed
Merge pull request #9798 from JeroenSormani/admin-order-item-hooks
...
Add hooks after order line items in admin
2015-12-14 12:50:54 +00:00
JeroenSormani
0bc4089ea7
Add hooks after order line items in admin
2015-12-09 09:29:32 +01:00
Mike Jolley
4cf699ed0a
Update coupon label
...
Closes #9748
2015-12-03 12:02:04 +00:00
Mike Jolley
4b87b0fbdc
[2.4] Fix SKU slash madness
...
Fixes #9721
2015-12-02 11:22:11 +00:00
roykho
887d37583c
Seperate variation description field from shipping div container
2015-11-28 07:20:47 -08:00
Mike Jolley
28dcb9ddbc
Tweak how sale and regular prices are handled
...
Prevents issue with PHP 5.6 and Suhosin sending NULL values. Fixes #9698
2015-11-25 18:40:49 +00:00
roykho
aa7d583656
Fix lingering product gallery attachment ids when delete from media fixes #9681
2015-11-23 22:01:30 -08:00
Mike Jolley
8684ea0543
Merge pull request #9667 from krautnerds/fix-variation-modified-date
...
Bump modified date of variations on update
2015-11-23 18:48:33 +00:00
Florian Ludwig
1d87c0c827
Bugfix: Used wrong date format for database
2015-11-20 18:09:47 +01:00
Florian Ludwig
787ebb0ef5
Bugfix: use "post_modified" instead of "post_date"; Moved modified_date update to woocommerce_update_product_variation code path
...
We should only set „post_modified“ if we are updating the variation
2015-11-20 18:00:10 +01:00
Florian Ludwig
477da091db
Bump modified date of variation on update
2015-11-20 16:26:33 +01:00
Mike Jolley
7b45525dc5
Clear coupon cache on save
2015-11-13 23:15:29 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Mike Jolley
ad38f6e34f
Add pay link to order screen
...
Closes #9428
2015-10-30 13:29:16 +00:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches
1ea5b8433f
Escape normalized for the woocommerce_variation_option_name filter
2015-10-18 10:42:44 -06:00
Mike Jolley
f1c6b3628a
Pass mimes when checking file type
...
#9207
2015-10-06 15:01:41 +01:00
Mike Jolley
19db1a6b4f
Add notes for manual email send
...
Closes #8902
2015-10-01 17:39:32 +02:00
Claudio Sanches
3a536ac8b7
Sanitize shipping method label/title, closes #9159
2015-10-01 17:17:45 +02:00
Mike Jolley
7b751dc622
Clean post cache after variation update
...
Closes #9173
2015-10-01 16:48:41 +02:00
Claudio Sanches
7c05671188
Added new actions to make easy add custom fields for variations, closes #8827
2015-10-01 16:30:02 +02:00
Claudio Sanches
df508c82a3
Merge pull request #9198 from nvartolomei/shop-order-meta-save
...
Set order date before changing order status.
2015-09-22 13:55:24 -03:00
Nicolae Vartolomei
dd62484cc2
Set order date before changing order status.
2015-09-22 12:02:29 +03:00
Claudio Sanches
daf371052c
Missing ) on order screen for customers select2
2015-09-18 12:21:55 -03:00
Mike Jolley
a175638032
[2.4] unslash file URL
2015-09-17 16:18:11 +01:00
Claudio Sanches
ab921ea82c
Merge pull request #9088 from khag7/khag7-patch-1
...
Filter the array which determines what classes are applied to an order note
2015-09-15 20:01:33 -03:00
Claudio Sanches
ebedba7906
Merge pull request #9081 from helgatheviking/filter-admin-order-item-thumbnails
...
Add `woocommerce_admin_order_item_thumbnail` filter in admin
2015-09-15 19:58:23 -03:00
Claudio Sanches
7e63374aaf
Merge pull request #8735 from shivapoudel/backbone-modal
...
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
James Koster
82f8b61418
make it clearer that variation drag/drop only applies to the backend. closes #9104
2015-09-15 17:05:55 +01:00
Mike Jolley
cc875d7b94
Merge pull request #8939 from SiR-DanieL/_x
...
Added some comments on translations
2015-09-15 16:45:39 +01:00
Mike Jolley
96814b992f
Show more variations per page
2015-09-14 16:54:58 +01:00
Kevin Hagerty
1c6dad110e
improved spacing, filter name more conventional, added esc_attr
2015-09-09 10:11:09 -04:00
Kevin Hagerty
849a3598c9
add a filter to the array of the html classes for an order note
...
allow plugins to hook into the display of order notes to add classes.
2015-09-08 20:11:04 -04:00
Kathy Darling
9571b8827e
Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.
2015-09-08 13:41:12 -04:00
Mike Jolley
3e0986bce0
Merge pull request #9053 from khag7/khag7-patch-1
...
Improve order total formatting
2015-09-07 14:43:49 +01:00
Mike Jolley
50e4a68235
Merge pull request #9028 from LeGaS/patch-1
...
Count only published variations
2015-09-07 14:43:01 +01:00
Kevin Hagerty
3671bcf39d
Improve order total formatting
...
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley
b111331686
Allow line breaks in non-variation attributes
2015-09-04 14:00:42 +01:00
Mike Jolley
889d40b8aa
Add data attribute to leave options visible
...
Closes #9017
2015-09-03 15:38:42 +01:00
Szabolcs Légrádi
6bb0dd864b
Do not count trashed product variations
2015-09-02 23:11:28 +02:00
Szabolcs Légrádi
68460063a0
Count only published variations
2015-09-02 22:58:07 +02:00
Mike Jolley
dd7c32c22c
Added 'false' check in variation admin
...
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Mike Jolley
07237d9a09
Set charset when doing html_entity_decode
...
@claudiosmweb Closes #8964
2015-08-31 12:29:36 +01:00
Mike Jolley
7643712a52
Sync after save
2015-08-29 13:45:58 +01:00
Mike Jolley
4849d7d56e
Sync stock status during save
...
Closes #8950
2015-08-26 13:51:51 +01:00
Mike Jolley
1f3e8b984e
use empty to check to see if attributes for variations exist
...
Closes #8959
2015-08-26 12:56:44 +01:00
Nicola Mustone
657728d778
_x for the order details admin page
2015-08-24 17:15:19 +02:00
Mike Jolley
14b0c20bf2
Ensure variable stock status is based only on variations
2015-08-24 15:03:44 +01:00
Mike Jolley
714cd8dc9a
Merge branch 'pr/8901'
2015-08-21 15:32:11 +01:00
Mike Jolley
574c0b2936
Update wording
2015-08-21 15:25:03 +01:00
Mike Jolley
2d8b3f0c1f
menu_order notices on IIS.
2015-08-21 14:08:32 +01:00
Tor Morten Jensen
f6b7ab97b1
Adds tooltips to explain 'tax class' and 'tax status' in product admin. Addresses #8817
2015-08-20 14:33:25 +02:00
Mike Jolley
24c7f56b03
move attribute code above selector
2015-08-20 10:52:59 +01:00
Mike Jolley
ac90660f7d
Add expand/close links for attributes and match variation UI
...
Closes #8875
2015-08-19 14:00:26 +01:00
Mike Jolley
57bb0ebe25
Record manual order status change
2015-08-18 16:33:38 +01:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Mike Jolley
7552704e75
double encode attributes
2015-08-13 12:16:08 +01:00
Claudio Sanches
38aa17b67b
Fixed hardcoded string
2015-08-07 10:27:40 -03:00