Commit Graph

923 Commits

Author SHA1 Message Date
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
Mike Jolley 68399b3e4f State field default status. Closes #1268. 2012-07-18 20:07:32 +01:00
Mike Jolley 7c31003b47 Merge pull request #1267 from GeertDD/fix_postcode_before_city
Fix for putting postcode before city field
2012-07-18 07:36:26 -07:00
Geert De Deckere 803d6e1dc4 Fix for putting postcode before city field 2012-07-18 13:32:55 +02:00
Mike Jolley 5ec11abf9c localize Closes #1266. 2012-07-18 09:38:00 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley b1b9e57fad User the mailer class. Closes #1255. 2012-07-17 15:36:08 +01:00
Mike Jolley 638f91677d get_title on checkout. Closes #1259. 2012-07-17 15:28:26 +01:00
Mike Jolley 920314ea14 current check contents. Closes #1258. 2012-07-17 15:21:48 +01:00
James Collins 8fd4b636af 1.6.0 beta 1 version number updates
Corrects deprecated function version number, and plugin version number.
2012-07-17 12:54:42 +10:00
Mike Jolley 1b0a206bd9 Handling for non-JS checkout 2012-07-16 20:21:44 +01:00
Mike Jolley 32ae079fa6 set_price. Closes #1231. 2012-07-16 17:23:17 +01:00
Mike Jolley 4dcde409b8 Edit attribute slugs after creation. Closes #821. 2012-07-16 15:57:18 +01:00
Mike Jolley 880e8b6b0f Don't show price when variation prices don't differ. Closes #1199. 2012-07-11 23:19:33 +01:00
Mike Jolley 5cd01f58a0 get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059. 2012-07-11 19:32:00 +01:00
Mike Jolley a764608461 order_note comment type for future order notes, allowing you to filter in the comments section and show order notes in admin (so you can remove them). Closes #1244. 2012-07-11 15:53:40 +01:00
Mike Jolley fac3756e65 killed query posts 2012-07-11 15:13:11 +01:00
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Coen Jacobs 54c6b044bc Filter on add to cart url
@mikejolley please review
2012-07-10 16:09:55 +02:00
Mike Jolley af549be954 Tweak locales. Closes #1194. 2012-07-10 13:36:13 +01:00
Coen Jacobs 52fd982547 Colombia zipcodes are not required 2012-07-09 16:46:51 +02:00
Mike Jolley d8a969610f get_title() Closes #1204
Like the gateways now have.
2012-06-30 00:20:07 +01:00
Mike Jolley 2d8981c0fb Out of stock tweaks. #1191. 2012-06-29 20:40:18 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley fded81c26b Merge pull request #1197 from katzwebservices/master
Allow for more informed email filtering
2012-06-29 10:06:26 -07:00
Mike Jolley 491c02b35d Tweaks to previous merge 2012-06-29 17:51:15 +01:00
Mike Jolley 9b73be6eb1 Merge pull request #1202 from CodeRepublic/master
Modify WC_Product::get_image() for return
2012-06-29 09:48:08 -07:00
Mike Jolley cd35f60011 Windows CRT fix 2012-06-29 17:38:00 +01:00
matt 2b54280999 Modify WC_Product::get_image() for return
Function currently only echos. Commit enables function to return product
image. WCP+A replaces the product thumbnail with photo preview
thumbnail. Original function showed two thumbnails directly next to each
other.
2012-06-29 11:08:50 -04:00
Mike Jolley de83aac565 is_front_page workaround. @coenjacobs review please 2012-06-29 10:23:21 +01:00
Mike Jolley 35f74206f2 If address is required check for state OR postcode to see if an address has been entered yet. Some countries don't have states. 2012-06-27 15:18:10 +01:00
Mike Jolley 57fe4db23c Scheduled on sale ignored from sale widget 2012-06-27 12:00:24 +01:00
Zack Katz 98f84310cf Add object data to filters
Pass valuable object data to filters.
2012-06-26 19:09:39 -06:00
Mike Jolley 57bf97230d Fix get shipping class id 2012-06-26 13:17:08 +01:00
Mike Jolley 5cb6354945 tax fix 2012-06-21 13:06:48 +01:00
Mike Jolley dc2be540b3 this doesn't work. use is_shop instead 2012-06-21 00:10:12 +01:00
Mike Jolley 552484e248 When SHOP_IS_ON_FRONT set is_front_page to true 2012-06-20 20:02:26 +01:00
Mike Jolley 023ee52246 Zero tax check in totals.php 2012-06-20 19:53:35 +01:00
Coen Jacobs dd7fde369d Make hash before order number translatable. Closes #1161 2012-06-20 19:25:18 +02:00
Mike Jolley cb1f1f9a28 Allow html in notes and use textarea. Closes #1171. 2012-06-20 18:19:35 +01:00
Coen Jacobs 863918f7f4 Revert "Moved # character in translatable order strings. Closes #1161"
This reverts commit f6c83fe6aa.
2012-06-20 19:18:16 +02:00
Coen Jacobs f6c83fe6aa Moved # character in translatable order strings. Closes #1161 2012-06-20 19:14:33 +02:00
Mike Jolley d83f5f7c61 woocommerce_get_tax_rates Closes #1163. 2012-06-20 15:24:56 +01:00
Mike Jolley 3f843ecd25 Merge pull request #1164 from GeertDD/order_title
Made shop order title translatable
2012-06-20 07:17:10 -07:00
Mike Jolley 23a9f6595b Widget fixes and tax glitch. Closes #1176. 2012-06-20 15:14:09 +01:00
Mike Jolley 55726c8a2d $query fix 2012-06-20 10:01:40 +01:00
Mike Jolley 430480964f Fix strpos warning 2012-06-18 12:36:42 +01:00
Mike Jolley bd3a6f264a Remove depreciated ereg_replace in validation class 2012-06-15 18:30:00 +01:00
Geert De Deckere cd384293fe Made post title of an order translatable 2012-06-15 11:27:50 +02:00
Mike Jolley 99c859ca30 Small save bug with Mijireh 2012-06-14 17:25:49 +01:00
Mike Jolley f48f8fa26b Optimised front-page query 2012-06-14 00:52:21 +01:00
Mike Jolley 967da77d88 Check coupons are valid before cart/checkout 2012-06-13 19:58:06 +01:00
Mike Jolley 287f1824e4 Merge pull request #1150 from nodar44/master
Correcting 'description' on class-wc-mijireh-checkout.php line 173
2012-06-12 10:04:32 -07:00
Mike Jolley 517c6186cb Show shipping. Closes #933. 2012-06-12 17:23:10 +01:00
Arnaud CHEMINAND 5407936b6c Correcting 'description' on line 173 2012-06-12 17:22:14 +03:00
Mike Jolley ec4a59432a Better errors. Closes #1018. 2012-06-10 19:07:19 +01:00
Mike Jolley 4d7d184698 newlines and styling tweak. Closes #1112. 2012-06-10 18:45:43 +01:00
Mike Jolley f9f1bb9ddd Ordering tweaks/improvements and variation prices. Closes #1097. 2012-06-10 18:15:02 +01:00
Mike Jolley 7036acf989 Cart widget respects cart tax settings, Exempt from VAT shows price ex VAT. Closes #1128. 2012-06-10 15:48:52 +01:00
Mike Jolley 06398f4a5b Variations maintain selections after adding to cart. Closes #926. 2012-06-10 13:53:26 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley 1443e07122 format phone. Closes #1076. 2012-06-10 10:44:13 +01:00
Mike Jolley db84f5b429 refactor variation add to cart. Closes #1134. 2012-06-10 10:15:23 +01:00
Mike Jolley 0f905e9cd0 mijireh gateway 2012-06-08 11:46:10 +01:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Mike Jolley f62d0efd69 Country when adding order. Closes #1032. 2012-06-06 20:11:36 +01:00
Mike Jolley 5f1b94fe1c Tax settings use allowed countries only. Closes #971. 2012-06-06 18:59:54 +01:00
Mike Jolley f2ead358e6 Key added to woocommerce_get_cart_item_from_session filter 2012-06-06 12:27:19 +01:00
Mike Jolley 1f68bf809d Merge pull request #1116 from GeertDD/local_pickup_is_available
Applied woocommerce filter to all return values of the is_available method
2012-06-05 05:35:42 -07:00
Mike Jolley 405a1eb147 out of state rounding tweaks 2012-06-05 12:21:52 +01:00
Geert De Deckere fd8cc65146 Pass package information to filter 2012-06-05 10:13:25 +02:00
Geert De Deckere d7bf7c7ec8 Applied woocommerce filter to all return values of the is_available method 2012-06-05 09:48:46 +02:00
Mike Jolley dd8ca7e86d fixes 2012-06-03 13:13:52 +01:00
Mike Jolley ada45331d0 update date during payment 2012-06-03 13:12:41 +01:00
Mike Jolley cf0ee3fdea Minimum coupon amount check 2012-06-01 19:01:44 +01:00
Mike Jolley c4e25e1dcc get shipping class id function 2012-05-31 11:05:13 +01:00
Mike Jolley 0ac088bb19 pass fields 2012-05-30 09:54:42 +01:00
Mike Jolley d660cd6ef9 allow passing of fields 2012-05-29 16:27:12 +01:00
Mike Jolley 22aaa8691b shipping API tweaks. Only loaded when needed, and supports instances. 2012-05-29 15:02:27 +01:00
Mike Jolley 490ae5eb99 Modified 'supports' function to make it easier to use 2012-05-29 15:02:26 +01:00
Mike Jolley 83c0c58fa3 code tweaks/cleanup 2012-05-29 15:02:26 +01:00
Mike Jolley b7894b14ca Counts. #1084. 2012-05-28 10:19:29 +01:00
Mike Jolley 19be69d1d8 Line endings. Closes #1065. 2012-05-26 17:25:07 +01:00
Mike Jolley 3ce758156f Merge pull request #1080 from thenbrent/order-filters
A Few More Filters for WC_Order
2012-05-26 09:06:21 -07:00
Mike Jolley 9f32a166c0 Merge pull request #1078 from thenbrent/cart-filters
Adding WC_Cart Formatting Filters
2012-05-26 09:05:52 -07:00
Mike Jolley c6c046da81 supports #1069 2012-05-26 15:29:54 +01:00
Mike Jolley f118af5721 Merge pull request #1069 from thenbrent/payment-gateway-supports
Adding Support Check Function to WC_Payment_Gateway
2012-05-26 07:27:36 -07:00
Brent Shepherd a1b3125258 Removing error log call that snuck in. 2012-05-25 21:10:17 +10:00
Brent Shepherd 33acc4c48b Adding get_cart_discount_to_display & get_order_discount_to_display filters & functions. 2012-05-25 20:54:52 +10:00
Brent Shepherd b43dc034e0 Adding order_shipping_to_display & order_subtotal_to_display filters. 2012-05-25 16:36:38 +10:00
Max Rice 7ccef801d1 fixed typo preventing user_email from updating on checkout 2012-05-24 23:34:58 -04:00
Brent Shepherd a08ed36f23 Adding cart_contents_total filter. 2012-05-24 15:58:19 +10:00
Brent Shepherd 95fd76d896 Adding cart total filters. 2012-05-23 21:30:26 +10:00
Brent Shepherd 808a482fed Centralising use of woocommerce_price() for cart taxes with new WC_Cart::get_formatted_taxes() function and adding new woocommerce_cart_formatted_taxes filter. 2012-05-23 15:24:04 +10:00
Brent Shepherd 100c4c7c49 Adding cart discount filters to WC_Cart::get_discounts_before_tax(), WC_Cart::get_discounts_after_tax() and WC_Cart::get_total_discount(). 2012-05-23 12:15:04 +10:00
Brent Shepherd 4d9f8db10b Adding cart_product_subtotal filter to WC_Cart::get_product_subtotal(). 2012-05-23 12:05:55 +10:00
Brent Shepherd 53136b7c9f Adding cart subtotal filter. 2012-05-23 12:03:41 +10:00
Mike Jolley 0582078acc postcode validation when country is different for shipping vs billing 2012-05-22 21:31:27 +01:00
Mike Jolley 5c4799e64b woocommerce_shipping_chosen_method hook 2012-05-22 09:30:26 +01:00
Brent Shepherd bbd33a4217 Adding WC_Payment_Gateway::is_supported() function for gateways to register support for certain features. 2012-05-22 11:04:05 +10:00
Coen Jacobs 1ee9e2388d Merge pull request #1068 from GeertDD/kowloon
Kowloon spelling fix. Closes #1066
2012-05-21 07:35:19 -07:00
Geert De Deckere 559edb415e Kowloon spelling fix 2012-05-21 16:17:04 +02:00
Mike Jolley 09ae0adfab chosen method for UPS 2012-05-21 14:36:25 +01:00
Mike Jolley 96f5e7464f removed unused function 2012-05-17 13:56:18 +01:00
Coen Jacobs 0bd3d5cbb8 Prevent error in ecommerce tracking if no categories set 2012-05-17 13:37:44 +02:00
Coen Jacobs 6fe3b788d9 Added filter on get_available_payment_gateways. Closes #1050 2012-05-17 11:40:50 +02:00
Coen Jacobs cd1adebf83 get_stock_quantity returns '' if stock is off in global settings. Closes #1046 2012-05-17 11:16:41 +02:00
Mike Jolley 11a7c438f5 sharethis image support Closes #1038. 2012-05-16 18:32:11 +01:00
Mike Jolley 01abd92f0a woocommerce_get_price_html Closes #1040. 2012-05-16 18:13:29 +01:00
Coen Jacobs a3cd01c535 Added cost per order to Flat Rate shipping. Closes #1036 2012-05-16 12:00:23 +02:00
Mike Jolley 00d6ab00a6 Merge pull request #1047 from foxrunsoftware/master
Order Number Changes
2012-05-16 02:40:37 -07:00
Coen Jacobs 745ed4186d Flat Rate Shipping code update 2012-05-16 10:03:49 +02:00
Justin Stern d23fbcc698 Order Number Changes
Order number changes in preparation for the Sequential Order Number
plugin
2012-05-15 20:23:43 -04:00
Mike Jolley c292060045 % discount rounding 2012-05-13 19:17:39 +01:00
Mike Jolley 12f9241162 fix analytics settings 2012-05-11 21:41:18 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley 564a07ed77 When the count of available shipping methods changes, reset to default 2012-05-10 16:35:36 +01:00
Mike Jolley 5686e0826a notice 2012-05-10 13:51:35 +01:00
Mike Jolley e6f5426839 Tweaks for launch 2012-05-10 12:45:14 +01:00
Mike Jolley e92ceaae15 No word from .org team - removing wootransmitter for now 2012-05-10 10:34:44 +01:00
Mike Jolley 6c3bf05433 Tweak - After getting a shipping quote, use the shipping address for taxes on the cart page 2012-05-09 18:29:29 +01:00
Mike Jolley 7e3d400af0 order amount hooks 2012-05-09 11:09:45 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley 4adc961597 compound tax is show after cart discounts and thus needs to have them removed. Closes #1006. 2012-05-08 18:47:35 +01:00
Mike Jolley 9d30ad15fa wootrans opt in 2012-05-08 17:29:27 +01:00
Mike Jolley a537b2c18f Woo Transmitter Integration 2012-05-08 16:23:09 +01:00
Geert De Deckere 75d8163d36 Made shipping classes a bit more DRY 2012-05-05 15:32:24 +02:00
Mike Jolley afd3eda733 unhook correction 2012-05-03 17:48:42 +01:00
Max Rice c3fa081a44 fix call_user_func warning
Warning: call_user_func_array() expects parameter 1 to be a valid
callback, class 'WC_Google_Analytics' does not have a method
'google_tracking_code' in /htdocs/wp-includes/plugin.php on line 405

