Commit Graph

833 Commits

Author SHA1 Message Date
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