Commit Graph

961 Commits

Author SHA1 Message Date
Mike Jolley 251a93855c Shipping vs billing for tax. Closes #1457. 2012-09-12 11:16:53 +01:00
Neil Pie ceaa69ae39 Update classes/class-wc-order.php 2012-09-09 16:25:02 +02:00
Mike Jolley e10a29b3c0 last bits 2012-09-07 20:50:34 +01:00
Mike Jolley 5019700d79 more sessions 2012-09-07 19:28:30 +01:00
Coen Jacobs cf938137fa Cart: Sessions to transients 2012-09-07 19:48:30 +02:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 87d897d657 maybe_unserialize 2012-09-07 14:52:12 +01:00
Mike Jolley 11413a93bc session class 2012-09-07 14:31:57 +01:00
Mike Jolley 7f3218cc66 Option to enable Cash on Delivery for select shipping methods only. Closes #1437. 2012-09-07 10:49:36 +01:00
Mike Jolley 1d95fef681 Added wildcard support to local delivery postcodes. Closes #1477. 2012-09-06 23:49:56 +01:00
Mike Jolley 6496215d48 show currency. Closes #1468. 2012-09-06 17:47:16 +01:00
Mike Jolley c73393fbec Merge pull request #1465 from WooCommerceEU/master
Minor update for nl_NL translation
2012-09-06 08:20:03 -07:00
Mike Jolley 4c4bc9f5d2 Multi download features, and added the expirey back. 2012-09-06 16:16:16 +01:00
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 43bdc4ce99 Add ID to apply_filters post_title 2012-09-05 20:40:09 +01:00
Ramon van Belzen 7cbdb42d74 Removed States / Counties for NL
as discussed last week
2012-09-02 13:03:19 +02:00
Mike Jolley 59a49c6c5f hook #1158 2012-08-31 18:40:58 +01:00
Mike Jolley 6560d92ecc deprecated function bug. #1455. 2012-08-31 14:25:45 +01:00
Mike Jolley 9d2b9be190 tweak string 2012-08-31 09:47:57 +01:00
Mike Jolley 8cdbf6b5a4 Added more error messages for coupons 2012-08-31 09:45:50 +01:00
Mike Jolley 26c57c25aa Merge pull request #1442 from thenbrent/paypal-prefix-fix
PayPal Prefix Fix
2012-08-30 02:11:59 -07:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Coen Jacobs 82b37effc3 Check for proper decimals setting before round()
@mikejolley can you check if this is not conflicting our recent
tax/rounding changes in any way? Defaulting to 0 now, ran into an edge
case where the value was not set, causing an error with the rounding
function.
2012-08-28 10:07:43 +02:00
Brent Shepherd 45be86cf31 Getting an order id by order key if invoice prefix has changed. #1440 2012-08-27 14:10:37 +10:00
Mike Jolley 3eeae3a164 Hide cart button when a variation is out of stock with disabled backorders. Closes #1419. 2012-08-25 11:02:02 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 555cd9af60 replaced some date() with i18n. Closes #1428. 2012-08-25 10:20:56 +01:00
Mike Jolley 177592661c cleanup #1418 2012-08-24 18:22:21 +01:00
Mike Jolley 2605bf3da6 Merge pull request #1418 from kloon/master
Hide meta through prefix with display function
2012-08-24 10:16:19 -07:00
Mike Jolley ca5fca4455 Wipe line tax when an order is tax exempt 2012-08-24 18:14:49 +01:00
Gerhard 5ab3a7b234 Abillity to hide meta on order detail through prefix like _ 2012-08-24 10:38:45 +02:00
Mike Jolley 4c34904f38 SEO Wordaround 2012-08-22 20:44:27 +01:00
Mike Jolley 69478d4df3 Merge pull request #1401 from patrickgarman/master
Add $package data to WC_Shipping_Method::is_available( $package ) return
2012-08-22 08:37:01 -07:00
Mike Jolley 02b88b23b9 get_allowed_country_states() function. Closes #1407. 2012-08-22 16:13:58 +01:00
Patrick Garman 333d4de747 $package data would be good to have when filtering if shipping methods are going to be available. 2012-08-21 16:53:27 -05:00
Mike Jolley 03f64acf58 DP for #1383 2012-08-21 19:01:56 +01:00
Mike Jolley 975c701799 utm_nooverride Closes #1382. 2012-08-21 13:49:07 +01:00
Mike Jolley 647df60328 Republic of Ireland 2012-08-17 15:44:35 +01:00
Mike Jolley 8eec77120f Merge pull request #1374 from patrickgarman/master
Update NZ Regions
2012-08-15 11:43:07 -07:00
Mike Jolley 261dc12353 Some final docs... 2012-08-15 19:30:39 +01:00
Mike Jolley b5b665e9ec More class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 91430543bd More docs 2012-08-14 23:43:54 +01:00
Mike Jolley e3cd74f1cc Class docs 2012-08-14 23:43:54 +01:00
Mike Jolley 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Patrick Garman 66b5e6ae65 NZ Regions Update 2012-08-13 10:19:50 -05:00
Mike Jolley 8728c7a8c2 Titles and strstr. Closes #1366. 2012-08-12 15:12:52 +01:00
Mike Jolley d5163c5638 Made variation get_image() return instead of echo. Closes #1368. 2012-08-12 12:41:26 +01:00
Mike Jolley a7d7b6b6a6 Fix - Notice in invoice template with number_format 2012-08-12 09:28:07 +01:00
Mike Jolley 35186b2ac2 settings api - save mutliselect when empty 2012-08-11 16:41:28 +01:00
Mike Jolley 10a39244bd ecommerce track Closes #1361. 2012-08-10 16:56:13 +01:00
Mike Jolley 6d5b9991d3 version bump 2012-08-10 14:21:10 +01:00
Mike Jolley 59e6cf9d51 backwards comp. 2012-08-10 14:14:06 +01:00
Mike Jolley 277c55d596 Swapped invoice and custom in paypal and added prefix. Closes #1149. 2012-08-10 14:14:05 +01:00
Mike Jolley 702c0fde0c Payment/shipping dropdowns. Closes #1269. 2012-08-10 13:24:34 +01:00
Mike Jolley c92742284a Merge pull request #1358 from foxrunsoftware/master
Fix Downloadable Product Variation Linking in WC 1.6.2
2012-08-10 04:16:36 -07:00
Mike Jolley 9acb170520 Option to register using the email address as the username instead of entering a username. Closes #1027. 2012-08-10 12:15:32 +01:00
Justin Stern bdf5833531 Fix Downloadable Product Variation Link
Fix the downloadable product variation linking, which was broken in WC
1.6.2 due to the introduction of the has_file() method at the WC_Product
class, with an implementation that does not function properly for the
child WC_Product_Variation
2012-08-09 18:41:59 -04:00
Mike Jolley 6810107b56 case 2012-08-09 13:08:23 +01:00
Mike Jolley 56e8689c5d Merge pull request #1347 from scottbasgaard/master
Update Variation Image Title/Alt
2012-08-08 03:44:49 -07:00
Mike Jolley d5b9036e9a calc_tax hooks. Closes #1352. 2012-08-08 11:42:47 +01:00
Mike Jolley 6d7dae6b60 Localise comment emails. Closes #1353. 2012-08-08 09:21:30 +01:00
Kay.L c4a040cfd2 add trailing space to 'Shipping via'
On the Paypal.com checkout page, there is missing a trailing space on the text "Shipping via".