tracking functions were inside of init_form_fields()
2012-05-03 11:56:08 -04:00
Mike Jolley 6ff4053797 free shipping logic 2012-05-03 14:00:45 +01:00
Mike Jolley 90ad5da65b Merge pull request #990 from thenbrent/new-order
New WC_Order Class Formatting Filters & Function
2012-05-01 17:07:25 -07:00
Mike Jolley c380861778 coupons in packages to prevent cached methods 2012-05-01 20:24:22 +01:00
Mike Jolley b80a296b7d labels 2012-05-01 10:39:53 +01:00
Mike Jolley 3bfb91ca0c init class 2012-05-01 10:19:56 +01:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Brent Shepherd 1f8409ad0b Updating instance of woocommerce_price( $this->get_order_total() ) to use new get_formatted_order_total() function. 2012-04-27 12:38:06 +10:00
Brent Shepherd a75902d292 Ugh variable name typo, teach me to commit/push before testing - sorry! 2012-04-27 12:27:37 +10:00
Brent Shepherd 0b49818a5e Adding "woocommerce_order_formatted_line_subtotal" filter to get_formatted_line_subtotal function. Adding new WC_Order::get_formatted_order_total() to centralise order total formatting and provide a new filter for order total. Replacing all instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:18:18 +10:00