Mike Jolley
a110180643
Saving taxes should invalidate caches.
2018-01-18 17:47:26 +00:00
Mike Jolley
c618895ece
Fix undefined var. Closes #18499
2018-01-18 15:25:27 +00:00
Manos Psychogyiopoulos
e77ec2444e
Add woocommerce_admin_html_order_preview_item_class filter
...
For parity with woocommerce_admin_html_order_item_class filter in html-order-item.php view.
2018-01-18 16:57:51 +02:00
Konstantin Kovshenin
3c3077d305
Helper: Prompt a Helper connection only on relevant screens.
...
Fixes #18452
2018-01-18 12:28:00 +03:00
Paul Dechov
3dee78ea54
Tweak variable name
2018-01-17 12:43:44 -05:00
Jonathan Belcher
77578c5509
Corrects string to use sprintf properly
2018-01-17 10:35:43 -05:00
Paul Dechov
dc884c5e2f
Refactor so as to leave 'enabled' setting alone in case gateway was already enabled
2018-01-16 16:15:30 -05:00
Paul Dechov
fcf3d368f2
Setup wizard: if selected, activate but disable PPEC gateway by default
2018-01-16 16:14:35 -05:00
Jonathan Belcher
dbb0f6f1ef
Add links to Sharing and Transferring string
2018-01-16 14:35:30 -05:00
Jonathan Belcher
535e1c5b58
Updates Helper text to be correct
2018-01-15 11:41:32 -05:00
Claudio Sanches
dff5fefe73
Merge pull request #18460 from woocommerce/fix/18448
...
Revert RTL changes in price formatting
2018-01-12 14:28:36 -02:00
Claudiu Lodromanean
544d181538
Merge pull request #18458 from woocommerce/update/storefront-wizard
...
Update wizard wording
2018-01-12 07:24:42 -08:00
Mike Jolley
7a7995f697
Revert price formatting changes which break in RTL
2018-01-12 14:16:18 +00:00
Mike Jolley
243c664030
Wording update
2018-01-12 12:29:22 +00:00
Mike Jolley
89c888d654
phpcs
2018-01-12 11:33:26 +00:00
Ryan Ray
b3af5c808d
Updates & renames all dummy data to sample data.
2018-01-11 11:39:51 -05:00
Claudio Sanches
45dfb7d015
Merge pull request #18427 from woocommerce/fix/18426
...
Correct bulk edit price formatting.
2018-01-11 12:31:45 -02:00
Mike Jolley
fbbbc7a8df
Merge pull request #18406 from woocommerce/update/themenotice
...
Remove unsupported theme notice
2018-01-11 13:46:09 +00:00
Mike Jolley
c1fc8c241a
Correct bulk edit price formatting.
2018-01-11 11:21:37 +00:00
claudiulodro
a3d0d71cdf
Deprecate theme notice
2018-01-10 09:52:52 -08:00
claudiulodro
d87497962b
Revert "Remove unsupported theme notice"
...
This reverts commit aad3792817
.
2018-01-10 09:45:16 -08:00
Claudio Sanches
501f03e306
Merge pull request #18411 from MechielCouvaras/patch-1
...
Update Klarna copy in Setup Wizard
2018-01-10 11:11:41 -02:00
Mechiel Couvaras
294b2cca74
Update class-wc-admin-setup-wizard.php
...
Update to Klarna copy as per their specification.
2018-01-10 12:42:47 +02:00
Shiva Poudel
8232d0ba74
Storefront theme as official theme
2018-01-10 15:30:03 +05:45
claudiulodro
aad3792817
Remove unsupported theme notice
2018-01-09 13:51:12 -08:00
Mike Jolley
d13dfa65c6
Remove unused code
...
Closes #18390
2018-01-09 09:33:16 +00:00
claudiulodro
00372e9bb0
Remove videos from help sections
2018-01-08 10:48:25 -08:00
claudiulodro
a0be4eace9
Merge remote-tracking branch 'origin/square-3.3' into HEAD
2018-01-05 11:44:45 -08:00
Paul Maiorana
00da05c437
Update description for Square per their feedback.
2018-01-05 14:31:37 -05:00
Claudiu Lodromanean
70294e977b
Merge pull request #18371 from woocommerce/fix/18314
...
Preserve seconds when saving order date.
2018-01-05 11:09:22 -08:00
Mike Jolley
ae723d83fd
Preserve seconds when saving order date.
2018-01-05 14:44:36 +00:00
claudiulodro
d2618c2330
Merge remote-tracking branch 'origin/master' into HEAD
2018-01-03 10:13:23 -08:00
claudiulodro
646caf5753
Tweaks for variation reports
2018-01-03 10:09:53 -08:00
Claudiu Lodromanean
14c2180928
Merge pull request #18279 from woocommerce/fix/setup-wizard-service-style-tweak
...
Setup wizard: adjust styling for service child elements
2018-01-03 09:38:28 -08:00
Paul Dechov
e03f0c201f
Align service name logos to top, and adjust padding
2018-01-03 10:43:26 -05:00
Mike Jolley
e1a82a4127
Add nonce to both panels. Closes #18333
2018-01-03 10:37:07 +00:00
Claudiu Lodromanean
e17dcdf81f
Merge pull request #18297 from macbookandrew/improve-blank-state
...
add button for creating coupons to coupon blank state
2018-01-02 11:45:28 -08:00
Andrew Minion
785641ef3c
update link to match rest of codebase
2018-01-02 14:05:47 -05:00
Claudiu Lodromanean
de71c92fa0
Merge pull request #18278 from woocommerce/fix/setup-wizard-ppec-api-subject-set-when-unchecked
...
Setup wizard: don't set PPEC "API Subject" when WCS rerouting is unchecked
2018-01-02 10:39:35 -08:00
Mike Jolley
5aee9f973c
Append timestamp to filename
2018-01-02 13:29:23 +00:00
Mike Jolley
46c51bb3a6
Allow filename to be set from javascript
2018-01-02 13:16:43 +00:00
Andrew Minion
40d9efc4b8
add button for creating coupons to coupon blank state
...
Makes it more user-friendly for someone unfamiliar with WordPress/WooCommerce, and even for those who are familiar and don’t immediately see the typical “Add Coupon” button in the top left corner by the header.
2017-12-27 11:53:20 -05:00
Paul Dechov
a87183503f
Fix api_subject option being set even when reroute_requests unchecked
2017-12-22 14:57:50 -05:00
claudiulodro
611ca58d09
Change sanitize function
2017-12-22 09:46:57 -08:00
Claudiu Lodromanean
4f94d9dbbc
Merge pull request #18247 from AdamQuadmon/wc-exporter-custom-filters
...
Add product export row action hook
2017-12-21 06:02:56 -08:00
Luciano Amodio
1b42973b75
Add export ajax query args and filename filter hooks
...
`woocommerce_export_get_ajax_query_args` let you pass args to ajax actions
`woocommerce_{$this->export_type}_export_get_filename` let you change the filename
2017-12-20 21:20:02 +01:00
Luciano Amodio
865efa3736
Add product export row action hook
...
having this hook is possible to actually use the woocommerce_product_export_product_query_args filter
```
add_action('woocommerce_product_export_row', 'export_custom_product');
add_filter( 'woocommerce_product_export_product_query_args', 'export_product_query_args');
// https://github.com/woocommerce/woocommerce/wiki/wc_get_products-and-WC_Product_Query
add_filter( 'woocommerce_product_data_store_cpt_get_products_query', 'handle_custom_query_var', 10, 2 );
function export_custom_product() {
$args = [
'show_option_all' => 'Custom',
'taxonomy' => 'pa_custom',
'name' => 'custom',
'orderby' => 'name',
'order' => 'ASC',
'selected' => isset($_REQUEST['custom']) ? $_REQUEST['custom'] : '',
'show_count' => true,
'hide_empty' => true,
'menu_order' => false
];
?>
<tr>
<th scope="row">
<label for="custom">Filter by Custom</label>
</th>
<td>
<?php wp_dropdown_categories($args); ?>
</td>
</tr>
<?php
}
function export_product_query_args($args) {
$args['custom'] = 'default';
if ( ! empty( $_POST['form'] ) ) {
$values = explode('=', $_POST['form']);
if('custom' === $values[0]) {
$args['custom'] = wp_unslash( $values[1] );
}
}
return $args;
}
function handle_custom_query_var( $query, $query_vars ) {
if ( ! empty( $query_vars['custom'] ) ) {
$query['tax_query'][] = array(
'taxonomy' => 'pa_ custom',
'field' => 'id',
'terms' => esc_attr( $query_vars['custom'] )
);
}
return $query;
}
```
2017-12-20 20:13:10 +01:00
Claudio Sanches
f40f3291f8
Fixed file log dates and implement better date formatting
...
Closes #18232
2017-12-19 15:38:50 -02:00
Claudiu Lodromanean
052fbc73c6
Merge pull request #18212 from WPprodigy/hide-add-coupon
...
Only show 'Apply coupon' in admin if coupons are enabled
2017-12-18 08:41:12 -08:00
Shiva Poudel
0432b58182
Remove unwanted transient then were not set
2017-12-18 20:03:08 +05:45
Caleb Burks
0d9e55d2ec
Hide Apply coupon in admin if coupons are disabled
2017-12-17 22:21:08 -06:00
Mike Jolley
fd2c676837
Merge pull request #18184 from woocommerce/fix/18182-storefront-wizard-notice
...
Storefront in wizard for non WC themes and default themes
2017-12-15 12:51:19 +00:00
Gerhard Potgieter
4ba9af1c2f
Change WC::is_active_theme into a global function wc_is_active_theme. Clean up the conditional checks to read better.
2017-12-15 14:32:54 +02:00
Mike Jolley
7c029d18e9
Merge pull request #18186 from woocommerce/fix/no-strict-array-select-settings
...
Option value comparison when saving select settings
2017-12-15 12:18:26 +00:00
Gerhard Potgieter
89d21a50a4
Convert allowed options to string values for comparison, html options have no data type distiction.
2017-12-15 13:39:05 +02:00
Gerhard Potgieter
30398a65f1
Do not use strict comparison when doing in_array on select settings as wp_unslash on the raw_value will return a string that fails comparison with int values.
2017-12-15 13:21:01 +02:00
Mike Jolley
d14d3afc2e
Merge pull request #18162 from WPprodigy/downloads-logging-enhancements
...
[3.3] New download logging reports enhancements
2017-12-15 11:09:21 +00:00
Caleb Burks
5130740aca
Escaping
2017-12-15 04:26:22 -06:00
Gerhard Potgieter
2907725e5c
Display storefront theme in wizard when theme does not support woocommerce, or a default theme.
...
Closes #18182
2017-12-15 10:23:31 +02:00
Claudiu Lodromanean
9cfc587d2e
Merge pull request #18160 from WPprodigy/hide-stock-status-on-variations
...
[3.3] Hide variation stock status setting conditionally
2017-12-14 09:05:01 -08:00
Mike Jolley
e3b61f6203
Merge pull request #18151 from woocommerce/fix/18149
...
Save offline gateways in wizard
2017-12-14 16:45:20 +00:00
Mike Jolley
1555507756
Merge pull request #18123 from woocommerce/update/setup-wizard-omit-paypal-standard
...
Setup wizard: Omit PayPal Standard unless plugins cannot be installed
2017-12-14 16:42:03 +00:00
Caleb Burks
b8e208269e
Adjust download reporting active filters display
2017-12-14 00:13:53 -06:00
Caleb Burks
76a2e5fe87
Capitalization fix
2017-12-13 23:59:20 -06:00
Caleb Burks
cb154b5d40
Add button for copying DL link
2017-12-13 23:57:47 -06:00
Caleb Burks
345376bc20
Add customer download report section
2017-12-13 23:29:12 -06:00
Caleb Burks
c7f5ee97db
Hide variation stock status setting conditionally
2017-12-13 22:38:03 -06:00
claudiulodro
cf86647de3
Save offline gateways in wizard
2017-12-13 13:38:33 -08:00
Beka Rice
f0a33bfa79
[WC 3.3] Fix fatal if gateway is deactivated
2017-12-13 13:59:07 -05:00
Claudiu Lodromanean
1296d6e087
Merge pull request #18141 from woocommerce/helper-connect-prompt
...
Helper: Prompt connection to WooCommerce.com for updates/support
2017-12-13 09:43:41 -08:00
Konstantin Kovshenin
1928a9cbf6
Helper: Prompt connection to WooCommerce.com for updates/support
...
A persistent prompt for users to connect their store to their
WooCommerce.com account, if they happen to have one or more active
extensions provided by WooCommerce.com.
Fixes #17501
2017-12-13 19:34:44 +03:00
Paul Dechov
8f3de46637
Merge branch 'master' into update/setup-wizard-omit-paypal-standard
2017-12-13 09:41:25 -05:00
Paul Dechov
d7ae29fe51
Fix UK country code in Square support check
2017-12-13 09:37:15 -05:00
Paul Dechov
f4c557a9be
Add test verifying that the correct list of payment gateways is returned per country
2017-12-13 09:35:43 -05:00
Mike Jolley
71c9025709
Updates CSS for chevron to work across browsers - input::before is not supported in Firefox.
2017-12-13 14:30:00 +00:00
Mike Jolley
f2471aea16
Merge pull request #18122 from woocommerce/update/setup-wizard-ppec-settings-description
...
Setup wizard: omit unnecessary sentence from PPEC settings description
2017-12-13 12:33:00 +00:00
Rodrigo Primo
1b6c5fb9b2
Merge pull request #18098 from woocommerce/update/orders-list-table-phpcs
...
Fix PHPCS violations on class-wc-admin-list-table-orders.php
2017-12-13 10:21:47 -02:00
Rodrigo Primo
e5160b28a9
Manually fix some PHPCS violations
2017-12-13 09:41:34 -02:00
Paul Dechov
b1b604b401
Fix stripe being shown in Klarna and Square cases regardless of Stripe support
...
No difference in practice, since I believe all Klarna and Square countries are supported by Stripe, but for robustness this should be explicitly checked.
2017-12-12 20:39:04 -05:00
Paul Dechov
b26a3ca1a2
Fix 'Klarna Payments' name
2017-12-12 20:22:01 -05:00
Paul Dechov
4511c5ae12
Make PPEC opt-out in every case
2017-12-12 20:21:21 -05:00
Paul Dechov
1706c3e152
Refactor 'get_wizard_in_cart_payment_gateways' function
...
Extract function that returns all possible in-cart gateways, and tighten the logic overall.
2017-12-12 20:20:26 -05:00
Frédéric Demarle
52d7d136d6
Remove useless translators comment
2017-12-12 20:49:10 +01:00
Paul Dechov
080c5b50e7
Omit PayPal Standard unless plugins cannot be installed
2017-12-12 14:04:36 -05:00
Paul Dechov
200c6780e9
Setup wizard: omit unnecessary sentence from PPEC settings description
2017-12-12 13:57:46 -05:00
Mike Jolley
a89b8cd707
Update the logo in the wizard
2017-12-12 17:38:10 +00:00
claudiulodro
4af3f9f12f
Add class back to paypal in wizard
2017-12-12 08:24:35 -08:00
Caleb Burks
53873857ef
Move three display settings to customizer
2017-12-11 22:30:14 -06:00
claudiulodro
ba363b6353
Bring up-to-date with master and resolve conflicts
2017-12-11 11:36:00 -08:00
claudiulodro
3b94d0c52b
Bring up-to-date with master and resolve conflict
2017-12-11 10:27:05 -08:00
Claudiu Lodromanean
c0e0f9c2cb
Merge pull request #18039 from woocommerce/add/setup-wizard-wcs-paypal-express-checkout-settings
...
Setup wizard: PayPal Express Checkout settings for rerouting via WCS
2017-12-11 08:26:24 -08:00
Rodrigo Primo
5915e6e892
Fix WPCS violations automatically using phpcbf
2017-12-11 14:24:54 -02:00
Paul Dechov
0f84a5eb4b
Revise checkbox label
2017-12-11 09:50:27 -05:00
Mike Jolley
dd59a9c51c
Merge pull request #18093 from woocommerce/fix/unsupported-php-syntax
...
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
2017-12-11 14:09:13 +00:00
Rodrigo Primo
fc43bde6f8
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
...
Commit 8f37ea33ed
added the following line that works only on PHP >= 5.4 as function array dereferencing is not present in PHP version 5.3 or earlier. This commit fixes it by replacing that line with a alternative that is compatible with PHP >= 5.2.
6ecc3bc442/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L189)
2017-12-11 11:20:42 -02:00
Mike Jolley
a65db31443
Update text.
...
Closes #18078
2017-12-11 13:19:19 +00:00
Mike Jolley
426897ac2d
Merge pull request #18075 from woocommerce/update/extension-screen-styles
...
Update extension screen styles
2017-12-08 17:28:39 +00:00
Mike Jolley
d0db71c6c2
Flex grid for extension list
2017-12-08 13:23:08 +00:00
Mike Jolley
1944bf7191
Remove text type setting
2017-12-08 11:24:21 +00:00
Gerhard Potgieter
0c5a0b06cc
Merge pull request #17926 from woocommerce/add/search-functionality-extensions-page
...
Adds search functionality to extensions page
2017-12-08 10:48:38 +02:00