Commit Graph

181 Commits

Author SHA1 Message Date
Mike Jolley fdfa0d6efb QTY Closes #2280. 2013-01-28 11:42:03 +00:00
Mike Jolley b211894d3c Get cart from ajax or local storage to prevent cache 2013-01-28 10:59:24 +00:00
Mike Jolley 0c523d30b1 @coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster. 2013-01-27 18:55:30 +00:00
Mike Jolley a3e5748369 Add to cart json #2268 2013-01-22 16:33:33 +00:00
Frank Martin f1a3957f4c Remove random var_dump(), add filter for ajax customer details load 2013-01-22 13:06:51 +00:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Geert De Deckere 5da944af3c Use correct Content-Type header for JSON output 2013-01-16 16:00:11 +01:00
Geert De Deckere e122c78cab A few more CSS class updates #2086 2013-01-03 13:21:26 +01:00
Mike Jolley c8852bcf40 Revised, roduct gallery panel, images stored in meta = more flexibility. 2012-12-20 01:13:06 +00:00
Mike Jolley f972501dfa get_post_meta instead of get_post_custom - cut out the middleman. #1765 2012-12-19 21:01:15 +00:00
Mike Jolley 01ff7b1083 Fix save attributes for custom attributes. Closes #2002. 2012-12-18 07:08:16 +00:00
Mike Jolley 0f0512c8fd rounding filters. Closes #1964. 2012-12-13 01:23:35 +00:00
Mike Jolley 988269534a removed refunds 2012-12-12 18:03:46 +00:00
Mike Jolley fd8e15bbea Work on refunds admin. #1755 2012-12-12 15:32:51 +00:00
Mike Jolley c273da1aff Customer note + email on refund action. #1755. 2012-12-12 13:57:15 +00:00
Mike Jolley 81290a9ceb wp_kses_post #1109 2012-12-11 17:10:35 +00:00
Coen Jacobs 084a247a20 Backend views for refunds #1755 2012-12-11 14:56:30 +01:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
Mike Jolley be40e982b6 Small fix for previous commit, for adding rows. 2012-12-06 19:54:11 +00:00
Mike Jolley e3698f99ed Rounding fixes, and link tax rows to tax rates by ID.
Also closes #1869 as it allows us to use 'codes' for tax rates instead
of their label. E.g. code US-AL-Tax-1. This lets users filter taxes in
reports easier.
2012-12-06 19:49:04 +00:00
Mike Jolley 0da50add7b Fix link variations on new posts. Closes #1925. 2012-12-05 17:57:53 +00:00
Mike Jolley d9dbaa70c9 meta fix 2012-12-05 17:16:36 +00:00
Mike Jolley e26f6e357c First image is featured. Closes #1890. 2012-12-05 16:04:46 +00:00
Yakir Sitbon 6bc3598586 Fixing SQL syntax in woo.._product_ordering().
Your sql syntax not good, please check my fix.

