Paul Dechov
eecd0db0f0
Tweak checkbox label
2017-12-06 09:19:08 -05:00
Paul Dechov
4155f02ec8
Make sure PPEC settings are opened if enabled on load
2017-12-06 09:18:06 -05:00
Paul Dechov
9a3b63036f
Address 'Undefined index' notice by checking for set param
2017-12-05 14:56:15 -05:00
Paul Dechov
570a2e9512
Add PPEC settings to wizard, to facilitate rerouting via WCS
2017-12-05 14:53:44 -05: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
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
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
6c45659e68
Merge pull request #17956 from vyskoczilova/master
...
Add zipcode validation for Czech republic and Slovakia
2017-11-30 16:47:40 -02:00
Karolína Vyskočilová
54f9bfafa1
CZ/SK zip - exchange space for \s
2017-11-30 19:33:16 +01:00
James Allan
f6eb02806b
Mark orders as payment complete if the order total is 0
...
Similar to how other payment gateways like Stripe call
payment_complete on orders with $0 totals.
2017-11-30 13:31:10 +10:00
Claudiu Lodromanean
9e15022370
Merge pull request #17960 from woocommerce/fix/17940
...
Allow woocommerce_form_field() have 'custom_attributes' equal 0
2017-11-29 14:35:54 -08:00
Claudio Sanches
41335ae9b5
Remove "wc_error" query string after login process
...
Closes #17957
2017-11-29 19:57:59 -02:00
Claudio Sanches
da6c9c769a
Include 'product_url' wc_get_customer_available_downloads() results
...
Also required to fix #17925
2017-11-29 19:49:54 -02:00
Claudio Sanches
777a004a1f
Allow max of 15 products in Recent Viewed Products widget
2017-11-29 19:24:39 -02:00
Claudio Sanches
929eb48fcd
Always save last viewed product ID into woocommerce_recently_viewed cookie
...
Currently if you already visited a product will not be listed at the top
of the "Recent Viewed Products" widget.
This happens because we only include new items if they are not already
in the list of viwed products.
This code changes a little the logic excluding the ID from viewed
products list and adding again.
Closes #17951
2017-11-29 19:21:04 -02:00
Claudio Sanches
d438a68300
Allow woocommerce_form_field() have 'custom_attributes' equal 0
...
array_filter() by default will remove all null values, also 0 or false,
but if trying to declare something like array( 'min' => '0', 'max' =>
'10' ) this will be a problem. So including added strlen() as callback
function will allow keep some strings but still remove null and false
values.
Ref #17940
2017-11-29 18:45:44 -02:00
Claudiu Lodromanean
b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
...
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Karolína Vyskočilová
864c41c35a
Add zipcode validation for Slovakia
2017-11-29 18:55:35 +01:00
Karolína Vyskočilová
deb00803b5
Add zipcode validation for Czech republic
2017-11-29 18:48:15 +01:00
Claudio Sanches
64ffa22e16
Merge pull request #17948 from woocommerce/add/17920-httponly-cookie-filter
...
Introduce woocommerce_cookie_httponly filter
2017-11-29 11:20:19 -02:00
Gerhard Potgieter
220abd97eb
Pass all args of function to filter
2017-11-29 15:12:24 +02:00
Claudio Sanches
53b3c56a63
Merge pull request #17947 from woocommerce/update/17943-category-image-schema
...
Update REST API product categories image schema
2017-11-29 10:42:58 -02:00
Claudio Sanches
c0a7f0eef0
Fixed category images schema in REST API v1
2017-11-29 10:42:06 -02:00
Claudio Sanches
d3a5a1bfd4
Fixed bugs caused after fixing coding standards
2017-11-29 10:32:35 -02:00
Claudio Sanches
ae67b3b404
Merge pull request #17945 from woocommerce/fix/17944-remove-add-to-cart-pagination
...
Exclude add-to-cart from pagination link
2017-11-29 10:24:28 -02:00
Gerhard Potgieter
9a5e8b1db8
Merge pull request #17946 from shivapoudel/fix/17919
...
Fix - Bulk action in status logs table
2017-11-29 11:54:11 +02:00
Gerhard Potgieter
be4a2553b1
Introduce woocommerce_cookie_httponly filter on the httponly param of setcookie.
2017-11-29 11:22:57 +02:00
Gerhard Potgieter
5f534e7388
Change product categories image object schema from name to title to bring docs in line with the actual output.
2017-11-29 11:06:41 +02:00
Shiva Poudel
1bf1f84560
Fix - Bulk action in status logs table, Closes #17919
2017-11-29 14:49:49 +05:45
Gerhard Potgieter
f1479b07d5
Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it.
2017-11-29 10:52:55 +02:00
Umesh Ghimire
e128f774c4
Revert isset check as it was previously
2017-11-29 14:13:47 +05:45
Shiva Poudel
d4b4b808ed
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 12:54:32 +05:45
Claudiu Lodromanean
eb6374dc7a
Merge pull request #17921 from woocommerce/fix/rest-api-date-format
...
[REST API] Fixed date format in reports schema
2017-11-28 11:57:49 -08:00
Claudio Sanches
674d75ef24
Merge pull request #17922 from franticpsyx/public-abstract-product-importer-methods
...
Re-usable abstract importer methods
2017-11-28 11:10:53 -02:00
Claudio Sanches
fd4fa0cf71
Fixed coding standards
2017-11-28 11:04:38 -02:00
Claudio Sanches
def87b74bf
Display product URL only if is not hidden in downloads list
...
Fixes #17925
2017-11-28 10:18:43 -02:00
Claudio Sanches
8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
...
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Manos Psychogyiopoulos
7463182c3f
Change abstract importer methods visibility
2017-11-27 17:22:19 +02:00
Claudio Sanches
c1c02cd0aa
Merge pull request #17899 from woocommerce/update/17321
...
Uncategorized category support
2017-11-27 12:46:01 -02:00
Rodrigo Primo
e006e14d23
Ignore PHPCS in two instances
...
Ignoring PHPCS in two lines of the code where apparently it is not possible to fix the violations. I tried using what @claudiosanches suggested in this comment https://github.com/woocommerce/woocommerce/pull/17909#issuecomment-347168029 but both tags didn't work. Lets revisit this when PHPCS 3.2.0 is released and we can selectively disable rules (see https://github.com/squizlabs/PHP_CodeSniffer/issues/604 ).
2017-11-27 11:00:42 -02:00
Claudio Sanches
9123656155
[REST API] Fixed date format in reports schema
2017-11-27 10:24:43 -02:00
Rodrigo Primo
3d6bd30d8a
Fix some PHPCS violations in includes/data-stores/abstract-wc-order-data-store-cpt.php
2017-11-24 17:25:31 -02:00
Rodrigo Primo
5e43d92e07
Fix some PHPCS violations in includes/data-stores/class-wc-order-data-store-cpt.php
2017-11-24 17:25:16 -02:00
Gerhard Potgieter
9f8460c97a
Merge pull request #17887 from woocommerce/fix/17880
...
Only remove base taxes in cart totals class if item is taxable
2017-11-24 11:21:49 +02:00
Gerhard Potgieter
d2e9b36612
Merge pull request #17865 from woocommerce/fix/17852
...
Exclude spam comments from counts
2017-11-24 11:19:32 +02:00
Claudio Sanches
48132a9dbf
Fixed coding standards
2017-11-23 16:43:54 -02:00
Claudio Sanches
e40138d188
Updated $GLOBALS['post'] data in products shortcode
...
No need to pass it as reference.
And passing by reference is breaking Divi's page builder.
2017-11-23 16:40:59 -02:00
Mike Jolley
42acec92b9
Force term setting
2017-11-23 16:00:34 +00:00