Before patch:
Shipping viaInternational Delivery


After patch:
Shipping via International Delivery
2012-08-08 03:22:14 +08:00
Scott Basgaard 713f6fa6f5 Update Variation Image Title/Alt
We should update the image title/alt when the product image changes for different variations.
2012-08-07 10:37:00 +02:00
kathy f2415b3761 switch get_price() checks to is_purchasable() for displaying Add to Cart button 2012-08-06 19:27:24 -05:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley 714f441ace Revised tax select box to allow top level country to be chosen (when the country has states) 2012-08-07 00:17:13 +01:00
Mike Jolley a1e330fe03 Fix for previous commit 2012-08-06 23:51:09 +01:00
Mike Jolley f48cafc1ff nz closes #1342. 2012-08-06 23:43:39 +01:00
Ramon van Belzen 58f8c863db Added provinces for NL 2012-08-06 18:24:11 +02:00
Mike Jolley 5eee013dd6 hook space 2012-08-06 13:24:59 +01:00
Mike Jolley 62a5039d76 Merge pull request #1339 from maxrice/master
added hooks to support analytics plugins
2012-08-06 05:24:13 -07:00
Mike Jolley c5f9170132 Merge pull request #1341 from franticpsyx/master
Added get_cart_contents_count() function and filter hook.
2012-08-06 05:22:02 -07:00
Manos Psychogyiopoulos 8dff33efa5 Added get_cart_contents_count() cart function. 2012-08-06 15:13:32 +03:00
Max Rice e9a75830c8 added hooks to support analytics plugins
successful ajax add to cart : woocommerce_ajax_added_to_cart,
$product_id

