thenbrent
|
e1560bc9c6
|
Remove mention of after tax discounts in comments
Related to #6830
|
2014-12-15 15:27:10 +10:00 |
thenbrent
|
a94cf06e4b
|
Deprecated notice for WC_Cart->discount_total
Related to #6830
|
2014-12-15 15:25:53 +10:00 |
Mike Jolley
|
c929b35f4f
|
$discount_total deprecated to prevent errors.
|
2014-12-12 16:39:24 +00:00 |
Mike Jolley
|
76ec750dbb
|
[2.2] remove_taxes needs to clear line_tax_data
|
2014-12-09 12:58:25 +00:00 |
Mike Jolley
|
76898699cd
|
Clarify variable comment #6830
|
2014-12-09 11:00:41 +00:00 |
Mike Jolley
|
eba8206540
|
Merge branch 'tax-coupon-handling' Closes #6830
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
|
2014-12-03 12:33:15 +00:00 |
Barry Kooij
|
23b38f9490
|
Typos
|
2014-11-29 12:35:36 +01:00 |
Barry Kooij
|
0ccf153227
|
Merge branch 'master' of github.com:woothemes/woocommerce
|
2014-11-29 12:33:43 +01:00 |
Barry Kooij
|
21b7fe60f6
|
Codestandards
|
2014-11-29 12:33:36 +01:00 |
Barry Kooij
|
c2321aeb94
|
Code standards.
|
2014-11-27 22:38:36 +01:00 |
Barry Kooij
|
d990daed57
|
Typo.
|
2014-11-27 22:36:46 +01:00 |
Nicola Mustone
|
b074f63a7e
|
Typo itme -> item
|
2014-11-26 19:07:13 +01:00 |
Mike Jolley
|
3c82331a8b
|
Store discount 'tax' to show discounts on prices including tax more accuratly
Also deprecated some functions named after having 2 levels of discounts.
|
2014-11-25 13:05:03 +00:00 |
Mike Jolley
|
549d7ab2c0
|
Removed 'apply before tax' options for coupons - this should be the default core behaviour
|
2014-11-24 17:24:25 +00:00 |
Mike Jolley
|
8b4332a037
|
Refactors to shipping tax rate methods
|
2014-11-21 13:06:33 +00:00 |
claudiosmweb
|
dbcf4de41f
|
Fixed WC_Cart::get_cart_item() return type
|
2014-11-19 09:46:40 -02:00 |
Claudio Sanches
|
c7dc0947c4
|
Merge pull request #6788 from SiR-DanieL/undo_cart
Undo cart removal
|
2014-11-19 09:31:09 -02:00 |
Nicola Mustone
|
37ea3faf0a
|
Added missing get_cart_item
|
2014-11-18 20:48:45 +01:00 |
claudiosmweb
|
f34cead914
|
Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax()
|
2014-11-18 14:45:29 -02:00 |
Nicola Mustone
|
7eecb87d34
|
Added get_undo_url
|
2014-11-18 17:30:52 +01:00 |
Mike Jolley
|
f600c5ec05
|
Limit coupons to X needs to persist across lines during calc
Fixes #6745
|
2014-11-14 16:38:33 +00:00 |
Mike Jolley
|
1d3b8db754
|
Move formatting logic
|
2014-11-14 16:22:01 +00:00 |
Mike Jolley
|
668e5ffb5c
|
Some refactoring of the coupon class to load data with less code
|
2014-11-14 16:22:01 +00:00 |
ThomasSultana
|
d3542a2192
|
#6740 Expose Previous Item Quantity
woocommerce_after_cart_item_quantity_update will now also pass the old quantity. #6740
|
2014-11-13 12:11:24 +01:00 |
Mike Jolley
|
18ebded7c5
|
Make check_cart_items consistantly placed
Closes #6708
|
2014-11-12 15:47:27 +00:00 |
Mike Jolley
|
cb8fe34b4c
|
get_base_tax_rates() + filter. Closes #6668
|
2014-11-11 11:56:17 +00:00 |
Marin Atanasov
|
8892b1aeb0
|
fixing a typo in comments in WC_Cart and its tests
|
2014-11-09 17:42:49 +02:00 |
Barry Kooij
|
6312683eec
|
Small codestyle fix to add_discount method.
|
2014-10-28 11:51:33 +01:00 |
claudiosmweb
|
dfde3f0028
|
Prevents adding trashed products in the cart
|
2014-10-24 20:12:55 -02:00 |
Barry Kooij
|
80dc739ef0
|
Add return statement to check_cart_items
|
2014-10-24 20:56:06 +02:00 |
Barry Kooij
|
fbff5936d9
|
Added return statement to set_quantity
|
2014-10-24 16:02:31 +02:00 |
Barry Kooij
|
25d9b9e54a
|
WC cart codestyle
|
2014-10-24 15:35:45 +02:00 |
Barry Kooij
|
77521f699b
|
Optimized cart get_checkout_url method.
|
2014-10-21 15:08:51 +02:00 |
Chris Harvey
|
504253c909
|
Pass cart values to is_valid_for_product method
|
2014-10-10 15:44:18 +01:00 |
justinstern
|
26806660d4
|
include original $quantity with
woocommerce_add_to_cart_solid_individually_quantity filter
|
2014-09-24 16:54:15 -04:00 |
justinstern
|
b1c9db3282
|
Adds a woocommerce_add_to_cart_sold_individually_quantity filter
Additional control over the quantity added when a product is "sold
individually"
|
2014-09-24 16:38:52 -04:00 |
Shiva Poudel
|
0b58d335b8
|
Reverted access public
Thanks! @tamarazuk
|
2014-09-15 08:17:19 +05:45 |
Shiva Poudel
|
6e58c45196
|
@access public in docblock
|
2014-09-15 01:40:24 +05:45 |
Shiva Poudel
|
40fe9ffd2f
|
check_cart_item_validity() should have have public
|
2014-09-15 01:37:51 +05:45 |
Shiva Poudel
|
40ec40a411
|
Found and fix docblock comment
|
2014-09-15 01:35:22 +05:45 |
Shiva Poudel
|
8e09892064
|
better at get_option() @ L91
|
2014-09-15 01:33:13 +05:45 |
Shiva Poudel
|
a4f6b0f9f9
|
Converted Indentations to tabs
|
2014-09-15 01:29:56 +05:45 |
Shiva Poudel
|
f829e53a96
|
New line for docblock
|
2014-09-15 01:24:50 +05:45 |
Shiva Poudel
|
ccf15ff06b
|
Better docblock ;)
|
2014-09-15 01:22:48 +05:45 |
Shiva Poudel
|
cf421b1c12
|
OOPS! again time constant
|
2014-09-15 01:18:46 +05:45 |
Shiva Poudel
|
a2ab230efb
|
Use of time constant
|
2014-09-15 01:17:14 +05:45 |
Shiva Poudel
|
1e7a3ae6d3
|
indendation Improvement for WC_Cart
|
2014-09-15 01:14:32 +05:45 |
Mike Jolley
|
27a20dd80e
|
Docblock changes
|
2014-09-08 16:35:40 +01:00 |
Mike Jolley
|
c4ef86d44e
|
scrutinizer patches
|
2014-09-08 00:37:55 +01:00 |
Mike Jolley
|
602254851a
|
Reset fees before calculating/adding them again
Fixes #6090
@claudiosmweb Do you see any issues with this?
|
2014-08-26 15:39:19 +01:00 |
Barry Kooij
|
94365791af
|
Changed all use of get_product to wc_get_product
|
2014-08-19 12:09:29 +02:00 |
Nicola Mustone
|
e49fe4c713
|
Added parenthesis
WP coding standard says to add always parenthesis
|
2014-08-07 18:26:48 +02:00 |
claudiosmweb
|
0617d53353
|
fixed undefined offset when added products in cart
|
2014-08-04 16:37:42 -03:00 |
Mike Jolley
|
e02d94d305
|
Fix stock logic in 2.2 for variations with parents which manage stock
Closes #5957 @claudiosmweb can you review this change?
|
2014-08-04 10:51:54 +01:00 |
Mike Jolley
|
3f906b1ffa
|
Change shutdown hook priority
Fixes #5860
|
2014-07-31 07:26:49 +01:00 |
Mike Jolley
|
c465c7235d
|
Merge branch 'credit-notes'
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
|
2014-07-29 12:09:52 +01:00 |
Mike Jolley
|
134f31abb9
|
Taxes were stored backwards
cc @claudiosmweb
|
2014-07-23 11:37:02 +01:00 |
Mike Jolley
|
ab36ec12d5
|
Merge pull request #5822 from helgatheviking/fix/add-to-cart
add_to_cart() return $cart_item_key
|
2014-07-22 18:32:55 +01:00 |
Kathy Darling
|
7e0121a0d9
|
update docblock for add_to_cart() method
|
2014-07-22 12:25:12 -04:00 |
claudiosmweb
|
5152457d9d
|
improved the saving the new tax data
|
2014-07-20 01:28:16 -03:00 |
claudiosmweb
|
93cf3c88bd
|
initial implementation of order items taxes
|
2014-07-19 01:08:02 -03:00 |
Mike Jolley
|
9e6caec3a2
|
set cookies on shutdown in case of redirect.
|
2014-07-11 15:40:18 +01:00 |
Mike Jolley
|
755001f19b
|
Use order types where required
|
2014-07-11 12:43:42 +01:00 |
Kathy Darling
|
5a88e77959
|
add_to_cart() return $cart_item_key
|
2014-07-09 16:33:40 -04:00 |
Mike Jolley
|
137bf945ab
|
Defer cart cookie being set
|
2014-06-30 15:14:32 +01:00 |
Mike Jolley
|
ef3e728855
|
Setters + wc_create_order + wc_update_order for #4169
|
2014-06-11 15:10:03 +01:00 |
Mike Jolley
|
f30e95663b
|
Prefixes for queries
|
2014-06-03 11:29:01 +01:00 |
Mike Jolley
|
543ed6f207
|
Optimise cart class
|
2014-05-30 16:17:51 +01:00 |
Mike Jolley
|
42f9eab1bc
|
[2.1] Fix coupon limit checks and enhance to check ID by provided email (if logged out)
Fixes #5535
|
2014-05-22 16:23:01 +01:00 |
Mike Jolley
|
8ccfd3a2ae
|
Merge pull request #4618 from leewillis77/add_user_id_to_packages
[2.2] Add user ID to shipping packages
|
2014-05-15 10:44:14 +01:00 |
Mike Jolley
|
ffb6dcee4a
|
Brackets
|
2014-05-08 10:35:51 +01:00 |
Mike Jolley
|
55ad5bb0ad
|
Remove title from product not purchasable message
|
2014-04-30 10:04:16 +01:00 |
Mike Jolley
|
a6a65a2a9d
|
typecast $used_by to array in case its not set. Closes #5350
|
2014-04-24 15:26:38 +01:00 |
Akeda Bagus
|
2a97f07d47
|
Typo fix.
|
2014-04-15 22:56:35 +07:00 |
Mike Jolley
|
937db45913
|
[2.2] Merge ship to billing and billing only options
+ update options, update files to use new option + function Closes #5284
|
2014-04-08 16:28:27 +01:00 |
Mike Jolley
|
c981bb56ca
|
Merge pull request #5230 from ChromeOrange/master
show shipping form filter
|
2014-03-31 11:56:57 +01:00 |
Mike Jolley
|
24c2c845b7
|
When removing base taxes, round to precision.
|
2014-03-31 11:12:12 +01:00 |
Andrew Benbow
|
b3fc8cbdf6
|
Update class-wc-cart.php
|
2014-03-28 14:40:56 +00:00 |
Andrew Benbow
|
a8e941513c
|
Update class-wc-cart.php
|
2014-03-28 14:10:53 +00:00 |
Andrew Benbow
|
290043b108
|
Update class-wc-cart.php
|
2014-03-28 10:41:17 +00:00 |
Mike Jolley
|
9c913de1f2
|
Brackets
|
2014-03-25 11:36:35 +00:00 |
Brent Shepherd
|
49be7992e6
|
Add 'woocommerce_cart_taxes_total' filter
|
2014-03-20 17:54:18 -07:00 |
Mike Jolley
|
7bce58e9a1
|
URL decode not needed for custom text attribute names Closes #5155
|
2014-03-18 11:36:38 +00:00 |
Mike Jolley
|
6fcdccd73b
|
Ensure attributes exist
|
2014-02-28 15:42:16 +00:00 |
Mike Jolley
|
2e8c2e7396
|
Fix after tax coupon amounts
|
2014-02-27 14:14:17 +00:00 |
Mike Jolley
|
5062de9767
|
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
|
2014-02-20 16:39:57 +00:00 |
Mike Jolley
|
3be6664f05
|
Handle get_rate_code when no matching rate is found. Prevents notices.
|
2014-02-17 15:11:50 +00:00 |
Mike Jolley
|
ca782212de
|
define cart_session_data in constructor Closes #4822
|
2014-02-17 10:16:06 +00:00 |
Mike Jolley
|
551ca62c3d
|
Fix saving of fee tax total Closes #4774
|
2014-02-13 15:42:17 +00:00 |
Mike Jolley
|
ca09b0a8bc
|
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
|
2014-02-12 13:05:20 +00:00 |
Mike Jolley
|
e713fc68b8
|
return a string for get_cart_url and get_remove_url Closes #4724
|
2014-02-12 12:33:02 +00:00 |
Mike Jolley
|
875694e2eb
|
Fix array sum and out of base subtotals
|
2014-02-05 11:45:26 +00:00 |
Coen Jacobs
|
60f04ee3b4
|
Merge pull request #4638 from woothemes/simple_fee_tax_calculation
Tax total for fees added to total fees
|
2014-02-05 12:32:25 +01:00 |
Coen Jacobs
|
b5ad68ff2a
|
Remove unused total fee tax variable
|
2014-02-05 12:31:23 +01:00 |
Coen Jacobs
|
3d7c2fc297
|
Tax fees should respect tax rates too
|
2014-02-05 12:30:47 +01:00 |
Coen Jacobs
|
c9d39bcc8b
|
Tax total for fees are already flattened
|
2014-02-05 12:03:56 +01:00 |
Mike Jolley
|
e453e6f17d
|
After tax coupons * qty Closes #4625
|
2014-02-04 13:35:04 +00:00 |
Mike Jolley
|
ad84eea2f7
|
Ensure coupons get totalled when prices exclude tax. Closes #4604
|
2014-02-03 15:29:44 +00:00 |
Lee Willis
|
8446e73c49
|
Add user ID to shipping packages
|
2014-02-02 22:30:17 +00:00 |
Mike Jolley
|
8f2b9afe93
|
Check for the term object
|
2014-01-28 12:13:19 +00:00 |