Rami Yushuvaev
9469673c05
a11y: remove unneeded `title` attributes
2016-11-04 17:40:15 +02:00
Mike Jolley
db0ce210a3
[Product CRUD] Variations - setters, getters and admin. ( #12228 )
...
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
2016-11-02 18:50:42 +00:00
Justin Shreve
91ddc7ecbd
Remove the download type input from the product data metabox for downloadable products. ( #12221 )
2016-10-31 15:12:46 +00:00
Rami Yushuvaev
55f08d62ae
add translators comments
2016-10-29 23:03:28 +03:00
Rami Yushuvaev
93d55dade9
add translators comments
2016-10-29 20:32:38 +03:00
Rami Yushuvaev
8ab8bef52e
add translators comments
2016-10-29 13:51:56 +03:00
Rami Yushuvaev
6cc301e58c
add translators comments
2016-10-29 13:16:03 +03:00
Claudio Sanches
4a1d5d3b0c
Use Order CRUD to save admin order data ( #12181 )
...
* Fixed downlodable permissions while updating orders.
- Fixed undefined $wpdb fatal error
- Fixed how to update permissions when updated the billing_email
cc @mikejolley
* Use order CRUD to update admin order data
* Updated WC_Meta_Box_Order_Data::save() params and updated docblocks
* Missing period
* Handle cache and status on CRUD side
2016-10-28 10:52:01 +01:00
Claudio Sanches
7c28cb4d27
Merge pull request #12199 from woocommerce/product-checkboxes
...
Improved product type options.
2016-10-27 16:04:16 -02:00
Claudio Sanches
9b0b4be843
Improved product type options, closes #12183
2016-10-27 15:06:33 -02:00
Mike Jolley
5855170c5a
[Product CRUD] Product crud admin use getters ( #12196 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
2016-10-27 14:08:16 +01:00
Mike Jolley
38703f1907
Product crud admin save routine ( #12174 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
2016-10-26 18:02:50 +01:00
Rami Yushuvaev
0be4db2261
more i18n updates ( #12189 )
...
* i18n: simpler translation strings
* i18n: simpler translation strings
* i18n: readble printf(), and moving the %s placeholder to `%s product`
* i18n: make string translatable and remove the HTML tags
* i18n: avoide using HTML tags in translatino strings
* i18n: move the colon into the translation string and use %s placeholder for the IP
* i18n: use sprintf() on field-validation translation strings, and unify those strings
* i18n: move colons into the translation strings
* i18n: use `%s` placeholder as the site name in "Powered by WooCommerce" string
* i18n: use `%s` placeholder for min and max price
* i18n: rewrite the translation strings printf()
2016-10-26 14:35:52 -02:00
Rami Yushuvaev
59dc477a20
Direction characters (i18n, RLT, a11y) ( #12177 )
...
* RTL+i18n: product title stricture as translation string to allow RTL languages to change `→` TO `←`
* i18n: move the `→` into the translation string to allow RTL languages to translate to `←`
* RTL: product filter indent using `→` and `←` chars
* a11y: remove `←` char, it's a bad accessibility practice to use visual indicators to point to menus
* a11y: remove `←` char, it's a bad accessibility practice to use visual indicators to point to menus
2016-10-25 21:34:50 -02:00
Mike Jolley
b1dbfd9c5b
[Product CRUD] Grouped Handling ( #12151 )
...
* Handle grouped product saving
* Update routine
2016-10-24 09:19:29 +01:00
Rami Yushuvaev
f27499b501
i18n Improvements ( #12078 )
...
* use %s in translations strings
* merge simmilar error strings
* i18n: use sprintf() in translation strings to make them easier to understand for translators
* i18n: remove sprintf() function from translation string with unused parameter
* i18n: move colons and brackets into the translation strings
* revert comit addaa5d
* Fix broken sprintf()
* i18n: move colons into the translation strings on error messages
* Fix Travis-CI Error: operator must be surrounded by a single space
2016-10-24 08:33:32 +01:00
Rami Yushuvaev
4375618438
i18n context functions ( #12156 )
...
* Replace some context function with translation comments
* Remove two more context function
* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00
Terence O'Donoghue
edd14cd8df
New Action for after Product Attribute Settings ( #12099 )
...
Allows developers to add extra checkboxes etc.
2016-10-21 15:31:20 +01:00
Rami Yushuvaev
fec057c993
Use get_admin_page_title() function to display admin titles ( #12077 )
...
* Use get_admin_page_title() function to display admin titles
* revert
* i18n: use sprintf() in translation strings
2016-10-13 13:34:48 -03:00
Mike Jolley
42f420b16c
Correct admin link for variable product.
2016-10-13 15:18:44 +01:00
Manos Psychogyiopoulos
4658245625
Revise the stock + stock status saving logic ( #11858 )
...
* use set_stock to reset stock meta when not managing stock
Ensures that the 'woocommerce_{ variation | product }_set_stock' hooks fire to refllect the fact that stock becomes infinite.
* track state of Manage Stock? option
* quick/bulk edit fixes
* reapply quick and bulk edit fixes
* improve conditional reset logic that prevents actions from *_set_stock actions from firing with every save
2016-10-12 12:51:40 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Justin Shreve
2cc04663ee
Don't run expiry date through date() if it isn't set. Also don't do a string comparison check on an integer.
2016-09-30 14:16:41 -07:00
Claudio Sanches
be029374ce
Fixed coding standards
2016-09-13 18:24:21 -03:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Mike Jolley
311c540662
Merge pull request #11833 from aristath/master
...
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Mike Jolley
cf59524dd7
Fix order total race condition in CRUD
2016-09-07 09:28:11 +01:00
Mike Jolley
0c78ed7f9b
[2.6] Start sale on variation save if applicable
...
Fixes #11804
2016-09-06 11:37:20 +01:00
Aristeides Stathopoulos
6ac7f03241
Generic.Formatting.DisallowMultipleStatements.SameLine
2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos
cc0b29ccf4
PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket
2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
corsonr
8cb17c1923
branch conflict fix
2016-08-30 14:30:05 +02:00
Mike Jolley
df35845d4d
wc_get_coupon_id_by_code
2016-08-30 11:43:53 +01:00
Aristeides Stathopoulos
72696901f3
WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
a19848978a
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis
2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
56fd004a72
WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline
2016-08-27 06:56:09 +03:00
Aristeides Stathopoulos
55075ce3a4
WordPress.Arrays.ArrayDeclaration.IndexNoNewline
2016-08-27 06:35:20 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
ed01282340
Made data match schema
2016-08-26 15:20:44 +01:00
Mike Jolley
210763e536
use CRUD in admin
2016-08-26 14:50:17 +01:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
fdd7e797ba
API get refunds
2016-08-22 13:15:15 +01:00
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
Shiva Poudel
4cc26ab799
Backbone modal template to support wp.template
2015-08-06 10:22:53 +05:45
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
Nicola Mustone
bfb0aa95b3
fix possible fatal error on the order admin page
2015-08-05 14:10:23 +02:00
Mike Jolley
e7dfff8687
Update wording and add tooltip
...
#8690
2015-07-31 17:14:28 +01:00
Mike Jolley
82f50cedb0
Allow menu_order sorting like in 2.3
...
Also allow setting manually to allow sorting between pages.
Fixes #8690
2015-07-31 12:39:23 +01:00
Mike Jolley
64d38f6dd8
STOCK STATUS field for variations should never be hidden
...
Fixes #8687
2015-07-30 15:45:05 +01:00
Mike Jolley
7b2aec4791
Take item qty into consideration when refunding orders
...
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley
b0ee9a8cc6
Handle text vs select attribute names vs slugs
2015-07-29 10:58:28 +01:00
Claudio Sanches
b0ce578541
Show errors for admin ajax variations
2015-07-27 14:16:52 -03:00
Mike Jolley
8d6858bb80
Sanitize not needed
2015-07-27 16:43:05 +01:00
Mike Jolley
2ea6a2efab
Merge branch 'pr/8607'
2015-07-27 13:17:27 +01:00
Brent Shepherd
c8405d3d29
Remove deprecated comments and commented out code
...
Because WC_Meta_Box_Product_Data::save_variations() doesn't need to be
deprecated.
2015-07-23 22:24:07 -07:00
Brent Shepherd
4100204344
Match the two save_variations()
...
Specifically, match WC_Meta_Box_Product_Data::save_variations() to the newer,
almost identical, WC_Ajax::save_variations(), added in SHA: ae18af8c
(so that
we can eventually replace the newer WC_Ajax::save_variations().
2015-07-23 22:12:31 -07:00
Claudio Sanches
0eac4914df
[2.3] Fix check for relative downloadable product path, closes #8612
2015-07-20 13:56:28 -03:00
Claudio Sanches
791c20ae51
Added param for exclude posts from wc-product-search, closes #8613
2015-07-20 13:41:14 -03:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Josh Koberstein
38856b29c4
Correcting indentation
2015-07-16 16:02:33 -07:00
Josh Koberstein
922715791c
Passing array of term ids to wp_set_object_terms instead of term names.
2015-07-16 15:31:14 -07:00
Claudio Sanches
0806a66fc5
Fixed Grouping select, stop select if do not have parent_post and allow clear the selection, closes #8586
2015-07-16 12:51:38 -03:00
Mike Jolley
0f7342a70d
Fix grouped product label
2015-07-15 13:33:45 +01:00
Mike Jolley
015ace770d
Split up bulk edit ajax methods
2015-07-14 11:39:48 +01:00
Claudio Sanches
9e4dc64f55
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-10 20:17:27 -03:00
Claudio Sanches
b8a28bdab4
Admin variations - Cancel button reset the default form values
...
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley
86e0aa106e
bulk_edit
2015-07-11 00:05:13 +01:00
Mike Jolley
3ec4003bbb
Move add variation button and toolbars
2015-07-11 00:04:16 +01:00
Claudio Sanches
987a789367
Admin variations - Show link all variations bulk action
2015-07-10 00:49:52 -03:00
Claudio Sanches
a64695b7f5
Admin variations - Added new triggers and removed data-product_id
2015-07-09 17:31:48 -03:00
Mike Jolley
34f149bcbf
Replace dash with colon
2015-07-08 23:51:44 +01:00
Mike Jolley
fedfa53754
expand/close
2015-07-08 23:46:19 +01:00
Mike Jolley
a219243e60
Move link all variations to bulk actions
2015-07-08 23:34:21 +01:00
Mike Jolley
8161cbd095
Change remove buttons into links
2015-07-08 23:08:07 +01:00
Claudio Sanches
042a6644e2
Ajaxify grouped product option, closes #7751
2015-07-08 18:38:17 -03:00
Claudio Sanches
0a820f055f
Admin variations - Add cancel changes button #6995
2015-07-08 16:10:45 -03:00
Claudio Sanches
064af9a54c
Admin variations - Split the save button from the link/add buttons #6995
2015-07-08 15:53:00 -03:00
Claudio Sanches
843a55a6b5
Admin ajax variations
2015-07-07 20:53:36 -03:00
Claudio Sanches
4f3fb07dc9
Added new styles for variable pagenav
2015-07-07 19:06:51 -03:00
Claudio Sanches
8b681fddf7
Created bulk edit actions for variable sale schedule
2015-07-07 16:39:59 -03:00
Claudio Sanches
de01133142
Save only updated/edited variations and fixed the variations sync and product cache/transients
2015-07-06 19:07:01 -03:00
Claudio Sanches
af0b786104
Improved relative path check #8503
2015-07-06 15:02:15 -03:00
Claudio Sanches
e888294caa
[2.3] Fixed download URL for relative paths, closes #8503
2015-07-06 15:00:04 -03:00
adnanoner
725e3ee4e0
Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
...
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Claudio Sanches
ae18af8cc7
Added method to save variations via ajax
2015-07-06 01:50:20 -03:00
Claudio Sanches
2dc0ef3f86
Added method to set the pagenav fields when add and remove variations
2015-07-06 01:09:36 -03:00
Claudio Sanches
c3b5ad2337
Refactored the link all variations, remove variation and add variation methods
2015-07-05 23:55:08 -03:00
Claudio Sanches
ee437bb646
Improved the navigation and tested if variations have some edition
2015-07-05 22:31:56 -03:00
Claudio Sanches
3de8405cc9
Created variations ajax pagination
2015-07-05 22:00:38 -03:00
Claudio Sanches
b16b026647
Load initial variations when click on variations tab
2015-07-05 20:19:45 -03:00
Claudio Sanches
3d59933d6b
Created initial methods to load variations by ajax
2015-07-02 17:42:22 -03:00
Justin Shreve
8ae228f535
Do a less than or equals to check in meta-box-product-data in the case of $date_from being exactly the current time.
2015-06-17 12:18:57 +00:00
Justin Shreve
e1130005a5
When figuring out if to store a sale price, make sure $date_from is set to "today" when blank. The date meta was previously set, but the check to set the actual sale price saw $date_from as empty.
2015-06-16 20:00:16 +00:00
Justin Shreve
5d8b17bd6f
Update the help text to mention that we expect already encoded URLs.
2015-06-16 15:48:05 +00:00
Mike Jolley
f8151f416c
Merge branch 'text-attribute-handling'
2015-06-16 15:11:58 +01:00
Mike Jolley
622b11ae9f
Add version check to prevent pre-2.4 logic kicking in when not needed
...
@claudiosmweb
2015-06-16 15:10:53 +01:00
Mike Jolley
75b01c5201
[2.3] woocommerce_downloadable_file_allowed_mime_types filter
...
#8362
2015-06-15 15:37:34 +01:00
Mike Jolley
753a22734f
Prevent Manage stock being forced on
...
Closes #8336
2015-06-12 11:22:54 +01:00
Mike Jolley
12396f4296
Attempted bw compat by comparing sanitised text to real text
2015-06-11 15:42:18 +01:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
Mike Jolley
922ca47cc1
[2.3] woocommerce_downloadable_file_exists filter
2015-06-09 15:27:28 +01:00
Mike Jolley
eb4b9a7cd1
Merge pull request #8304 from krautnerds/quick-fix-variation-admin-stock-display
...
Quick fix stock display for product variations
2015-06-09 12:24:55 +01:00
Claudio Sanches
0b861d6587
Fixed filetype check for digital downloads, closes #8316
...
@mikejolley
2015-06-07 22:39:32 -03:00
Florian Ludwig
2b4e19d0b4
Quick fix stock display for product variations
...
This fixes bug #8302 in a very ugly way (in my opinion)
2015-06-05 19:22:32 +02:00
Mike Jolley
a4c2a73050
Max array keys
2015-06-05 13:37:45 +01:00
Mike Jolley
1505424469
Define allowed_file_types
...
#13
2015-06-01 13:37:43 +01:00
Mike Jolley
527311d553
Validate file types when saving products. Closes #13
...
Handles 3 possible types of file;
1. Relative path on server
2. Absolute URL
3. Shortcodes
URLs without extensions are not validated.
2015-06-01 13:37:39 +01:00
Mike Jolley
5b435024ea
Use htmlspecialchars to ensure characters get encoded for select2
...
We cannot update to select2 4.0 until a major release. Closes #4
2015-06-01 13:37:26 +01:00
Mike Jolley
b9708c4df9
Show refunded total shipping and taxes
...
Closes #8222
2015-06-01 11:06:11 +01:00
Mike Jolley
0a3defd798
Move tax enabled check
2015-05-29 14:55:57 +01:00
roykho
b9eefa58fa
use esc_textarea function
2015-05-28 16:08:22 -07:00
roykho
54b0a0ca54
changed dynamic variation description to allow limited HTML and some sanitized tweaks
2015-05-28 14:31:45 -07:00
Mike Jolley
e51eae80c6
Merge pull request #8167 from roykho/dynamic-variation-description
...
Dynamic variation description
2015-05-28 15:53:03 +01:00
Mike Jolley
c01bc43369
Adjust #8165 to deal with 0
2015-05-19 12:53:03 -04:00
Mike Jolley
a08b2e5968
Loop over all posted attributes by referencing max posted key
...
Closes #8165
2015-05-19 12:46:32 -04:00
Mike Jolley
bb77120619
Auto load customer details + tweak icons
...
Closes #8112
2015-05-15 12:52:25 +01:00
roykho
b812b2fd94
add dynamic variation description feature
2015-05-14 10:56:26 -07:00
Mike Jolley
48d071731a
Set date after status
...
Closes #8078
2015-05-05 14:19:22 +01:00
Claudio Sanches
e3782efbf5
Merge pull request #8001 from bordoni/feature/add_context_to_woocommerce_admin_order_item_headers_action
...
Admin Order Header lacks Variable for context
2015-05-05 08:56:39 -03:00
Claudio Sanches
89cd5ac32d
Added esc_html() for #8075
2015-05-05 08:53:43 -03:00
Claudio Sanches
2c52e0e973
Fixed conflicts for #8075
2015-05-05 08:52:28 -03:00
Peter
d94b2c95fc
Update class-wc-meta-box-order-data.php
2015-04-29 16:47:17 -04:00
Peter
c8707a68c1
Update class-wc-meta-box-order-data.php
...
Set "Order" string to be retrieved from post type object singular name rather than being hard coded. Similar to side bar meta box titles.
2015-04-29 16:01:34 -04:00
Mike Jolley
d3415f2414
[2.3] Remove submitdiv and fix post status
...
Closes #8039
2015-04-27 11:13:49 +01:00
Gustavo Bordoni
22393df867
The woocommerce_admin_order_item_headers action lacks a variable for context
2015-04-21 23:13:55 -03:00
Claudio Sanches
08c8fad1fc
Fixed standards for #7842
2015-04-13 12:31:18 -03:00
Mike Jolley
b82339a4cb
Merge pull request #7925 from dominic-p/order-meta-undefined-key
...
Prevent notices if variation_id isn't set
2015-04-13 10:53:49 +01:00
Mike Jolley
e6de50f556
Merge pull request #7842 from nathanielks/hotfix/coupon-meta-box-products-error
...
Check if product is object before adding to array.
2015-04-13 10:48:09 +01:00
Dominic
be8e61161b
Prevent notices if variation_id isn't set
...
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Mike Jolley
26e7a5c705
Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
...
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster
cd20ce6789
variation images. closes #7844
2015-04-08 10:19:23 +01:00
shivapoudel
227c83a084
Use of <button> instead of <a> for modal-close
...
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel
29f584ba98
Fix - Unusual slightly dark box on the backdrop of modal right side
2015-04-04 13:51:10 +05:45
Nicola Mustone
765b1e2e7d
wrong var
2015-04-01 15:35:53 +02:00
Nicola Mustone
85fd634861
fix scrutinizer issues
2015-04-01 15:33:56 +02:00
Nathaniel Schweinberg
7de9f02574
fixed variable typo
2015-03-28 09:28:31 -05:00
Nathaniel Schweinberg
9c9b494d0f
Check if product is object before adding to array. Prevents non-object fatal errors
2015-03-28 09:09:43 -05:00
Mike Jolley
a49ac39519
Tweak note wording for clarity
...
Closes #7239
2015-03-24 11:27:33 +00:00
Claudio Sanches
931679bc82
Fixed the _wc_file_urls sanitization
2015-03-23 11:43:34 -03:00
Nicola Mustone
c593e4ca50
added customer order refunded email
2015-03-20 16:31:31 +01:00
Claudio Sanches
f058d43556
Allowed paths for file url, closes #7746
2015-03-17 14:20:51 -03:00
Gerhard
0e8ef24003
Allow saving of empty download expiry date, closes #773
2015-03-16 14:53:59 +02:00
Remi Corson
fd80f61609
fix variable product docs URL
2015-03-13 17:51:50 +01:00
Mike Jolley
01ee531136
Same as #7662 for backend
2015-03-09 13:48:47 +00:00
Brent Shepherd
32cd95cc80
Order "Order Notes" on Edit Order screen by ID
...
So that insertion order is preserved in case multiple comments were inserted within
the same second of each other.
2015-03-05 15:49:45 -08:00
Claudio Sanches
37882756d3
Fixed HTML entities for up-sells and cross-sells fields, closes #7553
2015-02-25 10:27:53 -03:00
pjv
1cdc3174ca
fix BadMethodCallException
...
receiving lines like this in the php error log:
Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function get_formatted_name() on a non-object (boolean)' in /var/www/example.com/htdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:484\nStack trace:\n#0 /var/www/example.com/htdocs/wp-admin/includes/template.php(1044): WC_Meta_Box_Product_Data::output()\n#1 /var/www/example.com/htdocs/wp-admin/edit-form-advanced.php(600): do_meta_boxes()\n#2 /var/www/example.com/htdocs/wp-admin/post.php(209): include()\n#3 {main}
The error resulted in a WSOD when trying to edit some products.
2015-02-22 09:01:37 -07:00
Mike Jolley
2a90208f93
Cross/up-sells should not search variations.
...
Closes #7502
2015-02-20 12:12:03 +00:00
Mike Jolley
82ac0fc11e
Detect shortcodes when saving URLs.
...
Fixes #7474
2015-02-19 11:05:04 +00:00
Claudio Sanches
517a447743
Fixed some issues for scrutinizer
2015-02-18 16:09:02 -02:00
Mike Jolley
7899dd95d6
Run File URLs through esc_url_raw instead of wc_clean to preserve spaces.
...
Closes #7442
2015-02-16 14:23:13 +00:00
Mike Jolley
8bdd4fc283
Run item meta label through wc_attribute_label() in admin order page.
...
Closes #7420
2015-02-16 13:49:44 +00:00
James Collins
0bbb4464ab
Fix 2 undefined index notices when editing/saving a product
...
Fixes:
Notice: Undefined index: upsell_ids in /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php on line 1202
Call Stack
# Time Memory Function Location
1 0.0110 486692 {main}( ) ../post.php:0
2 4.7790 60047856 edit_post( ??? ) ../post.php:229
3 4.7917 60075016 wp_update_post( ???, ??? ) ../post.php:321
4 4.7930 60089156 wp_insert_post( ???, ??? ) ../post.php:3572
5 4.9212 60223012 do_action( ???, ???, ???, ??? ) ../post.php:3499
6 4.9213 60224380 call_user_func_array ( ???, ??? ) ../plugin.php:496
7 4.9213 60224412 WC_Admin_Meta_Boxes->save_meta_boxes( ???, ??? ) ../plugin.php:0
8 7.2460 60224516 do_action( ???, ???, ??? ) ../class-wc-admin-meta-boxes.php:207
9 7.2539 60199340 call_user_func_array ( ???, ??? ) ../plugin.php:496
10 7.2890 60735660 WC_Meta_Box_Product_Data::save( ???, ??? ) ../plugin.php:0
( ! ) Notice: Undefined index: crosssell_ids in /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php on line 1203
Call Stack
# Time Memory Function Location
1 0.0110 486692 {main}( ) ../post.php:0
2 4.7790 60047856 edit_post( ??? ) ../post.php:229
3 4.7917 60075016 wp_update_post( ???, ??? ) ../post.php:321
4 4.7930 60089156 wp_insert_post( ???, ??? ) ../post.php:3572
5 4.9212 60223012 do_action( ???, ???, ???, ??? ) ../post.php:3499
6 4.9213 60224380 call_user_func_array ( ???, ??? ) ../plugin.php:496
7 4.9213 60224412 WC_Admin_Meta_Boxes->save_meta_boxes( ???, ??? ) ../plugin.php:0
8 7.2460 60224516 do_action( ???, ???, ??? ) ../class-wc-admin-meta-boxes.php:207
9 7.2539 60199340 call_user_func_array ( ???, ??? ) ../plugin.php:496
10 7.2890 60735660 WC_Meta_Box_Product_Data::save( ???, ??? ) ../plugin.php:0
2015-02-09 11:51:33 +08:00
Mike Jolley
7694f8039c
Dead vars when saving variations
2015-02-03 14:08:43 +00:00
Mike Jolley
447ee6e7bb
Docblocks
2015-02-03 14:02:38 +00:00
Mike Jolley
c11d283ddc
Still trying to get scruit to pick up these variables. Testing a few variations.
2015-02-03 13:49:04 +00:00
Mike Jolley
7c019c0c50
More docblocks; the check for WP_POST isn't needed as the second case (isset) runs regardless and is true for posts
2015-02-03 13:13:07 +00:00
Mike Jolley
52c84f407c
Fix download save after adding with ajax
2015-02-03 10:57:43 +00:00
Jack Gregory
836a87d6e7
Add hook to admin product advanced data
2015-02-01 15:17:07 +00:00
Tamara Zuk
c1100fbce5
Reviews meta box: avoid undefined index notice
...
Avoids a notice when updating some Product Reviews Pro review types
2015-01-31 14:05:51 -05:00
Mike Jolley
9f8a7d1199
Remove datepicker icon's and use focus event
2015-01-30 12:54:33 +00:00
Mike Jolley
064f2ebe17
Fix multiple product section in coupon section. Fixes #7170
2015-01-21 14:24:39 +00:00
Mike Jolley
2693e110c6
Correct @var syntax.
2015-01-20 11:35:59 +00:00
Mike Jolley
c0bea39c95
Seeing if magic properties are recognised
2015-01-20 11:06:15 +00:00
Mike Jolley
562743e847
Another @var declaration
2015-01-20 10:52:08 +00:00
Mike Jolley
0e4026941b
Move $current_tab to where used
2015-01-20 10:41:26 +00:00
Mike Jolley
0e9bb50aae
Docblock experiments continued...
2015-01-20 10:29:54 +00:00
Mike Jolley
bc45f7755f
Testing to see if scruitinizer recognises docblock
2015-01-20 10:01:28 +00:00
Mike Jolley
0b393b7e82
Add comment #7163
2015-01-20 09:43:56 +00:00
Brent Shepherd
f9f3054c22
Restore $theorder
...
SHA: 74ba11c189
removed instantiation of `$theorder` global in `WC_Meta_Box_Order_Actions::output()`
as it was mistaken for unused code. However, some callbacks attached to hooks in that function may
actually rely on that global to determine if actions should be displayed for certain orders.
2015-01-19 17:12:26 -08:00
Mike Jolley
0d64e3854d
Add tooltips for manual and auto refunds Closes #7117
2015-01-19 14:50:06 +00:00
Claudio Sanches
505501912f
Fixed "PHP Notice: Undefined variable: metabox_class" error for non-taxonomy attributes
2015-01-19 11:38:47 -02:00
Nicola Mustone
47b0c4cb97
clearer coupon option description
2015-01-19 09:18:44 +01:00
Claudio Sanches
a82aa2bd13
Fixed refund amount when product dont have taxes
2015-01-15 16:57:33 -02:00
Claudio Sanches
b3d6f6358e
Fixed the selected attributes in product variations panel, closes #7115
2015-01-15 16:01:55 -02:00
Mike Jolley
a52f94fb42
$order_taxes check
2015-01-15 15:19:19 +00:00
Mike Jolley
e1c54687ac
Minor issues with variables
2015-01-14 12:17:19 +00:00
Mike Jolley
206a650488
Tidy variation output
2015-01-14 12:17:09 +00:00
Mike Jolley
8d8e57cbf5
Use @var to define vars passed in
2015-01-14 11:46:03 +00:00
Mike Jolley
32f2a44091
define @global
2015-01-14 11:32:00 +00:00
Claudio Sanches
3ddcc68a19
includes/admin/meta-boxes/class-wc-meta-box-webhook-data.php
...
Removed old webhook file
2015-01-13 16:32:54 -02:00
Mike Jolley
550e569a29
Tweak placement and styling of view link. #7065
2015-01-13 12:27:07 +00:00
Mike Jolley
9b8c23e2bd
Merge pull request #7065 from pagelines/master
...
Link to find all customers orders from order page.
2015-01-13 12:16:51 +00:00
Claudio Sanches
695b04be61
Fixed conflits
2015-01-12 16:02:46 -02:00
Claudio Sanches
017831f1c6
Fixed the backbone modal
2015-01-12 15:11:01 -02:00
Mike Jolley
8110a8376b
Upsells and cross sells select2
2015-01-12 16:39:49 +00:00
Claudio Sanches
60b23e6f6f
Merge branch 'chosen-to-select2' of github.com:woothemes/woocommerce into chosen-to-select2
2015-01-12 13:48:43 -02:00
Mike Jolley
9852d9c6ec
Order data JS select2 + refactor
2015-01-12 15:43:13 +00:00
Mike Jolley
2e82cbb311
Customer ajax searches
2015-01-12 13:04:19 +00:00
Mike Jolley
1fa26f1f6e
Product searches select2
2015-01-12 11:56:44 +00:00
Nicola Mustone
f00cd875f1
Typo
2015-01-12 12:31:42 +01:00
Mike Jolley
4b7f97c1de
Attributes
2015-01-09 16:53:47 +00:00
Simon
42c570114c
Add some spaces.
2015-01-08 18:55:26 +00:00
Claudio Sanches
03193b867b
Creted new webhooks edit interface
2015-01-08 16:34:30 -02:00
Simon
4003acd1e6
Link to find all customers orders from order page.
...
Moved to master branch as instructed.
Added check to only display if valid customer.
Removed pointless ?><?php
2015-01-08 16:57:40 +00:00
Mike Jolley
5c86e962e8
Hide restock checkbox until qty is input Closes #6937
2015-01-05 17:19:18 +00:00
Claudio Sanches
e53a6f5e57
Fixed variation fields when use "Link all variations" button
2015-01-02 15:07:31 -02:00
shivapoudel
39bf306f1a
Fix add tax backbone modal backdrop issue
2015-01-02 20:00:21 +05:45
shivapoudel
eab3a23b14
Fix missing icon for add tax backbone modal
2015-01-02 19:56:59 +05:45
Claudio Sanches
794621e3ba
Improved the close button in backbone modal #7016
2015-01-02 11:58:57 -02:00
Claudio Sanches
28d960d5bb
Added variable_pricing class/wrap for variable price fields, closes #7008
2014-12-23 14:12:12 -02:00
Mike Jolley
22cc1fb0c7
Add attributes with ajax and don't load all attributes at once.
...
Significantly improves performance with many attributes in admin.
Closes #6852 cc @claudiosmweb
2014-12-22 14:16:15 +00:00
Rtransat
d53210dfbf
Fix label "for" attribute for products_categories
2014-12-19 17:15:24 +01:00
Claudio Sanches
690b04b29a
Improved the webhook meta boxes
2014-12-17 16:20:37 -02:00
Claudio Sanches
67f90fbb87
Created webhook logs meta box
2014-12-17 15:50:19 -02:00
Claudio Sanches
9b9243fb92
Validated webhook delivery_url and topic
2014-12-17 10:45:20 -02:00
Claudio Sanches
6ccf391168
Improved the webhook data class and send a webhook ping when create a new
2014-12-17 10:42:39 -02:00
Claudio Sanches
5b318b1d2a
Added the wc_is_webhook_valid_topic() and wc_is_valid_url() conditional functions
2014-12-17 10:16:14 -02:00
Claudio Sanches
429c91708b
Improved the WC_Meta_Box_Webhook_Data:save() method
2014-12-17 09:29:43 -02:00
Claudio Sanches
509147b105
Created webhook actions meta box
2014-12-16 20:18:06 -02:00
Claudio Sanches
4d3673c4c2
Created webhook data meta box class
2014-12-16 19:05:03 -02:00
Mike Jolley
65dbab486c
[2.2] Don't force tax_rate_id to an integer. Allow strings.
...
Used in Taxamo extension.
2014-12-11 11:06:01 +00:00
Brent Shepherd
40de60ea3e
Give child class access to billing/shipping fields
...
So that custom order types can extend `WC_Meta_Box_Order_Data` for their
own purposes without having to redefine all the billing/shipping fields
2014-12-10 18:46:32 -08:00
Brent Shepherd
1f2375f7e4
Make no order notes label more generic
...
To account for it being displayed on custom order type Add/Edit screens
where the order type is not referred to as an 'Order' (e.g. a 'Subscription',
'Refund' or 'Pre-order').
2014-12-10 18:46:32 -08:00
Brent Shepherd
b0c2f05a6a
Use post type label for "Save Order" button
...
To improve compatibility with custom order types
Conflicts:
includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
2014-12-10 18:46:15 -08:00
James Koster
316b43f770
coupons. closes #6836
2014-12-09 16:06:34 +00:00
Mike Jolley
95a504cf84
Fix admin term output
...
Resolves an issue decoding foreign chars caused by #6555
Fixes #6550
2014-12-09 09:54:42 +00:00
Mike Jolley
b470e64b61
Error in previous commit.
2014-12-08 12:34:42 +00:00
Mike Jolley
80d08787a8
Correctly save custom address fields in admin
2014-12-08 12:30:11 +00:00
Mike Jolley
cf694bcae6
Merge pull request #6875 from tamarazuk/limit-order-action
...
Execute `woocommerce_order_action_{$action}` only once
2014-12-05 14:04:47 +00:00
Mike Jolley
6a45f8f196
Merge branch 'master' of https://github.com/woothemes/woocommerce
2014-12-03 12:33:19 +00:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Claudio Sanches
8fac703f97
Added missing textdomain
...
cc @bryceadams #fail
2014-12-03 10:30:32 -02:00
Bryce
80ccc7b09d
Add help tip for schedule sales info
...
Closes #6863
2014-12-03 13:20:24 +07:00
Tamara Zuk
f63c5e8c8f
Execute `woocommerce_order_action_{$action}` only once
...
Prevents a “Maximum function nesting level reached” fatal error in
certain cases.
Since this ends up running on `’save_post’`, updating something like
the order status while hooked onto to
`woocommerce_order_action_{$action}` causes a fun recursion :)
2014-11-30 00:14:22 -05:00
splashingpixels
13ad1100c5
undefined index when product image gallery side meta box is removed fixes 6855
2014-11-27 20:42:58 -08:00
Mike Jolley
6df4c143cc
Adjust total for partially refunded order totals
...
Closes #6666
2014-11-27 10:04:18 +00:00
Mike Jolley
4bc63de72a
Added 'stupidtable' script to allow order item sorting on the order screen (by name, cost, qty).
...
Closes #5998
2014-11-26 15:37:06 +00:00
Mike Jolley
3904035003
Disable already added attributes #6189
2014-11-26 11:35:07 +00:00
Mike Jolley
4a8c541fbf
Remove 'order' discounts from classes
2014-11-25 11:05:14 +00:00
Mike Jolley
549d7ab2c0
Removed 'apply before tax' options for coupons - this should be the default core behaviour
2014-11-24 17:24:25 +00:00
Mike Jolley
8b4332a037
Refactors to shipping tax rate methods
2014-11-21 13:06:33 +00:00
claudiosmweb
74ba11c189
Removed some unused code
2014-11-19 21:36:47 -02:00
claudiosmweb
f34cead914
Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax()
2014-11-18 14:45:29 -02:00
Nicola Mustone
22a32ae9c8
Fixes #6555
2014-11-18 14:20:47 +01:00
Mike Jolley
a0bf72f7b5
Bulk edit sales schedule on variations
...
Closes #6300
2014-11-17 16:50:25 +00:00
Mike Jolley
2e2ce3c286
[2.2] During refunds, correctly set shipping tax totals
...
Fixes #6691
2014-11-14 12:52:43 +00:00
Mike Jolley
f8bc4a0abd
Add item cost column Closes #6650
...
@jameskoster
2014-11-11 13:40:47 +00:00
Mike Jolley
01091c304c
Fix conflicts in #5949
2014-11-11 11:23:44 +00:00
Nicola Mustone
011bb0a784
Added cancelled order admin email
2014-10-29 15:05:43 +01:00
Mike Jolley
3d1285c8c4
Allow some limited html in text attributes
...
Fixes #6620 . @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
claudiosmweb
a5ad428faf
[2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622
2014-10-28 18:37:53 -02:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley
c62a13148b
Instead of using saved title from order, use payment method_title for refund buttons
...
Closes #6334
2014-10-24 12:11:28 +01:00
Nicola Mustone
dcde2a52e2
Removed GMT
2014-10-22 17:31:12 +02:00
Nicola Mustone
cbbdfadb74
Order note use comment_date instead of GMT date
...
The order comment note should not use always GMT date. I think using `comment_date` is better.
Ref Ticket: #224994
2014-10-22 17:28:25 +02:00
Mike Jolley
997e7e7910
extra sanitisation for product data
2014-10-22 12:12:25 +01:00
James Koster
e27d4afee1
data tabs tweaks. #6562
2014-10-17 14:50:23 +01:00
James Koster
eb258950bd
variations markup / css refactor. #6562
2014-10-17 12:17:30 +01:00
Barry Kooij
acf6644830
Confirm to user email is sent when sending email from within order edit screen.
...
Fixes #6461 .
2014-10-14 15:18:09 +02:00
Mike Jolley
5c1b931438
[2.2] Fix refund date.
...
Fixes #6499
2014-10-09 16:43:26 +01:00
Mike Jolley
02f5ed7542
Merge pull request #6327 from SiR-DanieL/order-notes
...
Fixing order notes date
2014-10-09 12:39:00 +01:00
Mike Jolley
853e17d28f
[2.2] Prevent address fields being empty when editing an address within an order
...
Fixes #6476
2014-10-08 15:13:26 +01:00
thenbrent
94355b73dc
Display order & item totals with correct currency
...
If a store changes currency or is using an extension which allows for
purchasing in multiple currencies, the currency symbol displayed on the
Edit Order admin screen may be incorrect for previous orders because
it uses the `wc_price()` fallback, which is the site wide currency
rather than the currency for that specific order. This fixes that.
2014-10-07 09:59:52 +10:00
Mike Jolley
589da28f42
Small tweak on text in #6457
2014-10-06 14:31:32 +01:00
Bryce
5a6f0b1529
Re-do coupon free shipping option desc issue #6391
...
I didn’t update the POT as was having some poedit issues
2014-10-03 16:44:57 +07:00
Mike Jolley
819436f0a3
Merge pull request #6388 from quadshot/action-buttons
...
Allow adding custom 'action buttons' in order item metabox
2014-10-02 14:06:11 +01:00
Mike Jolley
3e20b113d6
Add hook to refund html
...
Closes #6406
2014-10-02 13:40:34 +01:00
Loushou
a37ea4976b
new filter for adding custom 'action buttons' on the order_items metabox in the admin edit order screen
...
loushou
2014-09-24 17:41:13 -07:00
Mike Jolley
a91c74d794
Merge pull request #6309 from quadshot/before-oi-meta
...
filter for adding info before order item itemmeta in order metabox
2014-09-22 10:36:48 +01:00
Mike Jolley
0aca8e01f8
Merge pull request #6305 from quadshot/line-buttons
...
filter to allow custom 'add line' buttons
2014-09-22 10:23:46 +01:00
shivapoudel
ae3bc4051f
Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :)
2014-09-21 01:50:06 +05:45
Loushou
0f8c8886e0
adding the after
...
loushou
2014-09-19 08:34:34 -07:00
Loushou
09159f83c7
removing extra param and correcting whitespace
2014-09-19 08:05:25 -07:00
Mike Jolley
4803937222
Fix adding items to orders
...
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.
Closes #6313
2014-09-19 12:52:26 +01:00
Nicola Mustone
46689ce083
Fixing order notes date
2014-09-19 09:55:16 +02:00
Loushou
f17bb56891
filter to allow custom 'add line' buttons
...
loushou
2014-09-18 09:05:42 -07:00
Loushou
f0c4b80113
filter for adding info before order item itemmeta in order metabox
...
loushou
2014-09-18 08:55:13 -07:00
Loushou
76f3049751
adding a method to allow default billing information in order metabox
...
loushou
2014-09-18 08:33:49 -07:00
Mike Jolley
28e13bdab3
Add notice when order is no longer editable.
...
Closes #6298
2014-09-18 11:32:25 +01:00
Mike Jolley
8e35bbf0ba
Clear transients for new parent when saving a grouped product. Closes #6278
2014-09-17 14:18:43 +01:00
Mike Jolley
5343833427
Fix - Saving of variation stock when parent stock management is disabled.
2014-09-10 21:03:37 +01:00
Mike Jolley
1d13f767b3
Merge pull request #6157 from tamarazuk/coding-standards
...
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley
265ffee23a
Remove $can_be_edited in favour of ->is_editable()
...
For #6154
2014-09-03 10:09:04 +01:00
thenbrent
78d932e6d2
Add WC_Abstract_Order::is_editable()
...
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
claudiosmweb
cd154a30ef
improved the line items backward compatibility, closes #6109
2014-09-01 12:35:04 -03:00
Tamara Zuk
fc0e7adacb
Coding Standards: Admin - Meta boxes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Mike Jolley
e6defc0ddd
Merge pull request #6127 from tamarazuk/master
...
Order totals: 4 new action hooks
2014-08-29 09:46:57 +01:00
thenbrent
175923056a
Only display "Refund" when unrefunded amount > 0
...
If an order has been fully refunded, the "Refund" button was still
displayed despite there being no amount to refund.
2014-08-28 22:04:51 -07:00
Tamara Zuk
eb9460aa2d
Order totals: 4 new action hooks
2014-08-28 21:56:30 -04:00
justinstern
8417209d6c
Improve, fix, WC_Payment_Gateway::get_transaction_url()
...
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
claudiosmweb
6081f3b61f
fixed some missing and wrong textdomains
2014-08-15 16:08:43 -03:00
Mike Jolley
575ba5974e
Variation level backorder 'parent' option makes no sense now parent backorder select is hidden
...
#6035
2014-08-15 15:29:14 +01:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Mike Jolley
3f53512c7f
Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
...
Fixes #6017
2014-08-13 15:03:30 +01:00
Mike Jolley
dfe30bfe84
Tweak max spend text for #5992
2014-08-13 11:43:28 +01:00
Mike Jolley
dc60cea213
Merge pull request #5992 from adamawesomeface/master
...
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00
Mike Jolley
9084ae222f
Remove unused/uncoded options from dev branch
...
Fixes #6004
2014-08-13 11:38:49 +01:00
Mike Jolley
5bc293a69c
Initial display of add order item buttons Fixes #5991
...
Also Closes #5994
2014-08-12 12:54:44 +01:00
adamawesomeface
0e22412a7d
maximum ammount for coupon functionality added
2014-08-08 07:38:58 -04:00
Gustavo Bordoni
7d4a6fc7d8
Merge branch 'master' into issue/5875
...
Conflicts:
assets/css/admin.css
2014-08-05 01:21:48 -03:00
claudiosmweb
bce502f455
improved handling of stock options to save changes to a variable product
2014-08-04 14:53:29 -03:00
Gustavo Bordoni
34a47c3682
Removing a `var_dump`, My bad
2014-08-04 08:14:00 -03:00
Gustavo Bordoni
6b3f228a55
Adding the information about who did the refund on the backend
2014-08-02 21:57:14 -03:00
Gustavo Bordoni
fbf4ffd39b
Include a isset before using a variable that might not be there
2014-08-02 21:32:18 -03:00
Gustavo Bordoni
46ef1638ce
Passing all the params for the `edit_address` fields, and build `id` param if it doens't exists
2014-08-01 01:26:45 -03:00
claudiosmweb
a0bd72b9f3
Hide variation stock when manage stock is unchecked
...
closes #5935
@mikejolley
2014-07-30 15:32:06 -03:00
Mike Jolley
d41cf9552f
Merge pull request #5846 from corsonr/attributes_do_action
...
Add attributes do_action in products settings
2014-07-30 12:20:29 +01:00
Barry Kooij
e49237c692
Added isset() checks around $legacy_order, var is only set if 'woocommerce_calc_taxes' option is 'yes'.
2014-07-30 11:13:09 +02:00
Mike Jolley
c465c7235d
Merge branch 'credit-notes'
...
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Mike Jolley
8a6831f33b
Hide tax columns for legacy orders
...
@claudiosmweb
2014-07-28 17:08:11 +01:00
claudiosmweb
fda7a5565c
removed extra td element in refunds
2014-07-28 10:40:08 -03:00
Mike Jolley
42ac0c0368
Fix refund table alignment
2014-07-28 11:45:16 +01:00
Mike Jolley
bf86072cce
Interface tweaks
...
#3164
2014-07-28 11:41:52 +01:00
claudiosmweb
acaee93236
fixed refunds cancel button action
2014-07-25 13:32:16 -03:00
Mike Jolley
5e663a7fa8
Show refunded line items inline
2014-07-25 16:48:19 +01:00
Mike Jolley
a7eaefc374
Change button label for calc taxes
2014-07-25 10:48:47 +01:00
claudiosmweb
2d61126502
added add_shipping and add_fee ajax actions
2014-07-24 17:55:25 -03:00
claudiosmweb
5b3f69de0a
fixed the "calculate tax" action #3164
2014-07-24 17:33:26 -03:00
Mike Jolley
19b6922044
Refund line items and taxes
2014-07-24 15:34:14 +01:00
Mike Jolley
e38dcf79bb
Show refund boxes on click
2014-07-24 10:56:32 +01:00
Mike Jolley
0b231f2e03
Calc refund amounts and total via javascript
2014-07-24 10:53:29 +01:00
Mike Jolley
1ecfc59dfe
Remove refund qty column
2014-07-24 10:22:04 +01:00
Mike Jolley
e9b3d67ab7
Coupon template not needed
2014-07-24 10:21:57 +01:00
Mike Jolley
13f4f889a4
woocommerce_admin_order_item_values + refund fields
2014-07-24 10:21:47 +01:00
claudiosmweb
a46ef1fced
improved the shipping order items
2014-07-23 19:30:55 -03:00
Mike Jolley
3aa9475e39
Coupon code display
2014-07-23 11:47:02 +01:00
Mike Jolley
4a306beef5
Max 100 taxes displayed, but show text input
2014-07-23 11:30:06 +01:00
claudiosmweb
ae1881de06
fixed the line item quantity calcule #3164
2014-07-22 18:08:24 -03:00
claudiosmweb
b56b60f191
stopped order editing when the status is not equal to pending or on-hold #3164
2014-07-22 16:25:37 -03:00
Mike Jolley
388e2eec49
removed display block
2014-07-22 16:46:28 +01:00
Mike Jolley
249f18f70d
Merge branch 'credit-notes' of https://github.com/woothemes/woocommerce into credit-notes
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
2014-07-22 16:44:23 +01:00
Mike Jolley
3e4506c376
Clean up total/subtotal display
2014-07-22 16:44:02 +01:00
claudiosmweb
7b5b1fc845
prevented that exist duplicate tax rate columns #3164
2014-07-22 12:42:17 -03:00
claudiosmweb
954a5ddc23
only show refund via button when gateway supports refunds #3164
2014-07-22 12:13:35 -03:00
Mike Jolley
559ff43c42
Shipping should be displayed before fees
2014-07-22 14:42:12 +01:00
Mike Jolley
414bc4e314
Dashes when there is no tax
2014-07-22 14:42:04 +01:00
Mike Jolley
b032c857ee
Fix delete of shipping and fee line items. Remove checkbox for refunds.
2014-07-22 14:38:07 +01:00
Mike Jolley
550db70d77
Line item icons
2014-07-22 14:27:47 +01:00
Mike Jolley
6e0a880699
Group line items by type
2014-07-22 14:18:11 +01:00
Mike Jolley
c65cd44aef
Fix input styling
2014-07-22 11:56:52 +01:00
Mike Jolley
0c5be5f054
Moved add tax button, and tidied up tax column display
2014-07-22 11:54:59 +01:00
claudiosmweb
d2340a5cef
fixed refund calcule
2014-07-20 23:26:40 -03:00
claudiosmweb
098919f469
removed some order totals old stuff
2014-07-20 22:59:42 -03:00
claudiosmweb
144d094ad2
created method for delete order tax
2014-07-20 22:57:23 -03:00
claudiosmweb
d875cfa1ac
created ajax method to add new taxes
2014-07-20 22:36:12 -03:00
claudiosmweb
3e287ff19c
fixed calculate total action
2014-07-20 21:12:39 -03:00
claudiosmweb
eed6ca4405
removed order totals meta box
2014-07-20 20:53:55 -03:00
claudiosmweb
2d7e1cc51a
added method to save all order taxes
2014-07-20 20:53:43 -03:00