Commit Graph

923 Commits

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