added valid coupon: woocommerce_applied_coupon, $coupon_code

reorded : woocommerce_ordered_again, $order->id

tracked order : woocommerce_track_order, $order->id

calculated shipping on cart : woocommerce_calculated_shipping
2012-08-05 12:42:25 -04:00
George Mamadashvili 59c2d18406 WC_Product::has_file should return bool
Return false if downloadable product has no file attached.
2012-08-04 12:28:39 +04:00
Mike Jolley 34691f098c product query action 2012-08-02 22:54:32 +01:00
Aaron Holbrook 2c0bbbe632 Update classes/class-wc-order.php 2012-07-31 21:15:37 -05:00
Mike Jolley e86cbfe59e prevent notice when id is not set 2012-07-31 13:28:03 +01:00
Mike Jolley 27a1ae8ee8 Store customer IP and UA on purchase. Closes #1318. 2012-07-31 13:11:17 +01:00
Mike Jolley 2e96d554ce has_file() Closes #1275. 2012-07-31 12:58:00 +01:00
Mike Jolley a322a83a7d analytics tracking 2012-07-30 16:01:33 +01:00
Mike Jolley e2ee473453 Merge pull request #1316 from maxrice/ga_event_tracking
add google analytics event tracking for add to cart
2012-07-30 05:52:30 -07:00
Max Rice c7eed14159 add google analytics event tracking for add to cart
Revised implementation of GA event tracking after feedback on #1315.
Adds jQuery .click bind on add to cart buttons on both single product
pages and loop pages.

new filter:
woocommerce_ga_event_tracking_parameters - allows change of category,
action, or label parameters included in _trackEvent

closes #1256
2012-07-29 16:39:28 -04:00
Mike Jolley 0a5a03bf0c settings page slug. Closes #1306. 2012-07-29 11:21:17 +01:00
Mike Jolley d68ef09e06 Round the discount. Closes #1297.
With cart percent discounts, before tax, we do it per item to account
for varying tax rates.

We need to round these values so the totals match. This may result in a
1p more or less overall, but per item it is correct.
2012-07-27 15:11:09 +01:00
Mike Jolley 07e2d50363 PayPal standard: No longer using shipping_1 2012-07-27 13:59:51 +01:00
Mike Jolley 85a9df86f1 Tweak locale. Closes #1302. 2012-07-26 17:29:49 +01:00
Mike Jolley 5845b37ca2 settings api 2012-07-26 15:11:29 +01:00
Mike Jolley 977384b6f8 Merge pull request #1290 from ChuckMac/master
Add Title Setting To WC_Settings_API
2012-07-26 06:59:34 -07:00
Mike Jolley 67bf56c399 Merge pull request #1293 from kloon/master
Ability to hide meta data on cart
2012-07-26 06:30:30 -07:00
Mike Jolley fde5f594e3 Set price after refreshing variation costs 2012-07-25 17:24:17 +01:00
Gerhard 96e078b99a Ability to hide meta fields on cart 2012-07-24 11:18:03 +02:00
ChuckMac 2c9512b153 Adding generate_title_html function 2012-07-23 14:43:38 -04:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Aaron Holbrook e4146d4c30 Fixed typo 2012-07-22 10:16:51 -05:00
Mike Jolley 6666af8de9 Merge pull request #1281 from maxrice/master
coupons tweaks
2012-07-22 05:53:24 -07:00
Max Rice 48d4c16353 add coupon used order note at checkout 2012-07-20 18:52:27 -04:00
Mike Jolley ea80bd2814 US Zip Code validation 2012-07-20 12:40:13 +01:00
Mike Jolley a239922632 reset loop on loop_end 2012-07-19 22:52:28 +01:00