Peter Fabian
3e9a862450
Added offset between product information and tabs.
2019-11-22 17:30:34 +01:00
Peter Fabian
b681720aa4
Harmonize styling for simple products Add to cart button with variable products.
2019-11-22 17:13:58 +01:00
Peter Fabian
b58bdf7c1d
Add styling for 'added to cart' notices:
...
- make spacing even
- center the text in the middle with some flex tricks
2019-11-22 16:57:42 +01:00
Peter Fabian
cf377a643a
Make the title/price spacing work for Products without rating and short description.
2019-11-22 16:56:31 +01:00
Peter Fabian
962e9292b1
Margin for clear variations link to give it some space.
2019-11-22 16:22:57 +01:00
Peter Fabian
b22a216bb1
Make the button symmetrical.
2019-11-22 16:19:33 +01:00
Peter Fabian
17e98afc2a
Style product meta information.
...
Make it less prominent, offset it further away from the button.
2019-11-22 16:17:23 +01:00
Peter Fabian
e188620232
Add padding to the variation picker table to make it same size as quantity picker.
2019-11-22 16:13:05 +01:00
Peter Fabian
301b976cfa
Make Add to cart button same size as quantity input.
2019-11-22 16:12:15 +01:00
Peter Fabian
177f720f1b
Let the price have some more space from the bottom as well.
2019-11-22 15:54:43 +01:00
Peter Fabian
572ac52cb3
Make the product rating a bit less prominent, let the price have some more space.
2019-11-22 15:51:42 +01:00
Peter Fabian
9c74bf79ea
Rather than setting the background in CSS, use the color picked in the
...
customizer.
This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Peter Fabian
ae2ebdb933
Main image size needs to correspond to settings in the PHP script.
2019-11-22 14:56:44 +01:00
Denis Dvali
0810c4a027
Url encode value of "wccom-back" GET param in product links on in-app marketplace.
2019-11-22 15:02:58 +03:00
Peter Fabian
fa48cd2aa7
Make single product page layout wider and enlarge breadcrumb offset.
2019-11-22 12:51:39 +01:00
Peter Fabian
0798098e05
Override default beige background to make the design more versatile and clean.
2019-11-22 12:36:23 +01:00
Andrej Mernik
296cb8c3c8
Change phpcs:ignore syntax
2019-11-22 07:07:27 +01:00
BrandynL
1ba02bc581
add do_action before and after confirmation message in lost-password-confirmation.php
2019-11-21 15:46:16 -05:00
Justin Shreve
1fabf2f145
Handle PR feedback
2019-11-21 12:23:05 -05:00
Christopher Allford
a0c4d54b4a
Updated NonceVerification code sniff suppressions
...
The suppressions come in two flavors, a warning and an error. The suppressions have been updated to respect those states accordingly.
2019-11-21 09:19:56 -08:00
Justin Shreve
ff68f30c2c
Update opt-in value to 'yes'
2019-11-21 12:00:05 -05:00
Justin Shreve
18925f2218
Adds an a/b test for the new onboarding experience
2019-11-21 12:00:04 -05:00
Christopher Allford
8066f43188
Merge branch 'master' into fix/25004
2019-11-21 08:14:03 -08:00
Rodrigo Primo
e292e95542
Update WPCS rule name that was change after an update
2019-11-21 12:17:10 -03:00
Rodrigo Primo
49b1294494
Simplify and modernize wc_print_r()
...
Replaces a call to call_user_func_array() with argument unpacking using the spread operator.
2019-11-21 12:04:08 -03:00
Rodrigo Primo
6cd08dc7bd
Use the spread operator instead of call_user_func_array() in WC_Data_Store
...
This commit replaces a call to call_user_func_array() in WC_Data_Store::__call() with argument unpacking using the spread operator which was introduced in PHP 5.6. This change should improve WooCommerce performance a tiny bit since WC_Data_Store::__call() is called somewhat frequently and call_user_func_array() has a bad performance reputation. I added one unit test to make sure this change doesn't break the functionality of the altered method.
2019-11-21 11:52:47 -03:00
Rodrigo Primo
fa875a4d25
Fix PHPCS errors in tests/framework/class-wc-dummy-data-store.php
2019-11-21 11:52:07 -03:00
Rodrigo Primo
ed1c4b11b8
Fix PHPCS errors in WC_Tests_Data_Store class file
2019-11-21 10:41:27 -03:00
Rodrigo Primo
44b09cb15a
Remove unused test method
2019-11-21 10:40:38 -03:00
vedanshujain
70a54d0639
Added Unit Tests for `held_for_checkout` records.
2019-11-21 18:11:37 +05:30
Jory Hogeveen
99407495b7
Add action parameters for context
2019-11-21 13:35:15 +01:00
Jory Hogeveen
2f39d0a6fb
Before and after product list hooks
...
Allows adding extra rows.
2019-11-21 13:28:43 +01:00
Andrej Mernik
70cd18d047
Globals check override
...
Use the cross-sells.php globals check override
2019-11-21 11:12:33 +01:00
Andrej Mernik
c40c626886
Coding standard check fixes
2019-11-21 11:02:50 +01:00
vedanshujain
882b441bfb
Remove order_id param because order is not pending (see desc).
...
In the query inside method `wc_get_hold_stock_quantity` we have a clause of `status = wc_pending`. Call for this method here is already nested inside an `if` condition which checks that order is not pending. So this parameter is not needed here and only adds complexity to the final query.
2019-11-21 13:49:49 +05:30
Jacob McKinney
0d35e2e5eb
Removed variable and set exception paramater to array containing the order id.
2019-11-20 22:52:04 -06:00
Christopher Allford
8fd99a74b9
Added descriptive text to the usage tracking documentation link in the setup wizard
2019-11-20 12:47:56 -08:00
vedanshujain
e87024bb81
Add support for '_held_for_checkout` records to prevent race conditions.
...
When creating an order, if manage inventory is enabled then add a `_held_for_checkout` record with a expiry timestamp embedded. This is added in an atomic manner along with making a check whether we have current stock or not.
This record is removed when order status goes to either `processing` or `completed`.
2019-11-21 01:21:08 +05:30
Christopher Allford
661f2b7722
Added a comment clarifying the suffix substring when checking slug uniqueness
2019-11-20 10:02:34 -08:00
Christopher Allford
55f49ae26a
Added an appropriate @since tag to the generate_unique_slug method
2019-11-20 09:55:35 -08:00
Christopher Allford
1237b7c45f
Removed the jquery-ui compilation
2019-11-20 09:44:03 -08:00
Christopher Allford
4a8645c9b4
Changed the default sorting for the products shortcode to "menu_order"
...
In order to take advantage of the "Sorting" admin feature, we need to make use of the menu order sorting. Initially we were using the title, which would ignore whatever the user set.
2019-11-20 09:19:54 -08:00
Christopher Allford
b12574e9e4
Fixed code sniffs
2019-11-20 08:16:19 -08:00
Christopher Allford
358825f006
Added a transient clear when product ordering is changed
2019-11-20 06:50:32 -08:00
Andrej Mernik
9aa8f5f5b3
Further coding standards refactoring
2019-11-20 14:23:57 +01:00
Andrej Mernik
45e8101e4a
Coding standard fixes
2019-11-20 14:16:13 +01:00
Gerhard
2a4a1a5842
Remove unused $updated_props variable
2019-11-20 14:47:44 +02:00
Michael Weichselgartner
2092da00c4
Fix second param of action hook woocommerce_coupon_object_updated_props
...
Changed second param from $updated_props to $this->updated_props
2019-11-20 14:42:09 +02:00
Gerhard Potgieter
95a0a4c0a4
Merge pull request #24930 from arnofo/feature/empty-cart-action-new-parameter
...
pass the clear persistent cart variable to the cart emptied actions
2019-11-20 12:52:36 +02:00
Gerhard Potgieter
3e116716cd
Merge pull request #24944 from AdelDima/patch-1
...
Update abstract-wc-csv-batch-exporter.php
2019-11-20 12:33:40 +02:00