Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Peter Fabian
14a26aca2c
Update min files and selectWoo
2020-06-16 17:15:12 +02:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
Rodrigo Primo
62d6b05b58
Fix Generic.Formatting.MultipleStatementAlignment violations
...
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Marco Almeida
238e0f2337
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url()
2019-08-29 08:47:31 +01:00
itzmekhokan
148f22ac1d
Added a filter for reposition shipping calculator
2019-08-10 19:22:32 +05:30
Andy Mardell
9d4e7f2e12
Rename filters
2019-07-09 21:22:41 +01:00
Andy Mardell
f2152e665e
Allow notice type changes when updating cart
2019-06-27 14:54:35 +01:00
Mike Jolley
d7f768f779
Merge pull request #21069 from tomaskavalek/patch-1
...
Added missing HTML filter for quantity
2019-01-22 14:36:20 +00:00
Mike Jolley
6367d19615
phpcs
2019-01-21 08:11:40 -08:00
Mike Jolley
fa6e2536db
Tweak cost display logic
2019-01-17 13:56:11 +00:00
Mike Jolley
bd611172c2
Hide 0 costs for local pickup
2019-01-14 15:14:44 +00:00
JeroenSormani
f4775ccd90
Use shipping method instead of property through magic + doc return statements
2019-01-04 12:41:38 +00:00
Tomáš Kavalek
f93f36ee65
Added missing HTML filter for quantity
...
https://github.com/woocommerce/woocommerce/pull/21069#pullrequestreview-147005349
2018-09-05 20:39:12 +02:00
Peter Fabian
355d95db9d
Added tabindex 1 to Add to cart notices (View cart/Continue shopping).
2018-08-20 18:39:31 +02:00
Tomáš Kavalek
34300a1c52
Added missing HTML filter for quantity
...
New filter into wc_add_to_cart_message which allows modify printed product quantity into message – for example in case of floats units – 1.2 kg (add_filter('woocommerce_stock_amount', 'floatval');)
2018-08-16 09:44:01 +02:00
andgrankin
5bb55159a7
Fixed typo in translations context
...
When only one shipping package translation was not applied because of wrong context.
2018-08-16 12:30:42 +07:00
Andrew Lazarus
d49f02a4e6
Updated prefix in filter
2018-07-06 19:04:08 +02:00
Andrew Lazarus
97269fc5d9
Added filter on item name in quotes
...
Filter added to item in quotes.
Initially was thinking that is it needed to translate the quotes only? I can't find any languages that do this specifically, but if it's a RTL language, perhaps you'd swap around the quote direction.
The function `wc_add_to_cart_message` gives you the filter `wc_add_to_cart_message` to play with, but is already set in stone as HTML, and if you truly want to change the HTML of this message, you would need to rewrite the function.
Simply adding `<strong>` to the product title is not possible without preg_replacing or hooking into gettext
2018-07-05 16:10:32 +02:00
Mike Jolley
588be3a780
merge master
2018-06-11 13:46:04 +01:00
Caleb Stauffer
d4d771437c
fix bug with cart coupon text (without introducing new filter)
2018-06-01 22:44:03 -04:00
Mike Jolley
f9c178b0dd
Pass formatted destination to template file
2018-06-01 21:29:23 +01:00
Caleb Stauffer
6fc7a2d7cc
add filter to toggle between coupon's discount amount and free shipping text
2018-05-31 20:44:49 -04:00
urosmil
19efe63fe8
Improved wc_add_to_cart_message filter ( #19817 )
...
* Improved wc_add_to_cart_message filter
Added product quantity parameter to filter, as it is relevant for construction of message and passed through function call.
* Removed param from deprecated function
Param has been removed from deprecated function as suggested
2018-05-30 14:53:15 +01:00
Frédéric Demarle
fa4b1a741e
Add $product as 2nd param in filter woocommerce_cart_item_data_to_validate
2018-04-30 17:48:22 +02:00
Claudio Sanches
53cde6f317
Fixed conflicts in cart functions and fixed PHPCS violations on core funcitons
2018-03-09 12:46:20 -03:00
Claudio Sanches
bea2ec7fba
Fixed includes/wc-cart-functions.php PHPCS violations
2018-03-07 12:12:27 -03:00
Chunkford
732416ff34
Update wc-cart-functions.php
2018-03-07 13:21:23 +00:00
Mike Jolley
07e17aafd5
typo
2018-03-07 11:47:42 +00:00
Mike Jolley
46862deb17
wc_get_cart_item_data_hash function
2018-03-05 19:57:57 +00:00
Boro Sitnikovski
328dad7659
Improve UI on Coupon amount in cart
2018-02-28 09:47:59 +01:00
Mike Jolley
b93f719b36
Merge pull request #18624 from Chunkford/patch-4
...
Display zero value when using shipping classes
2018-02-22 12:22:58 +00:00
Mike Jolley
0df57524a7
Added woocommerce_persistent_cart_enabled filter
2018-02-19 16:36:26 +00:00
Chunkford
af01745787
Update wc-cart-functions.php
2018-01-31 17:11:21 +00:00
Chunkford
afb21dda06
Update wc-cart-functions.php
2018-01-31 12:02:59 +00:00
Chunkford
4af291c38c
Update wc-cart-functions.php
...
Alteration to the proposed changes to take into account free shipping so the price isn't displayed
2018-01-31 11:58:37 +00:00
Chunkford
e831406d9f
Display zero value when using shipping classes
...
When offering free shipping on certain products via a shipping class, the price (albeit zero value) isn't shown to the end user.
https://www.screencast.com/t/8oT7maIftTZo
It makes for a better user experience to actually show the 0.00 price to ensure there isn't any doubt.
https://www.screencast.com/t/mkrKWNItrI5r
2018-01-27 13:25:24 +00:00
Mike Jolley
01871fd2c8
Add getter for tax_display_cart variable, with filter
2017-12-15 13:39:35 +00:00
hardipparmar
db14a2595f
Changed.
2017-12-11 12:15:44 +05:30
Mike Jolley
d49590d0a3
Fixes to 5.2 rounding function and additional tests
2017-12-05 12:10:23 +00:00
Mike Jolley
55af8a2ec8
wc_cart_round_discount
2017-12-04 22:10:47 +00:00
Claudio Sanches
1008ad1203
Fixed method returning value in write content warning in legacy PHP
2017-10-27 16:01:33 -02:00
Mike Jolley
6a7af9897a
Standards
2017-10-27 15:21:03 +01:00
Chris Schrijver
dee7a8c8d4
If no tax rate is defined for a specific country it still shows "incl. VAT" at the checkout / cart when tax display is set to "As single total". This will solved that
2017-10-11 17:58:43 +02:00
Mike Jolley
f1f3a6fbc0
Add legacy shipping conditon
...
Closes #16853
2017-09-20 14:11:47 +01:00
Mike Jolley
9e1bd3c54d
phpcs
2017-09-20 14:03:06 +01:00
Mike Jolley
804feb9333
Store fee amount and prevent totals going negative
2017-08-23 12:15:06 +01:00
Mike Jolley
aefb9c4705
Moved magic method to legacy
2017-08-18 11:37:22 +01:00
Mike Jolley
aa82a54f47
Prevent notices
2017-08-09 19:27:19 +01:00
Mike Jolley
73350e5418
Fake round half down in PHP 5,2
...
Fixes unit tests.
2017-08-09 11:59:50 +01:00