Commit Graph

890 Commits

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