Mike Jolley
7475778d05
Workaround for #5962
2014-08-05 21:12:52 +01:00
Mike Jolley
80ca1c3808
Cast array instead Closes #5890
2014-08-05 11:28:27 +01:00
Mike Jolley
c4b813262c
Revert "Check for array"
...
This reverts commit 61df5d5534
.
2014-08-05 11:27:25 +01:00
Mike Jolley
a186e1e52f
Merge pull request #5951 from grey-rsi/master
...
class-wc-widget-price-filter.php - add filter
2014-08-05 11:08:02 +01:00
Mike Jolley
49b597665e
Merge pull request #5967 from SiR-DanieL/master
...
Fixed issue #5895
2014-08-05 10:49:40 +01:00
claudiosmweb
0617d53353
fixed undefined offset when added products in cart
2014-08-04 16:37:42 -03:00
claudiosmweb
ae66ba4553
fixed variation tax_class and backorders
...
@mikejolley
2014-08-04 16:05:15 -03:00
claudiosmweb
b67a1e6b0e
stopped endless loop when saving variable product that manages stock
...
@mikejolley
2014-08-04 15:31:40 -03:00
claudiosmweb
bce502f455
improved handling of stock options to save changes to a variable product
2014-08-04 14:53:29 -03:00
Nicola Mustone
7c7f6b30e5
following wc coding standards
2014-08-04 17:49:14 +02:00
Nicola Mustone
69694e6242
following wc coding standards
2014-08-04 17:45:35 +02:00
Nicola Mustone
a4103f7bfe
following wc coding standards
2014-08-04 17:42:16 +02:00
Nicola Mustone
c5f9f2157f
Fixed issue #5895
2014-08-04 17:28:20 +02:00
Mike Jolley
3f58d8801a
Merge pull request #5950 from afurculita/master
...
Autoloading widget classes
2014-08-04 14:21:18 +01:00
Mike Jolley
f84cd332dc
Merge pull request #5960 from bordoni/issue/5958
...
User that refunded now been shown at the Order edit page
2014-08-04 14:18:32 +01:00
Mike Jolley
658089a46b
Merge pull request #5963 from SiR-DanieL/master
...
Child & Parent Themes in System Report
2014-08-04 14:06:25 +01:00
Gustavo Bordoni
34a47c3682
Removing a `var_dump`, My bad
2014-08-04 08:14:00 -03:00
Mike Jolley
760cd6861c
Small refactor of is_visible
...
Also returns false for non-published products and fixes #5955
2014-08-04 11:19:58 +01:00
Mike Jolley
e02d94d305
Fix stock logic in 2.2 for variations with parents which manage stock
...
Closes #5957 @claudiosmweb can you review this change?
2014-08-04 10:51:54 +01:00
Nicola Mustone
91177e43da
woocommerce support line outside the child theme conditional
2014-08-03 14:05:49 +02:00
Nicola Mustone
359d910090
Merge branch 'master' of https://github.com/woothemes/woocommerce
2014-08-03 13:59:17 +02: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
GreY
9dd743158e
Add filter to convert amount on based currency rate
2014-08-01 15:09:25 +03:00
Alexandru Furculita
8eb710ec5d
Update class-wc-widget-cart.php
2014-08-01 13:47:07 +03:00
Alexandru Furculita
37e12a99b1
Update class-wc-widget-top-rated-products.php
2014-08-01 13:46:43 +03:00
Alexandru Furculita
8303d82172
Update class-wc-widget-top-rated-products.php
2014-08-01 13:46:33 +03:00
Alexandru Furculita
e03905f935
Update class-wc-widget-recently-viewed.php
2014-08-01 13:46:20 +03:00
Alexandru Furculita
8d214e665d
Update class-wc-widget-recent-reviews.php
2014-08-01 13:46:07 +03:00
Alexandru Furculita
df7f5aa6ba
Update class-wc-widget-products.php
2014-08-01 13:45:47 +03:00
Alexandru Furculita
b326ea6612
Update class-wc-widget-product-tag-cloud.php
2014-08-01 13:45:36 +03:00
Alexandru Furculita
d1de854c8f
Update class-wc-widget-product-search.php
2014-08-01 13:45:18 +03:00
Alexandru Furculita
981bd515ed
Update class-wc-widget-product-categories.php
2014-08-01 13:44:43 +03:00
Alexandru Furculita
332fbd2f93
Update class-wc-widget-price-filter.php
2014-08-01 13:44:29 +03:00
Alexandru Furculita
130521a7ab
Update class-wc-widget-layered-nav.php
2014-08-01 13:44:15 +03:00
Alexandru Furculita
53f061f0a0
Update class-wc-widget-layered-nav-filters.php
2014-08-01 13:44:00 +03:00
Max Rice
3c566e3419
Fix webhook delivery log deletion
...
Use wp_delete_comment() instead of SQL so comment meta is deleted as
well.
2014-07-31 11:52:16 -04:00
claudiosmweb
1a9d346e1f
sync with master
2014-07-31 09:39:24 -03:00
Mike Jolley
6e540c3bda
Pass is_ajax through from the ajax handler
...
Fixes #5910
2014-07-31 10:00:16 +01:00
Mike Jolley
727e49c097
Welcome page Closes #5920
...
@jameskoster can your review?
2014-07-31 09:48:17 +01:00
Mike Jolley
3f906b1ffa
Change shutdown hook priority
...
Fixes #5860
2014-07-31 07:26:49 +01:00
Mike Jolley
63d0283ea3
More efficient #4632
2014-07-31 07:10:07 +01:00
Mike Jolley
54e7ce602f
Merge pull request #4632 from AdvancedStyle/master
...
Multiple categories in the product_category shortcode
2014-07-31 07:05:37 +01:00
Mike Jolley
0b6d8914a3
Merge pull request #5941 from maxrice/feature-issue-5564-rest-api-webhooks
...
Webhooks Implementation
2014-07-31 07:03:02 +01:00
Mike Jolley
e13b54be15
Send order as a whole to paypal with negative line items
...
Closes #5862
2014-07-31 06:57:17 +01:00
Max Rice
a7538da23b
Add shop_webhook capabilities on install/upgrade
...
Part of #5564
2014-07-30 16:24:14 -04:00
Max Rice
0fd7e3376d
Hide webhook comments
...
Part of #5564
2014-07-30 16:23:41 -04:00
Max Rice
572becdcde
Introduce WC_Webhook class
...
Part of #5564
2014-07-30 16:23:22 -04:00
Max Rice
9536d98ade
Add webhooks REST API endpoint
...
Part of #5564
2014-07-30 16:22:58 -04:00
Max Rice
81297cf94d
Add shop_webhook custom post type
...
Part of #5564
2014-07-30 16:22:40 -04:00
Max Rice
64ddf83184
Add coupon description to REST API coupon response
2014-07-30 16:19:35 -04:00
thenbrent
2d47d6b43b
Improve display of multiword product attributes
...
Instead of displaying a variation's custom product attributes like this:
`name-with-dashes: attribute-with-dashes`
Display it like this:
`Name With Dashes: Attribute With Dashes`
2014-07-30 12:41:14 -07:00
claudiosmweb
a0bd72b9f3
Hide variation stock when manage stock is unchecked
...
closes #5935
@mikejolley
2014-07-30 15:32:06 -03:00
claudiosmweb
519de5be59
added alert about changing the product type that has variations
...
closes #5864
@mikejolley
2014-07-30 15:04:04 -03:00
Mike Jolley
b72d33f563
Move orderby logic out of template file
...
cc @jameskoster @claudiosmweb
2014-07-30 17:23:28 +01:00
Mike Jolley
cab8f8c9dd
Only show default ordering option when relevant
...
Closes #5893
2014-07-30 17:23:28 +01:00
Mike Jolley
0130caec2b
indentation
2014-07-30 17:07:35 +01:00
Mike Jolley
a5967ce4f9
Merge pull request #5869 from wilgert/patch-1
...
Update class-wc-coupon.php
2014-07-30 17:06:36 +01:00
Mike Jolley
61df5d5534
Check for array
...
Closes #5890
2014-07-30 17:05:31 +01:00
Mike Jolley
dab9a9be1f
Merge pull request #5788 from kilbot/patch-1
...
Add woocommerce_product_visibility_options filter
2014-07-30 17:03:13 +01:00
Mike Jolley
75a6be58b9
Merge pull request #5755 from doublesharp/patch-1
...
Corrected duplicated settings_page() content
2014-07-30 17:01:19 +01:00
Mike Jolley
80a33b83d7
Merge pull request #5838 from danielvonmitschke/master
...
adding default product visibility filter hook
2014-07-30 12:58:50 +01:00
Mike Jolley
ab5af6f930
Merge pull request #5827 from grey-rsi/master
...
class-wc-ajax.php
2014-07-30 12:20:42 +01: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
Mike Jolley
4203ed77e3
Merge pull request #5842 from BFTrick/get-a-job
...
Adding an Employment Easter Egg
2014-07-30 12:19:11 +01:00
Mike Jolley
688b31395f
Merge pull request #5933 from barrykooij/bugfix/wc_processing_order_count
...
Use correct variable and correct property when counting processing order...
2014-07-30 12:16:41 +01:00
Mike Jolley
e7e9de4cbd
Merge pull request #5934 from barrykooij/bugfix/fix-order-metabox-notices
...
Fix notices, added isset() checks around $legacy_order
2014-07-30 12:16:28 +01:00
Mike Jolley
305c187015
Fix queries on shop page
2014-07-30 12:11:42 +01:00
Mike Jolley
368e6b9412
Round shipping quote totals to store DP setting
...
Fixes #5888
2014-07-30 11:04:01 +01:00
Mike Jolley
2cb66fe4b9
Prevent empty attributes in permalinks
...
Closes #5714
2014-07-30 10:22:15 +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
Barry Kooij
a9e3c3bbe4
Use correct variable and correct property when counting processing orders.
2014-07-30 10:39:37 +02:00
claudiosmweb
70541f85e7
fixed the woocommerce_order_item_needs_processing filter
2014-07-29 15:08:08 -03:00
claudiosmweb
1cce388e1e
added copy for support button, closes #5865
2014-07-29 12:06:58 -03:00
Mike Jolley
1b41eef5f6
Ensure add-to-cart is not present when redirecting after a deletion.
...
Fixes #5645
2014-07-29 15:25:43 +01:00
Mike Jolley
dd61317395
Merge pull request #5904 from maxrice/rest-api-remove-xml
...
Remove XML response from v2 REST API
2014-07-29 13:20:05 +01:00
Mike Jolley
98030c2cfc
Merge pull request #5907 from claudiosmweb/improve-db-queries-product-post-class
...
Replace wp_get_post_terms() for get_the_terms() in wc_product_post_class()
2014-07-29 13:19:54 +01:00
Mike Jolley
ae6dceeace
Merge pull request #5908 from maxrice/fix-issue-5423
...
Add item meta to REST API orders response
2014-07-29 13:19:38 +01:00
Mike Jolley
6a092ddd37
Merge pull request #5913 from maxrice/feature-issue-5806
...
Add product categories endpoint to REST API
2014-07-29 13:16:45 +01:00
Mike Jolley
be757abf61
Merge pull request #5916 from maxrice/feature-rest-api-order-notes
...
Improve order notes endpoint
2014-07-29 13:16:38 +01:00
Mike Jolley
2201a93981
Merge pull request #5914 from maxrice/feature-issue-5720
...
Add orderby filtering to REST API resource endpoints
2014-07-29 13:15:53 +01: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
Max Rice
76be03010c
Improve order notes endpoint
...
This commit improves the order notes endpoint with full read/write
capabilities:
* GET /orders/#{order_id}/notes - get all notes for an order
* GET /orders/#{order_id}/notes/#{id} - get single order note
* POST /orders/#{order_id}/notes - create an order note
* PUT /orders/#{order_id}/notes/#{id} - edit an order note
* DELETE /orders/#{order_id}/notes/#{id} - delete an order note
2014-07-28 23:39:07 -04:00
Max Rice
47ccd78b21
Allow using meta_value_num with resource orderby
...
Part of #5720
2014-07-28 19:49:56 -04:00
Max Rice
bb651761d0
Add orderby filtering to REST API resource endpoints
...
Adds orderby filtering to all endpoints using default WP orderby
parameters.
Closes #5720
2014-07-28 19:40:28 -04:00
Max Rice
323bcbf848
Add order (desc/asc) to REST API customers endpoint
...
Part of #5720
2014-07-28 19:38:21 -04:00
Max Rice
7f3b67272a
Adhere to WP code standards
2014-07-28 19:34:41 -04:00
Max Rice
80368dc105
Add product categories endpoint to REST API
...
This commit adds two new endpoints:
* GET /products/categories - returns a list product categories
* GET /products/category/#{id} - returns the product category for #{id}
Closes #5806
2014-07-28 19:01:50 -04:00
Max Rice
7d597a36d0
Add item meta to REST API orders response
...
Fixes #5423
2014-07-28 13:33:03 -04:00
Max Rice
28449cfab2
Add WC_Order_Item_Meta::get_formatted()
...
This commit adds a helper method for plugins (and core) to use for
getting formatted item meta in an array, rather than a flattened string.
Part of #5423
2014-07-28 13:32:38 -04:00
claudiosmweb
cb1ca6e341
replaced wp_get_post_terms() for get_the_terms() in wc_product_post_class(), closes #5905
2014-07-28 14:05:36 -03:00
Max Rice
8ff7202c5c
Remove XML response from v2 REST API
2014-07-28 12:16:34 -04:00
Max Rice
2ea771be1f
Fix SQL error in v1 customers response
2014-07-28 12:16:04 -04:00
Mike Jolley
8a6831f33b
Hide tax columns for legacy orders
...
@claudiosmweb
2014-07-28 17:08:11 +01:00
Bryce
1ffa2dd867
Updated to employ WordPress coding standards
2014-07-28 22:16:35 +07:00
Bryce
16fad7469b
Admin Views HTML Headers, Stop Direct Access
...
Also a couple small formatting improvements
2014-07-28 21:50:11 +07:00
claudiosmweb
7c141fcd41
prevented some errors when the order has no taxes
2014-07-28 10:59:55 -03: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
Mike Jolley
cdc0efed75
Merge pull request #5843 from maxrice/feature-orders-endpoint-issue-4160
...
Create/Edit/Delete orders via the REST API
2014-07-28 09:18:49 +01:00
Mike Jolley
708861421a
Merge pull request #5839 from maxrice/api-versioning
...
Update REST API version to v2
2014-07-28 09:18:41 +01:00
Max Rice
698f6499f6
Add REST API create/edit order actions & filters
...
Part of #4160
2014-07-27 23:58:01 -04:00
Max Rice
5be324a543
Add edit order REST API method
...
Part of #4160
2014-07-27 23:36:32 -04:00
Max Rice
315787e3d6
Refactor create order method
...
* handle errors through WC_API_Exception
* abstract order item creation
Part of #4160
2014-07-27 23:35:50 -04:00
Max Rice
d919ed9d64
Tweak REST API order response
...
* se WC_Order::get_order_currency() for currency
* use new WC_Order::get_subtotal() for subtotal
* add order item ID and rate ID to tax lines
Part of #4160
2014-07-27 23:33:35 -04:00
Max Rice
f656d57282
Add WC_Order::get_order_subtotal()
...
Convenience method to return the order subtotal
Part of #4160
2014-07-27 23:31:26 -04:00
Max Rice
3cc9952fea
Include order item ID and rate ID in WC_Order::get_tax_totals()
...
Part of #4160
2014-07-27 23:31:02 -04:00
Max Rice
f4feefc100
Fix WC_Order::get_user()
2014-07-27 23:30:21 -04:00
Max Rice
e47ac33eb1
Add calculate_shipping() method to WC_Abstract_order
...
When the update_shipping() method is used, the order shipping amount is
not properly calculated unless the shipping costs are summed.
Part of #4160
2014-07-27 23:29:40 -04:00
Max Rice
1598d1b539
Add update methods to WC_Abstract_Order
...
These methods compliment the existing add_*() methods and provide a
consistent interface to add and update items for the order.
Part of #4160
2014-07-27 23:28:25 -04:00
Max Rice
cca54879fa
Fix misc docblocks
2014-07-27 23:23:59 -04:00
Max Rice
b192bd46f8
Add wc_update_order_item() function
2014-07-27 23:21:16 -04:00
Max Rice
c9342d6344
Add WC_API_Exception class
...
Part of #4160
2014-07-27 23:20:48 -04: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
f4e7211d3a
Fix top seller on dashboard
2014-07-25 15:48:37 +01:00
Mike Jolley
a9e30766d6
fix dashboard total
2014-07-25 15:47:51 +01:00
Mike Jolley
029bbbec39
Updated reports
2014-07-25 15:46:19 +01:00
Mike Jolley
710a570525
Coded in Restore stock option
2014-07-25 11:29:24 +01:00
Mike Jolley
a7eaefc374
Change button label for calc taxes
2014-07-25 10:48:47 +01:00
claudiosmweb
ca2dfdd7c1
synchronized the trash and delete actions between orders and refunds #3164
2014-07-24 18:39:59 -03:00
claudiosmweb
e634efa958
fixed tax calc when exists tax columns
2014-07-24 18:09:13 -03:00
claudiosmweb
2d61126502
added add_shipping and add_fee ajax actions
2014-07-24 17:55:25 -03:00
claudiosmweb
93b464cb29
improved the add_order_tax ajax method
2014-07-24 17:37:02 -03:00
claudiosmweb
5b3f69de0a
fixed the "calculate tax" action #3164
2014-07-24 17:33:26 -03:00
Mike Jolley
00af832203
Sales by product report
2014-07-24 17:11:25 +01:00
claudiosmweb
7328212c03
fixed the get refunds method
2014-07-24 12:09:03 -03:00
Mike Jolley
a10204894d
Clear transients after refunding
2014-07-24 16:03:52 +01:00
Mike Jolley
873f36ca5c
Pass order_types to reporting query functions
2014-07-24 15:55:06 +01: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
claudiosmweb
a3d0d5903e
removed a test
2014-07-23 19:28:57 -03:00
claudiosmweb
26e50b7caf
fixed post_type in reports
2014-07-23 14:17:01 -03:00
claudiosmweb
23628ad430
fixed undefined offset in wc_create_refund()
2014-07-23 13:56:43 -03:00
Mike Jolley
11835826de
A start on negative line items
...
@claudiosmweb
2014-07-23 17:41:35 +01:00
Mike Jolley
3aa9475e39
Coupon code display
2014-07-23 11:47:02 +01:00
Mike Jolley
134f31abb9
Taxes were stored backwards
...
cc @claudiosmweb
2014-07-23 11:37: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
8edbd8fed5
fixed undefined variable $can_be_edited when add new line items via ajax
2014-07-22 17:33:49 -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
ab36ec12d5
Merge pull request #5822 from helgatheviking/fix/add-to-cart
...
add_to_cart() return $cart_item_key
2014-07-22 18:32:55 +01:00
Kathy Darling
7e0121a0d9
update docblock for add_to_cart() method
2014-07-22 12:25:12 -04: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
01950bebdc
Add confirmation before deleting tax column #3164
2014-07-22 15:26:18 +01: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
93155c9e11
Do not use before init.
...
#3164
2014-07-22 14:30:42 +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
Mike Jolley
2155b30065
Merge pull request #5872 from Ninos/master
...
Add filter: wc_get_template
2014-07-22 10:48:12 +01:00
Mike Jolley
0f7f3ee66a
Merge pull request #5851 from BFTrick/abstract-settings-typos
...
Fixing Typos in Abstract Settings Class
2014-07-22 10:37:24 +01:00
Ninos Ego
7b24853afc
Add filter: wc_get_template
...
Allow 3rd party plugin filter template file from their plugin
2014-07-22 03:05:25 +02:00
wilgert
0b032ab469
Update class-wc-coupon.php
...
add middle statement to ternary operator has ommitting this is only supported since PHP 5.3 and WooCommerce requires >5.2.4
2014-07-21 15:59:20 +02:00
wilgert
6ccd084e52
Update class-wc-coupon.php
...
If you loaded custom coupon data using the `'woocommerce_get_shop_coupon_data'` filter. Only `$coupon->amount` was set. While the 'normal' coupons loaded from the database get both `$coupon->coupon_amount` and `$coupon->amount` set.
This change also adds `$coupon->coupon_amount` for in code generated coupons and allows functions using the `'woocommerce_get_shop_coupon_data'` filter to use either `amount` or `coupon_amount`.
2014-07-21 15:54:10 +02:00
claudiosmweb
ef445aa1d7
removed a test ¬¬
2014-07-21 00:00:18 -03:00
claudiosmweb
299c12bd57
fixed order get_total_refunded() method
2014-07-20 23:48:23 -03: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
claudiosmweb
5152457d9d
improved the saving the new tax data
2014-07-20 01:28:16 -03:00
claudiosmweb
2cfebdc6c5
save/update shipping taxes
2014-07-20 00:56:38 -03:00
claudiosmweb
3a28c56876
save and display shipping taxes in order items meta box
2014-07-20 00:32:52 -03:00
claudiosmweb
6176cb6b77
allow multiple taxes columns in order items
2014-07-20 00:21:33 -03:00
claudiosmweb
93cf3c88bd
initial implementation of order items taxes
2014-07-19 01:08:02 -03:00
claudiosmweb
50113fa531
fixed "Invalid argument supplied for foreach()" warning in line 127
2014-07-19 00:16:34 -03:00
claudiosmweb
794548e923
added tiptip for order totals
2014-07-18 20:27:10 -03:00
msdesign21
14f5524ffd
Please 'copy and paste' report
...
Updated description when you 'Get System Report' to specify customers should 'copy and paste' information.
2014-07-18 14:55:14 -06:00
claudiosmweb
e0aeacb734
added action to calculte the order total and edit discount and total
2014-07-18 17:24:34 -03:00
claudiosmweb
f3ef446678
improved the order totals display
2014-07-17 18:17:42 -03:00
claudiosmweb
d321395946
created new methods to save and load the order items in shop_order screen
2014-07-17 17:17:54 -03:00
claudiosmweb
2f4b98d330
fixed erros while add a new shipping order item
2014-07-17 15:48:37 -03:00
claudiosmweb
589aa9ddd4
fixed refund qty in order fee item
2014-07-17 15:48:03 -03:00
claudiosmweb
501cc29bd9
hide the order totals when active the refunds panel
2014-07-16 23:08:59 -03:00
claudiosmweb
af235e08f6
moved refunds to order items
2014-07-16 17:12:33 -03:00
claudiosmweb
d7133035e1
added order items add shipping cost button
2014-07-16 15:41:18 -03:00
claudiosmweb
04e8fbcb5e
added new add products order items action
2014-07-16 15:11:48 -03:00
claudiosmweb
3ca145ac85
created backbone modal dialog
2014-07-15 19:56:07 -03:00
Patrick Rauland
e735fe45e0
fixing typos in abstract settings class
2014-07-15 16:41:28 -06:00
Remi Corson
c629c86d0c
add attributes do_action
2014-07-15 10:51:20 +02:00
claudiosmweb
29bb05f51c
fixed coupon class
2014-07-14 18:04:45 -03:00
claudiosmweb
0a71c4498d
moved the coupons to order items metabox
2014-07-14 17:04:23 -03:00
claudiosmweb
f0bf3e9e7e
moved the shipping save method to order items
2014-07-14 16:32:04 -03:00
claudiosmweb
7e17443be4
added new html-order-shipping.php to work in order items metabox
2014-07-14 16:22:01 -03:00
claudiosmweb
ef2bff285a
created new order totals display in order items
2014-07-14 15:23:56 -03:00
Patrick Rauland
568c0102ae
adding get_a_job method
2014-07-14 09:18:07 -06:00
Max Rice
95aab694e4
API: implement order creation
...
part of #4160
2014-07-12 21:44:49 -04:00
Max Rice
4661cd3acf
set a proper code for wp_error
2014-07-12 21:43:27 -04:00
Max Rice
13e2495390
API: implement order deletion
...
part of #4160
2014-07-12 18:09:21 -04:00
Max Rice
8c3df8f65f
update get_woocommerce_api_url() to handle multiple versions
2014-07-12 17:51:29 -04:00
Max Rice
a4cb198cb9
implement separate handlers for v1/v2 REST API requests
2014-07-12 17:51:08 -04:00
Max Rice
54c019dd62
re-add v1 API classes
2014-07-12 17:49:43 -04:00
daniel von mitschke
b991617ff7
adding default product visibility filter hook
...
Added a filter hook ‚woocommerce_product_visibility_default’ to set the
default visibility option on new products
2014-07-12 14:30:43 +02:00
claudiosmweb
c1b8878587
removed order_type taxonomy from wc_create_refund()
2014-07-11 15:39:20 -03:00
claudiosmweb
8c77382d95
removed old order_type taxonomy stuffs and fixed some code standards
2014-07-11 15:38:23 -03:00
claudiosmweb
cdadc18665
fixed an fatal error in admin dashboard
2014-07-11 15:03:34 -03:00
Mike Jolley
822d477f72
wc_price filters suggested in #5664
...
Closes #5664
2014-07-11 16:13:03 +01:00
Mike Jolley
0ed0a41a04
Merge pull request #5833 from CFXd/move-tfoot-after-tbody-multiple-occurences
...
Move TFOOT to after TBODY element throughout templates and classes
2014-07-11 15:44:33 +01:00
Mike Jolley
9e6caec3a2
set cookies on shutdown in case of redirect.
2014-07-11 15:40:18 +01:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Mike Jolley
2545e55b73
wc_get_order_types and wc_register_order_type
...
Uses CPT rather than terms. #3164
2014-07-11 10:42:49 +01:00
Michael Silber
32bd50c379
Move TFOOT to after TBODY element throughout templates and classes
2014-07-10 21:50:51 -04:00
claudiosmweb
664c20a2ed
fixed order status change when save
2014-07-10 17:41:53 -03:00
Mike Jolley
eca4025f5e
Delete and display refunds
2014-07-10 16:39:10 +01:00
GreY
cb59771a2d
added do_action( 'woocommerce_after_product_ordering' ); to sync product translations menu_order value
2014-07-10 17:15:31 +03:00
Mike Jolley
6862829fce
Show total available
2014-07-10 14:52:36 +01:00
Mike Jolley
280b884c28
Create refunds and process via gateway
2014-07-10 14:49:04 +01:00
Mike Jolley
d88279fe53
Start on ajax handlers
2014-07-10 13:33:05 +01:00
Mike Jolley
0e418a2961
Helper for getting tax rate percent
2014-07-10 11:01:00 +01:00
Kathy Darling
5a88e77959
add_to_cart() return $cart_item_key
2014-07-09 16:33:40 -04:00
claudiosmweb
31a8483b4f
created method to get the total amount already refunded
2014-07-08 16:59:38 -03:00
claudiosmweb
87d8cd1c95
set order_type for refunds
2014-07-08 16:41:07 -03:00
claudiosmweb
7d340abd6d
fixed the get_refunds() method in WC_Order class
2014-07-08 16:41:03 -03:00
claudiosmweb
235deeacfe
created get_refunds() method for WC_Order class
2014-07-08 15:23:22 -03:00
claudiosmweb
03d9ab0c81
created initial methods for WC_Order_Refund class
2014-07-08 15:22:58 -03:00
claudiosmweb
9d4ef6fd9b
add refund term in order_type when install
2014-07-08 14:27:46 -03:00
claudiosmweb
7e36d05c75
created order_type taxonomy
2014-07-08 14:23:11 -03:00
Claudio Sanches
9701cfe2a7
Revert "order_type taxonomy and register_order_type() function"
2014-07-08 14:10:37 -03:00
Mike Jolley
cc5b722a22
Merge pull request #5804 from claudiosmweb/feature-register-order-type
...
order_type taxonomy and register_order_type() function
2014-07-08 15:49:28 +01:00
claudiosmweb
73a273caf8
removed order_type hidden input in order actions meta box
2014-07-08 11:46:39 -03:00
claudiosmweb
840def82e7
fixed tax default value
2014-07-08 11:44:12 -03:00
Mike Jolley
2e59b1c9ce
Merge pull request #5793 from maxrice/fix-disappearing-checkout-notices
...
Only print checkout notices when not reloading the checkout
2014-07-08 15:35:49 +01:00
Mike Jolley
58d17216c1
Merge pull request #5791 from EmilEriksen/master
...
pass to get_subtotal_to_display(). Fixes #5790
2014-07-08 15:34:28 +01:00
claudiosmweb
1ba7788991
fixed refund tax
2014-07-08 11:34:09 -03:00
claudiosmweb
09cb28a7bb
created initial refund class and function
2014-07-08 11:32:47 -03:00
Mike Jolley
2826da47f6
Merge pull request #5801 from coenjacobs/check-right-order-status
...
Correct order status for checking downloads
2014-07-08 15:28:55 +01:00
Mike Jolley
2282d76efb
More UI / Split up meta box scripts
2014-07-08 14:14:29 +01:00
Coen Jacobs
f427ebaf7c
Updated Turkish Lira symbol
2014-07-08 14:34:42 +02:00
Mike Jolley
5c0ea16a39
More refund UI -show qty boxes and totals
2014-07-08 10:51:10 +01:00
claudiosmweb
16953e96f8
save the order type when create a order with wc_create_order()
2014-07-07 17:23:43 -03:00
claudiosmweb
90110f300f
added order_type when save the order data
2014-07-07 17:11:40 -03:00
claudiosmweb
72aae0e69d
created order_type taxonomy and register_order_type() function
2014-07-07 16:19:51 -03:00
Mike Jolley
fdccaa21d3
Rough, non-functioning example of the UI for refund total and add items in the order items panel
...
#3164
2014-07-07 16:45:08 +01:00