Mike Jolley
4a63bb1681
Brackets
2014-05-13 16:09:30 +01:00
Mike Jolley
ae50b3e4ce
Remove title from product not purchasable message
2014-04-30 10:05:05 +01:00
Mike Jolley
afafc066eb
typecast $used_by to array in case its not set. Closes #5350
2014-04-29 15:09:17 +01:00
Akeda Bagus
86de4e10e1
Typo fix.
2014-04-29 15:02:43 +01:00
Andrew Benbow
5ceb59b28f
Update class-wc-cart.php
2014-04-10 13:45:04 +01:00
Andrew Benbow
40fa2659ee
Update class-wc-cart.php
2014-04-10 13:45:01 +01:00
Andrew Benbow
df9a876e87
Update class-wc-cart.php
2014-04-10 13:44:58 +01:00
Mike Jolley
206feeabe8
When removing base taxes, round to precision.
2014-04-10 13:41:47 +01:00
Mike Jolley
2f605e75e5
Brackets
2014-03-25 13:40:51 +00:00
Brent Shepherd
16d935a2cb
Add 'woocommerce_cart_taxes_total' filter
2014-03-24 12:10:37 +00:00
Mike Jolley
3cf6d78859
URL decode not needed for custom text attribute names Closes #5155
2014-03-20 09:58:40 +00:00
Mike Jolley
10190ab177
Ensure attributes exist
2014-03-05 10:57:02 +01:00
Mike Jolley
2727b62dec
Fix after tax coupon amounts
2014-02-27 15:53:36 +01:00
Mike Jolley
ceacbb31bd
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-27 15:24:26 +01:00
Mike Jolley
e345281018
Handle get_rate_code when no matching rate is found. Prevents notices.
2014-02-17 16:36:21 +01:00
Mike Jolley
c64d25884e
define cart_session_data in constructor Closes #4822
2014-02-17 13:35:38 +01:00
Mike Jolley
2853f706a5
Fix saving of fee tax total Closes #4774
2014-02-13 16:53:32 +01:00
Mike Jolley
d3dab23b75
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
2014-02-12 16:18:53 +01:00
Mike Jolley
3e38d1ff17
return a string for get_cart_url and get_remove_url Closes #4724
2014-02-12 16:18:53 +01: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
Mike Jolley
8f2b9afe93
Check for the term object
2014-01-28 12:13:19 +00:00
Mike Jolley
e04fafcba9
Correctly total and loop fee taxes Closes #4559
2014-01-22 14:10:11 +00:00
Geert De Deckere
d563ff543d
Improved notices in the add_to_cart() method
...
- Moved the button markup out of the translation strings.
- Used get_cart_url() instead of get_permalink( wc_get_page_id( 'cart' ) ).
- Added some newlines to improve code readability.
2014-01-04 23:46:43 +01:00
Mike Jolley
0c9962cf93
Get correct name Fixes #4385
2013-12-24 14:28:25 +00:00
thenbrent
8ad3326016
Only allow a fee to be added once
2013-12-13 13:10:25 -08:00
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Coen Jacobs
1cb8aa1724
Code styling fixes and return values for #4244
2013-11-29 10:15:58 +01:00
Gregory K
43ca01badc
PhpDocs and TODO comments
2013-11-28 12:59:09 -05:00
Gregory K
5caf292456
PhpDoc fix in class-wc-cart
2013-11-25 10:06:06 -05:00
Coen Jacobs
c800d83182
Merge pull request #4197 from tivnet/master
...
Corrected some PhpDocs in class-wc-cart
2013-11-25 06:43:38 -08:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Gregory K
f2e34496d0
Corrected some PhpDocs in class-wc-cart
2013-11-25 07:40:16 -05:00
thenbrent
1ce5500b06
Add WC_Cart::get_cart_for_session()
2013-11-22 15:30:24 -08:00
thenbrent
bb14495064
Check products are purchasable when restoring cart
...
If WC_Product::is_purchasable() is only called when adding a product to the cart,
it's possible to purchase products that aren't purchasable (but were when they were
added to the cart).
2013-11-22 15:14:08 -08:00
Mike Jolley
6ea8cad430
Related display fixes for attributes #4123
2013-11-18 14:11:40 +00:00
Coen Jacobs
90008d7143
Merge remote-tracking branch 'thenbrent/new_notice_api'
...
Conflicts:
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-message-functions.php
woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Mike Jolley
197c0c76cc
Only unset cookie if it exists #3513
2013-11-13 14:55:15 +00:00
Mike Jolley
b116d7619d
Ex tax calcs Closes #4100
2013-11-13 12:12:27 +00:00
thenbrent
0d45e19fcf
Update calls to wc_add_error() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
Mike Jolley
3fd02a57d0
Locales - store standardised values, and display using locale in admin #3862
2013-11-12 17:43:30 +00:00
Mike Jolley
95c0a67fdf
Merge pull request #4017 from scottbasgaard/master
...
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-29 09:49:55 -07:00