Thanks you. ;]
Yakir.
2012-12-04 15:15:01 +02:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley db1d4e58ed Create, update, save variations. Closes #1806. 2012-11-27 10:34:02 +00:00
Matt 8243974004 Add address to customer session. Closes #1836 2012-11-26 20:56:48 -05:00
Mike Jolley b0fa6d4481 Save attributs via ajax and refresh variations. Closes #1804. 2012-11-26 17:27:55 +00:00
Mike Jolley 54941092a2 Notices. Closes #1805. 2012-11-26 14:07:58 +00:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +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
Mike Jolley fde2d939da Hook when linking variations. 2012-11-15 10:58:43 +00:00
Coen Jacobs b1b7a99402 Refunds: Check refunded status per line before doing refund
in order to prevent multiple refunds of the same line item
2012-11-13 17:01:17 +01:00
Coen Jacobs a617694e0f Refunds: Allow manual refunds without gateway calls 2012-11-13 16:26:07 +01:00
Coen Jacobs 3da5ccdafe Merged 'refunds' into 'fees-and-shipping'. Closes #1746 2012-11-13 16:03:42 +01:00
Mike Jolley 32c474ef42 Also update order tax 2012-11-13 14:59:28 +00:00
Mike Jolley 7e5d2ac174 Calc totals/tax rows rework 2012-11-13 14:54:34 +00:00
Coen Jacobs c99ec141d8 Refunds: Bug fixes in getting right gateway object 2012-11-13 15:18:26 +01:00
Coen Jacobs b4d17940de Refunds: Bug fix, missing closing ) 2012-11-13 15:14:11 +01:00
Coen Jacobs 3eedea457e Refunds: Store refunded amount and refund var per line item 2012-11-13 15:10:06 +01:00
Coen Jacobs 8f865ca550 Refunds: Call to payment gateway providing the order item id 2012-11-13 14:32:40 +01:00
Coen Jacobs 9c5c033fcf Refunds: Function logic and AJAX implementation 2012-11-13 14:26:30 +01:00
Mike Jolley c2e1258d04 Work on calc_tax 2012-11-12 18:53:40 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley f4a931f7cc Tweak panel layout and simplify get_items 2012-11-12 16:08:05 +00:00
Mike Jolley 6ecef0139c Calc totals for fees. 2012-11-12 14:34:10 +00:00
Mike Jolley a1ad595822 Add fees 2012-11-12 13:41:54 +00:00
Mike Jolley 877e6eb8c7 Bulk stock increase and decrease. 2012-11-12 12:22:35 +00:00
Mike Jolley 764b34a938 Case insensitive coupons. Closes #1633. 2012-11-08 16:57:59 +00:00
Mike Jolley 09b4c352e3 Tweak caps. Closes #1662. 2012-11-05 16:50:24 +00: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
Mike Jolley c97aeaf533 use wp api for meta, and done the checkout 2012-10-19 18:59:17 +01:00
Mike Jolley 48da8e2e56 Add and remove order items 2012-10-19 15:05:23 +01:00
Mike Jolley a11804a61f add/remove/save meta 2012-10-18 18:56:28 +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
Mike Jolley f7e5dec1c4 [3.2.3] XSS #1575 2012-10-16 10:11:50 +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
Coen Jacobs 135b8ace58 [3.2.1] Magic number 49 to constant #1575 2012-10-15 13:12:31 +02:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Coen Jacobs 1e3dfb13e9 [3.1.2] Esc callback variable before output #1575 2012-10-15 12:15:57 +02:00
Coen Jacobs 74cfa6bcdf Introducing woocommerce_json_search_found_products filter
- Allows you to filter the merged post arrays in the Ajax request
before it is json_encode echo'ed
- Related to #1579
2012-10-09 15:32:49 +02:00
Mike Jolley 9c560e768c refactor variation data 2012-10-08 09:59:02 +01:00
Mike Jolley ead3e8313e Final image handling tweaks. 2012-10-05 19:02:02 +01:00
Mike Jolley 7c724f4ea4 Fix for previous commit 2012-10-04 18:33:35 +01:00
Mike Jolley dd4ce13455 invalid query fix. 2012-10-04 18:11:37 +01:00
Mike Jolley 7236192711 Work on the product images panel. Closes #1504. 2012-10-04 18:09:18 +01:00
Mike Jolley cb2b935788 Tax expansion to allow city taxes, #94 2012-09-23 17:16:39 +01:00
Mike Jolley aaeb0ec0fb Calc totals. Closes #883. 2012-09-18 19:07:18 +01:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +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
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
Mike Jolley 6c3b3f41a8 Clear transients. Closes #1415. 2012-08-25 11:09:53 +01:00
Mike Jolley 555cd9af60 replaced some date() with i18n. Closes #1428. 2012-08-25 10:20:56 +01:00
Mike Jolley f03eec03a8 Ajax docs 2012-08-14 23:43:54 +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 58dd2aca67 search sku. Closes #1334. 2012-08-03 18:19:35 +01:00
Mike Jolley d16fd5acb0 ajax filter for orders page 2012-08-01 13:43:50 +01:00
Mike Jolley dbc8279dbd ajax customer select 2012-08-01 13:43:50 +01:00
Mike Jolley c77ce6b951 force double. Closes #1283. 2012-07-26 16:51:30 +01:00
Mike Jolley 5cb6354945 tax fix 2012-06-21 13:06:48 +01:00
Mike Jolley cb1f1f9a28 Allow html in notes and use textarea. Closes #1171. 2012-06-20 18:19:35 +01:00
Mike Jolley 0cbb2c0627 Sidebar login jsonp. Closes #1093. 2012-06-10 15:14:03 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley 458c4ef9e8 tweak ordering 2012-05-25 12:34:33 +01:00
Mike Jolley db61858476 should use billing 2012-05-12 18:45:26 +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 2769dd490c Tweak feature code 2012-04-20 11:02:29 +01:00
Mike Jolley 5438b79c35 get children when searching for products 2012-04-16 13:52:28 +01:00
Mike Jolley effe09e910 thumbnails on order page 2012-04-12 18:14:46 +01:00
Mike Jolley b5ed56c82d Hooks for WPML 2012-04-12 11:25:50 +01:00
Coen Jacobs 29dee59fde Merge pull request #915 from favrik/master
My approach to fix #914
2012-04-11 07:15:20 -07:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
favrik 51fcae6920 Fix downloadable product permissions sql query when access_expires is null 2012-04-10 14:37:29 -07:00
Mike Jolley 748dd13b85 Chosen and order items
Updated chosen to latest version, reworked styles, made the item adder
on the order screen an ajax input.

Also ditched some un-needed css.
2012-04-10 01:39:31 +01:00
Mike Jolley e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +01:00
Mike Jolley bcec344c27 data tip. Closes #841. 2012-03-20 19:40:52 +00:00