Mike Jolley
cadfcfc11f
phpcs
2017-12-07 12:21:01 +00:00
Mike Jolley
d3cd420c0a
Format data of headers
2017-12-07 12:15:39 +00:00
Mike Jolley
c3623a9967
Update docblock for $include_taxes
...
Closes #18053
2017-12-07 11:46:35 +00:00
Jonathan Belcher
b42004f7b3
Fix escaping
2017-12-06 16:48:30 -05:00
Claudio Sanches
bb575ad07e
Fixed @since
2017-12-06 19:12:42 -02:00
Claudio Sanches
390844f73b
Fixed coding standards
2017-12-06 19:11:40 -02:00
Claudio Sanches
cae02bee36
Fixed undefined variable on WC_Shipping_Zones::get_zone_by
2017-12-06 19:07:00 -02:00
Claudio Sanches
0946fd04cf
Allow import and export draft products
...
Closes #17722
2017-12-06 18:32:35 -02:00
Mike Jolley
1f2011e8de
Tweak query args
2017-12-06 19:03:14 +00:00
Mike Jolley
119ee7f27c
Use new loop functions
2017-12-06 18:10:44 +00:00
Mike Jolley
8bdff47133
Hook in subcats
2017-12-06 18:10:28 +00:00
Mike Jolley
3c36ab0517
Helper functions for loop handling to avoid global usage, and helper for displaying subcats
2017-12-06 18:10:19 +00:00
Mike Jolley
e343c99ccb
Remove is_shortcode_loop
2017-12-06 18:09:49 +00:00
Jonathan Belcher
c43f4c65be
Merge Commit
2017-12-06 12:07:27 -05:00
Jonathan Belcher
bbaabb5b80
Remove unused function
2017-12-06 12:03:50 -05:00
Jonathan Belcher
b5c1025621
Fixes from code review
2017-12-06 12:02:09 -05:00
Mike Jolley
07792a253b
Correct variable name
2017-12-06 15:54:40 +00:00
Mike Jolley
320392fc59
is_visible should ensure product is is not trashed
...
Closes #18023
2017-12-06 13:47:09 +00:00
Mike Jolley
67a4339ee0
Merge pull request #18031 from woocommerce/fix/admin-product-warnings
...
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-06 13:32:26 +00:00
Mike Jolley
8dcffa660e
Normalise get_query_results names and add new param for pagination
2017-12-06 13:13:43 +00:00
Gerhard Potgieter
6ff40c2821
Merge pull request #18011 from WPprodigy/add-helper-notice
...
Add admin notice when helper plugin is deactivated
2017-12-06 12:37:34 +02:00
Jonathan Belcher
38984b03ce
Merge pull request #18026 from woocommerce/add/clear-addons-transients
...
Clear addons transients on update to 3.3.0
2017-12-05 14:41:21 -05:00
Jonathan Belcher
d38a9e2af6
Change order of commands to make DB last
2017-12-05 14:39:37 -05:00
Claudio Sanches
79e6821685
Fixed coding standards
2017-12-05 17:11:33 -02:00
Claudio Sanches
9e93d99056
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-05 16:57:26 -02:00
Claudio Sanches
c07d039242
[Importer] Get global attribute ID only when is a global attribute.
...
Closes #17923
2017-12-05 16:55:56 -02:00
claudiulodro
535d014ef9
Line up arrays
2017-12-05 10:50:17 -08:00
claudiulodro
aab65923c1
Refactor for better style
2017-12-05 10:45:08 -08:00
Claudio Sanches
a56018b967
Removed webhook custom topic input and included better error messages
2017-12-05 16:07:36 -02:00
Claudiu Lodromanean
9d644e0852
Merge pull request #18012 from woocommerce/fix/18010-merge-persistant-session-carts
...
Merge session and persistent carts when both exists
2017-12-05 09:49:52 -08:00
Jonathan Belcher
51c66d7f7a
Remove automatic spacing changes made by my editor
2017-12-05 12:27:13 -05:00
Claudiu Lodromanean
87e1cf485d
Merge pull request #18022 from woocommerce/fix/17979
...
Return packages with no rates so shipping calculator is displayed.
2017-12-05 09:27:00 -08:00
Jonathan Belcher
c39a181cb6
Clear addons transients on update to 3.3.0
2017-12-05 12:23:51 -05:00
claudiulodro
73bfc1444b
Fix weird bracket
2017-12-05 08:42:50 -08:00
claudiulodro
813024c654
line up array
2017-12-05 08:42:04 -08:00
claudiulodro
fec60ab2ea
Fix product shortcode pagination
2017-12-05 08:31:50 -08:00
Jonathan Belcher
f05ed543fa
Fix css and add search query header
2017-12-05 11:15:09 -05:00
Claudio Sanches
09dd86da1c
Merge pull request #18021 from woocommerce/fix/17974
...
wc_lostpassword_url should not be used before init
2017-12-05 13:20:25 -02:00
Jonathan Belcher
2c12dcfacd
Merge Commit
2017-12-05 10:16:28 -05:00
Jonathan Belcher
66dbcdead6
Update for API changes
2017-12-05 10:06:58 -05:00
Mike Jolley
8f9bd7d0bf
Return packages with no rates.
2017-12-05 15:00:07 +00:00
Mike Jolley
79e9464dc3
wc_lostpassword_url should not be used before init
...
Closes #17974
2017-12-05 14:25:24 +00:00
Mike Jolley
3e00533183
phpcs
2017-12-05 14:02:40 +00:00
Mike Jolley
5a5f179346
translators
2017-12-05 13:41:56 +00:00
Mike Jolley
4e7da70185
Update permalink setting text #17745
2017-12-05 13:40:40 +00:00
Mike Jolley
5a8cdb1ded
Update wording for #17968
2017-12-05 13:31:42 +00:00
Mike Jolley
05e7eaae03
get_meta_data return array values
...
Closes #17997
2017-12-05 13:14:12 +00:00
Mike Jolley
d49590d0a3
Fixes to 5.2 rounding function and additional tests
2017-12-05 12:10:23 +00:00
Boro Sitnikovski
145d47c580
Decouple cart templating methods from WC_Cart class
2017-12-05 13:00:21 +01:00
Caleb Burks
6374a13d30
Update a product’s modified_date for stock changes
2017-12-05 00:53:52 -06:00
Gerhard Potgieter
961a70965d
PHPCS Fixes
2017-12-05 08:48:35 +02:00
Gerhard Potgieter
ccb54faf0b
When getting a cart from a session and there are contents as well as contents in the persistant cart, merge the two carts to avoid loosing the persistant cart content.
2017-12-05 08:45:52 +02:00
Caleb Burks
21e798e1a8
Add admin notice when helper plugin is deactivated
2017-12-04 23:57:47 -06:00
Mike Jolley
b6f87e70d7
round total to cents
2017-12-04 22:42:39 +00:00
Mike Jolley
55af8a2ec8
wc_cart_round_discount
2017-12-04 22:10:47 +00:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
Mike Jolley
7da5780c00
Store unrounded, calc rounded.
2017-12-04 21:40:12 +00:00
Mike Jolley
8e851d834f
Rounding and price should match the cart.
2017-12-04 20:38:29 +00:00
Mike Jolley
17095a4011
Totals should be set to store DP setting.
2017-12-04 20:38:14 +00:00
Mike Jolley
277127a400
Round line totals and taxes per line correctly to the store DP setting.
2017-12-04 20:38:00 +00:00
Mike Jolley
664970539d
Remove rounding/precision from the tax class and handle exclusively in cart totals.
2017-12-04 20:33:27 +00:00
Mike Jolley
6b740671cc
Change how precision is added
...
Some users have increased precision beyond the DP setting. Support this
by converting to cents and leaving some precision on the end.
e.g. 10.00 would be converted to cents (1000) and have 2 dp precision
on the end (1000.00).
2017-12-04 20:32:51 +00:00
Mike Jolley
6b37aa7b70
Allow negative rounding (php does)
2017-12-04 20:27:30 +00:00
Mike Jolley
02bfeddf4b
Merge pull request #18002 from woocommerce/tweak/use-protected-methods
...
Use protected instead of private methods to allow easy override
2017-12-04 15:38:30 +00:00
Mike Jolley
20633d409d
Fix archive with default permalinks
2017-12-04 15:35:52 +00:00
Mike Jolley
4ff70f96ee
Force woocommerce options to show in customizer with unsupported themes
2017-12-04 15:33:42 +00:00
Claudio Sanches
0f4f8a3f16
Merge branch 'master' into feature/webhook-crud
2017-12-04 12:37:10 -02:00
Claudio Sanches
673732946b
Merge branch 'master' into feature/webhook-crud
2017-12-04 12:34:23 -02:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Boro Sitnikovski
6c29d886ca
Use protected instead of private methods to allow easy override
2017-12-04 15:10:35 +01:00
Mike Jolley
050ba6642f
Merge pull request #17928 from woocommerce/fix/selectwoofocus
...
Fix some focus issues in selectWoo
2017-12-04 13:55:17 +00:00
Mike Jolley
d8921de735
min
2017-12-04 13:45:52 +00:00
Mike Jolley
5d42a64b73
Merge branch 'master' into update/order-screen-refinements
2017-12-04 13:44:27 +00:00
Mike Jolley
8631e981e1
Merge pull request #17987 from woocommerce/feature/12439-process-delivery-hook
...
Introduces woocommerce_webhook_process_delivery hook
2017-12-04 13:08:42 +00:00
Gerhard Potgieter
3ed021241f
Merge pull request #17862 from davefx/patch-6
...
Add filters to mark terms in product list
2017-12-04 10:39:53 +02:00
David Marín
7660767aa7
Adding $termlist and $terms as parameters for the new filter
2017-12-04 09:34:10 +01:00
tom
9dcc4c49f4
Add filter for order downloadable items
...
ref #17992
2017-12-02 11:15:07 +08:00
Claudiu Lodromanean
19969636f3
Merge pull request #17985 from woocommerce/refactor/12439-improve-duration
...
Improve webhook delivery duration
2017-12-01 14:33:49 -08:00
Claudiu Lodromanean
224fa43fe2
Merge pull request #17986 from woocommerce/fix/12439-pending-delivery
...
Fixed webhook initial test delivery ping
2017-12-01 10:31:46 -08:00
Claudiu Lodromanean
6b8b93d66c
Merge pull request #17984 from woocommerce/refactor/12439-falied-delivery
...
Updated webhook failed delivery code and introduced new hook
2017-12-01 10:28:25 -08:00
Claudiu Lodromanean
4443d473ab
Merge pull request #17965 from james-allan/complete_payment_using_manual_gateways
...
Mark $0 orders as payment complete when processing payments with core gateways
2017-12-01 10:21:01 -08:00
Claudiu Lodromanean
98365fcc3d
Merge pull request #17962 from woocommerce/fix/17925-1
...
Include 'product_url' in wc_get_customer_available_downloads() results
2017-12-01 10:17:27 -08:00
Claudiu Lodromanean
452fc69f1a
Merge pull request #17961 from woocommerce/fix/17957
...
Always save last viewed product ID into woocommerce_recently_viewed cookie
2017-12-01 10:14:54 -08:00
Claudiu Lodromanean
1a2a332f54
Merge pull request #17939 from woocommerce/feature/17734
...
Apply Webhooks CRUD into REST API
2017-12-01 10:07:21 -08:00
Claudio Sanches
867f7dfc7a
Fixed coding standards
2017-12-01 15:13:27 -02:00
Claudio Sanches
b1fd3134c3
Introduces woocommerce_webhook_process_delivery hook
2017-12-01 14:33:30 -02:00
Claudio Sanches
f5cddc4f36
Fixed webhook initial test delivery ping
...
Part of #12439
2017-12-01 14:04:59 -02:00
Claudio Sanches
d6f54afbe5
Improve webhook delivery duration
...
Improved to conside the amount of time spent gathering all data and time sending request.
Closes #17010
2017-12-01 13:48:31 -02:00
Claudio Sanches
022f9a10a3
Updated webhook failed delivery code and introduced new hook
2017-12-01 12:08:13 -02:00
Claudio Sanches
d5f871ad7e
[REST API] Fixed errors while creating and updating webhooks
2017-12-01 11:57:29 -02:00
Claudio Sanches
5cda80330d
Webhooks secret not mandatory in REST API
2017-12-01 11:48:38 -02:00
Claudio Sanches
46cfe9e3b6
Fixed docblocks
2017-12-01 11:47:45 -02:00
Ibrahim Ibn Dawood
b1bef237d1
made function : woocommerce_template_loop_product_link_open, woocommerce_template_loop_product_link_close, woocommerce_template_loop_category_link_open, woocommerce_template_loop_category_link_close pluggable
2017-12-01 14:58:42 +05:30
claudiulodro
22031c5b56
Tag support in shortcode
2017-11-30 13:43:32 -08:00
Claudiu Lodromanean
4e2e64ad2e
Merge pull request #17975 from woocommerce/refactor/12439-trigger-webhook
...
Trigger webhook when delivery URL is changed
2017-11-30 11:12:51 -08:00
claudiulodro
8d6d4c4fd9
good tax approach
2017-11-30 10:57:33 -08:00
Claudio Sanches
270c0a200e
Merge branch 'master' into feature/webhook-crud
2017-11-30 16:55:28 -02:00
Claudio Sanches
bbc472d80d
Merge pull request #17548 from crstauf/add/webhook-status-action
...
Add action for webhook status change
2017-11-30 16:52:41 -02:00
Claudio Sanches
01b3f2bac4
Trigger webhook when delivery URL is changed
2017-11-30 16:48:16 -02:00
Claudio Sanches
6c45659e68
Merge pull request #17956 from vyskoczilova/master
...
Add zipcode validation for Czech republic and Slovakia
2017-11-30 16:47:40 -02:00