Commit Graph

181 Commits

Author SHA1 Message Date
Mike Jolley 3003e9bae9 Closes #2261. 2013-01-21 10:45:41 +00:00
Mike Jolley 07ff82ae0a rejig the hooks Closes #2263. 2013-01-21 10:41:37 +00:00
Mike Jolley 2cb5b73eb7 Check we're viewing a product Closes #2227 2013-01-14 17:17:57 +00:00
Mike Jolley 52ecd654b7 Use a session cookie for recently viewed 2013-01-12 13:03:38 +00:00
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Mike Jolley 411ee8d026 Check my account page is set before appending link Closes #2176. 2013-01-10 15:00:47 +00:00
Gerhard 2ba045d490 Address changed message added to my account page 2013-01-10 10:36:29 +02:00
Gerhard 46676bd11d Add password changed message when changing a password on my account page 2013-01-10 10:22:46 +02:00
Mike Jolley 6d10c1b328 Load address Closes #2162. 2013-01-07 13:23:40 +00:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley b9a8f2c204 Combined some functions #1765 2012-12-31 13:03:56 +00:00
Mike Jolley 00499e7574 wp_insert_user Closes #2069. 2012-12-28 18:45:06 +00:00
Mike Jolley 0089378daa Extra varaible in hook 2012-12-19 16:49:24 +00:00
Mike Jolley 8f0fce893e Fix download links and post_status checks. Closes #1903. 2012-12-06 15:39:59 +00:00
Mike Jolley b726caa5a2 Validate variations on add to cart. Closes #1881. 2012-12-06 14:38:02 +00:00
Mike Jolley 5a7bfe980a Continue shopping redirect. Closes #1919. 2012-12-05 18:02:56 +00:00
Mike Jolley 5a82480958 OR not AND for permissions checks. #1922. 2012-12-05 16:13:08 +00:00
Matt 6b028778a1 Add filter when processing a valid login 2012-12-04 16:37:52 -05:00
Mike Jolley a0bd719196 Login with email. Closes #1872. 2012-11-28 20:09:58 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs 22afc34052 Reverted changes for manual category count. Ref: #1789 2012-11-19 15:39:27 +01:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Coen Jacobs db3960ce71 Casting magic to cover non-int quantity input #1752
https://github.com/woothemes/woocommerce/commit/590792cfbf32be50e88b39be
a248fadc6766d574
2012-11-15 11:22:40 +01:00
Coen Jacobs 590792cfbf Check for non integer values in quantities box. Closes #1752 2012-11-14 12:17:56 +01:00
Mike Jolley 62fe207a02 WooCommerce_pay validation. Closes #1744. 2012-11-13 23:50:20 +00:00
Mike Jolley 4c63683b42 Merge pull request #1712 from helgatheviking/master
Add to cart function for variable products  $_REQUEST['variation_id']  1.7b
2012-11-08 03:35:46 -08:00
Mike Jolley 92d61e5627 Fix grouped product issues. Closes #1693. 2012-11-08 11:15:52 +00:00
kathy 3bf7e188f9 potential typo in woocommerce_add_to_cart_action 2012-11-07 23:04:31 -06:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Coen Jacobs 263139e173 [3.2.3] XSS #1575 2012-10-16 15:35:17 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs c75e044399 [3.2.2] Do not esc_ credentials before auth or register #1575
Could possibly have if the user is created by the widget, they can
login only via the widget and visa versa.
2012-10-15 14:08:33 +02:00
Mike Jolley da8225ea08 Add hook. Closes #1584. 2012-10-10 11:00:11 +01:00
Coen Jacobs e87ea2022b Manual prod_cat counting to hide hidden products from counters
- Uses update_count_callback argument for manual counting function
- Filters on get_terms and updates counters
- Closes #1449
2012-10-09 15:16:36 +02:00
Mike Jolley 5fcfe948d7 Handle add to cart differently, Closes #1517 and tweak messages Closes #1498. 2012-09-21 21:11:57 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01: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 12a2485637 After successful add to cart, if there are no other redirects, redirect to referer. 2012-08-31 10:05:28 +01: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
Brent Shepherd 1e8ffbf9ec Adding woocommerce_get_order_id_by_order_key(). #1440 2012-08-27 14:10:19 +10:00
Mike Jolley 9f2a5f07e6 pebkak-proofing cart page. Closes #1375. 2012-08-21 17:23:26 +01:00
Mike Jolley 5b007d4918 Function docs. 2012-08-14 23:43:53 +01: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
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
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Mike Jolley cbfed071c3 When placing an order again, clear current cart. Closes #1189. 2012-06-29 20:49:27 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f48f8fa26b Optimised front-page query 2012-06-14 00:52:21 +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 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Coen Jacobs db57e60851 Check for isset Piwik global before actually using it 2012-05-23 13:15:32 +02:00
Mike Jolley 0d6461c011 notice 2012-05-11 22:44:22 +01:00
James Koster 651612e8be Added class to logout link 2012-05-01 10:39:19 +01:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Mike Jolley 5249935ce4 Removed nonces from add to cart urls 2012-04-25 11:32:45 +01:00
Coen Jacobs 443e437f88 Replace spaces with + signs in download url after decode 2012-04-24 16:10:53 +02:00
Mike Jolley ad499d10f0 Options to enable/disable ratings. Closes #847. 2012-03-27 20:35:35 +01:00
Mike Jolley a3e2d8d905 Fix for tracking options. Closes #885. 2012-03-27 19:49:34 +01:00
Mike Jolley 798ceb8c00 current_page_parent for shop page when viewing a product 2012-03-23 11:05:08 +00:00
Mike Jolley fe800d6685 Transient names. Closes #818. 2012-03-16 16:39:16 +00:00
Mike Jolley c3c1032778 e-commerce tracking - SKU and Category. prepend sku 2012-03-16 10:40:09 +00:00
Jeroen Diderik ba9aba84f7 fix for faulty SKU reference 2012-03-15 18:48:56 +01:00
Jeroen Diderik 3a712ac932 Updated e-commerce tracking.
- update SKU in e-commerce tracking (fallback on ID if SKU is empty)
- Add category tree if not a variant
2012-03-15 18:35:13 +01:00
Mike Jolley 0b7e83ca35 Tweaks 2012-03-15 12:15:22 +00:00
Mike Jolley 8212e768f7 Option to reorder items by GeertDD
Removed the my account links because it was a bit busy there, + you
cannot see the items in the order anyway.
2012-03-15 00:25:51 +00:00
Mike Jolley 17ffe63b86 Merge pull request #809 from GeertDD/place_order_again
Place order again functionality
2012-03-14 16:21:43 -07:00
Geert De Deckere 129614525a Small fix 2012-03-14 15:45:42 +01:00
Geert De Deckere 845e0f76b8 Added support for product variations when ordering again 2012-03-14 15:28:58 +01:00
Geert De Deckere b3933a3407 Added nonce check 2012-03-14 15:00:09 +01:00
Geert De Deckere 1a84463183 Got the basics working. Still needs support for product variations. 2012-03-14 14:34:06 +01:00
Geert De Deckere 0b53bc07b0 Started building the possibility for a customer to place a previous order again 2012-03-14 13:48:49 +01:00
Mike Jolley da113b7589 customer coupons. Ability to refresh the totals through code. 2012-03-14 11:41:32 +00:00
Mike Jolley 3ccff6346b Merge pull request #788 from GeertDD/enable_coupons_option
Added option to globally enable/disable the use of coupons
2012-03-12 08:31:54 -07:00
Mike Jolley 6e2b18c22a Add to cart shortcode for variations. Closes #719. 2012-03-12 10:52:00 +00:00
Geert De Deckere 0401e79ed4 Added option to globally enable/disable the use of coupons for clients 2012-03-12 10:25:06 +01:00
Jeroen Diderik 6253366b08 GA eCommerce tracking broken, fix 'line_cost' to 'line_total' 2012-03-11 13:41:56 +01:00
Mike Jolley 5678286dfa tweaks 2012-03-07 20:12:19 +00:00
Mike Jolley fa84b87425 Persistent cart 2012-03-04 12:37:41 +00:00
Mike Jolley 79cc67b23c Expiry fix. Closes #741. 2012-03-04 00:01:56 +00:00
Geert De Deckere 13978a196d When updating the cart a quantity input of zero should remove the product from the cart 2012-03-01 09:14:33 +01:00
Mike Jolley 01187b0d3d fix for query 2012-02-28 13:59:04 +00:00
Mike Jolley a2714544a4 cart limit item. Closes #646. 2012-02-27 18:22:54 +00:00
Mike Jolley 95fe36cd07 Save permissions + revoke access after xx days feature. 2012-02-25 21:11:06 +00:00
Mike Jolley 9554a4c52c Admin tweaks and mixed cart handling. Closes #651. 2012-02-24 20:04:05 +00:00
Mike Jolley cb64b3a753 woocommerce_file_download_path Closes #674 2012-02-21 11:17:56 +00:00
Mike Jolley 503490f88c referer 2012-02-15 20:19:57 +00:00
Mike Jolley 3d18b7d698 refer 2012-02-15 19:06:18 +00:00
Geert De Deckere d838539ad1 Redirect to cart after cart update to prevent reload warnings in browser 2012-02-15 16:54:18 +01:00
Mike Jolley 576ec9e42d Front page look fixes 2012-02-10 22:15:29 +00:00
Andrew White 1f700fd839 Add missing global definition 2012-02-09 15:53:29 +00:00
Andrew White 7d03784e60 Redirect when there is a single search result 2012-02-09 15:02:55 +00:00
Mike Jolley ed8b7052a5 Fixed up pay page. 2012-02-09 13:58:34 +00:00
Mike Jolley a3eabe1c0f Fixed missing product id 2012-02-06 18:14:46 +00:00
Mike Jolley 513e207e75 Cleanup to download functionality added by patrick 2012-02-06 17:39:18 +00:00
Patrick Garman a9f92e69b5 Merge branch 'master' of https://github.com/woothemes/woocommerce 2012-02-03 00:53:31 +00:00