Commit Graph

423 Commits

Author SHA1 Message Date
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 53c5fbee40 Fix - Variation sku updating after selection. 2012-09-05 16:57:19 +01:00
Mike Jolley e19505c6ab checkout loading tweak 2012-09-03 16:45:09 +01:00
Mike Jolley 4ea207c249 Revised stats by category 2012-08-31 14:11:34 +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 431316dfd3 small variable naming tweak 2012-08-25 16:00:40 +01:00
Mike Jolley 3eeae3a164 Hide cart button when a variation is out of stock with disabled backorders. Closes #1419. 2012-08-25 11:02:02 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley c42814bbc6 Added fallback for variations variable (JS) 2012-08-25 10:11:23 +01:00
Mike Jolley 5ab84b2b98 Pass variation to show_variation trigger (JS). Closes #1431. 2012-08-25 09:51:20 +01:00
Mike Jolley e7c5542762 javascript tweak for #1416 2012-08-24 21:46:32 +01:00
Mike Jolley 50b62fe4d4 tweak to add to cart logic 2012-08-24 18:44:11 +01:00
Mike Jolley 7a14daebea min 2012-08-23 10:57:09 +01:00
Dominic 601852df87 Renamed variable, avoid window.name collision
Using a variable called `name` causes the global `window.name` to be reset. Simply renaming the variable prevents this.
2012-08-22 23:11:30 -07:00
Mike Jolley 822a03529b min 2012-08-22 16:36:08 +01:00
Manos Psychogyiopoulos bf59c718c0 Fix annoying sliding effect on option change. 2012-08-22 09:51:19 +03:00
Mike Jolley 40cc7b997d Scope. Closes #1364. 2012-08-21 16:41:18 +01:00
James Koster 8c93b41605 Product data tabs class name 2012-08-15 19:28:13 +01:00
Mike Jolley 7d47de830b Copy billing to shipping address on order screen. #1269. 2012-08-10 12:31:18 +01:00
Mike Jolley 377ddce930 Demo store notice option 2012-08-10 10:35:25 +01:00
Mike Jolley 6cd409b7a4 Fixes for #1347. 2012-08-08 11:53:36 +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
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
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 417fd73ab1 undefined check. Closes #1294. 2012-07-26 15:43:47 +01:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Mike Jolley 59d2d792f6 Product data panels 2012-07-22 13:50:45 +01:00
Mike Jolley 37b0dec37a Event handling for checkout fields 2012-07-20 13:46:05 +01:00
Mike Jolley 30b8ddaf1d Split up frontend scripts so they can be loaded when needed. 2012-07-17 15:09:18 +01:00
Mike Jolley 638b04b0ad variation image optimisations 2012-07-11 23:56:57 +01:00
Mike Jolley d9e8568e85 stop() 2012-07-11 17:25:16 +01:00
Mike Jolley f15c4baef7 Stop the animation. Closes #1226. 2012-07-11 16:45:19 +01:00
Mike Jolley 69565d6e87 Load address sets country. Closes #1238. 2012-07-11 16:22:18 +01:00
Mike Jolley c687c214e7 Fix multi item add. Closes #1233. 2012-07-10 17:51:37 +01:00
Mike Jolley c37525383b tweak the checkout update js 2012-06-28 12:52:58 +01:00
Mike Jolley c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Mike Jolley 0d42e21aa7 minify 2012-06-14 12:13:55 +01:00
Geert De Deckere 3a5e2f7f8a Fix metabox collapsing 2012-06-14 11:36:39 +02:00
Mike Jolley 9a969237a1 min js 2012-06-11 16:32:02 +01:00
Geert De Deckere 376676e9c0 Use translated months in the report graph of the dashboard widget 2012-06-11 11:11:19 +02:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley 9031d15756 Prevent NaN Closes #1104. 2012-06-10 09:08:11 +01:00
Mike Jolley 91e0ade791 Can't control output, but can only allow 1 to be selected. Closes #1042. 2012-06-10 09:03:20 +01:00
Mike Jolley 439d21e395 Prevent double add to cart with related products 2012-06-05 00:53:04 +01:00
Mike Jolley 66acc8dcfc Fix cancel. Closes #1054. 2012-05-26 17:42:26 +01:00
Mike Jolley 7bcb3deb62 small markup tweaks 2012-05-26 15:18:44 +01:00
Mike Jolley ba1377933f removed alert 2012-05-17 13:57:51 +01:00
Mike Jolley a00ae6adf2 div prefix. Closes #1034. 2012-05-16 18:38:28 +01:00
Mike Jolley 26a8af2440 radio shipping methods 2012-05-13 21:02:07 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +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 e5f93e448b focusin for IE Closes #866. 2012-05-08 16:41:16 +01:00
Mike Jolley ce7e765d2a Product data tweak. Closes #1012.
Removed shipping class writepanel.
Added shipping class to product data.
Removed purchase note for external products.
2012-05-08 15:32:30 +01:00
Mike Jolley 6008920a0f Use css for tinymce button. Closes #985. 2012-04-25 18:14:06 +01:00
Mike Jolley 46653cf957 reset image. Closes #935. 2012-04-16 18:34:58 +01:00
Mike Jolley 297d9a0be1 Payment method transition 2012-04-16 14:14:24 +01:00
Mike Jolley 7a96a9293c Merge pull request #929 from thenbrent/paybox-js-patch
Checkout Payment Box JS Tweak
2012-04-16 06:09:18 -07:00
Mike Jolley 96f6301edf qty input default values 2012-04-16 10:34:36 +01:00
Brent Shepherd a5ad4c1ef4 Sliding currently selected payment box up instead of instantly hiding it. 2012-04-16 11:18:00 +10:00
Mike Jolley c227540a5b data-min fix 2012-04-12 22:25:10 +01:00
Mike Jolley ccc82590eb moved initial change event trigger 2012-04-11 21:07:57 +01:00
Coen Jacobs 9a1c35f125 Added product_categories shortcode to WooCommerce editor button 2012-04-11 14:36:19 +02:00
Mike Jolley e7c23d832b Fix sortables. Closes #898. 2012-04-10 19:06:12 +01:00
Mike Jolley 85c42f00ed trigger change @0868553652423db6712cbf283aea639095da642a 2012-04-10 18:17:36 +01:00
Mike Jolley 96ebb1f9f4 Fix for last commit 2012-04-10 13:14:31 +01:00
Mike Jolley ee574e1ef8 Changed the filters for checkout field locales - lets you override the base country labels 2012-04-10 13:07:23 +01: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 ad499d10f0 Options to enable/disable ratings. Closes #847. 2012-03-27 20:35:35 +01:00
Mike Jolley 8011374d6c Locale tweaks. Closes #840. 2012-03-26 20:35:55 +01:00
Mike Jolley 2927a52743 Update order dates. Closes #845. 2012-03-26 18:30:00 +01:00
Mike Jolley a1b91bdd02 min 2012-03-23 20:36:35 +00:00
Geert De Deckere 49fe619ee0 Added a custom event for when the variation select lists are updated. 2012-03-21 11:28:05 +01:00
Mike Jolley bcec344c27 data tip. Closes #841. 2012-03-20 19:40:52 +00:00
Mike Jolley cd4c0443f7 min 2012-03-20 18:58:33 +00:00
Geert De Deckere 540567b7d3 Follow-up to 47f57504bd #814 2012-03-20 15:59:04 +01:00
Mike Jolley c4c7386e17 chosen frontend - separated to avoid accidental deletion 2012-03-18 13:35:02 +00:00
James Koster 49f197669d placeholder script wasn't being fired 2012-03-16 13:46:50 +00:00
Mike Jolley 173ca818f8 min 2012-03-16 01:49:28 +00:00
Mike Jolley b26bdca131 Merge pull request #815 from GeertDD/i18n_sales_dashboard_widget
Made the monthly sales dashboard widget translatable
2012-03-15 18:47:15 -07:00
Geert De Deckere edfd7f5f2b Made the monthly sales dashboard widget translatable 2012-03-15 15:02:38 +01:00
Mike Jolley 82e4ec543b min 2012-03-15 13:29:51 +00:00
Geert De Deckere 47f57504bd Smarter toggling of the metabox for variations 2012-03-15 14:20:44 +01:00
Mike Jolley 81de864a13 Vietnam locale and support for hiding fields 2012-03-14 20:35:42 +00:00
Mike Jolley aae276e14b Send shipping 2012-03-14 13:25:05 +00:00
Mike Jolley da113b7589 customer coupons. Ability to refresh the totals through code. 2012-03-14 11:41:32 +00:00
Mike Jolley af2aa81eb8 variation menu_order for organisation 2012-03-13 16:59:28 +00:00
Mike Jolley 5279784362 Fix ajax chosen 2012-03-13 12:18:15 +00:00
Mike Jolley e838a420eb Ajax + Cross seels. TODO: ajax chosen is slightly buggy 2012-03-12 17:26:11 +00:00
Mike Jolley bd785f99f5 required field rating 2012-03-12 15:58:13 +00:00
Mike Jolley b2fcbb4717 Tweaks to #788. 2012-03-12 15:48:22 +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 6957e425d7 Shortcut for messages shortcode 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
Mike Jolley 6e50486c20 minor fixes and version bump 2012-03-08 12:57:15 +00:00
Mike Jolley 32e7140517 Improved coupon product id input. Closes #157. 2012-03-06 17:28:08 +00:00
Mike Jolley 5091b20844 Inline validation. Closes #733. 2012-03-05 17:19:06 +00:00
Mike Jolley 75eb12db3f Fix attribute styling 2012-03-04 12:42:24 +00:00
Mike Jolley 064685064e Fixed order tax saving and dupe key generation 2012-02-29 21:05:55 +00:00
Mike Jolley b572aa90bf write panel min 2012-02-28 13:59:38 +00:00
Mike Jolley 87cbcfbe42 Merge pull request #716 from GeertDD/admin_edit_address_js
Prevent page from jumping back to top when clicking the links to edit billing/shipping details
2012-02-28 05:58:34 -08:00
Geert De Deckere 2e99884334 Prevent page from jumping back to top when clicking the links to edit billing/shipping details 2012-02-28 14:06:58 +01:00
Mike Jolley a2714544a4 cart limit item. Closes #646. 2012-02-27 18:22:54 +00:00
Mike Jolley d5c54d686a Reset variations. Closes #705. 2012-02-27 13:14:33 +00:00
Mike Jolley d452f16129 data min/max for variations 2012-02-26 01:26:42 +00:00
Mike Jolley eaef280e75 P Permissions. Add/revoke
Still working on this feature
2012-02-25 19:48:09 +00:00
Mike Jolley 013797d5e3 Made meta tables consistant 2012-02-25 11:43:25 +00:00
Mike Jolley 9554a4c52c Admin tweaks and mixed cart handling. Closes #651. 2012-02-24 20:04:05 +00:00
Mike Jolley eef86edd73 data min fix for cart 2012-02-23 12:50:33 +00:00
Mike Jolley cc1c77db20 dynamic required 2012-02-23 11:19:45 +00:00
Mike Jolley 2851642b6c Hooks for quantity selectors and data-min tweaks 2012-02-22 19:45:12 +00:00
Mike Jolley 429e7ea1f3 bulk edit 2012-02-20 18:19:27 +00:00
Mike Jolley 565987dd56 Quick edit Closes #258. 2012-02-20 14:29:51 +00:00
Mike Jolley 1a06f85b6d data-min 2012-02-17 23:47:18 +00:00
Mike Jolley 7be443b1ad min 2012-02-17 19:22:41 +00:00
Geert De Deckere 005573afc4 Trigger 'change' event on the hidden variation_id input 2012-02-17 14:47:00 +01:00
Mike Jolley 1697bcd66c slider triggers 2012-02-16 18:12:14 +00:00
Mike Jolley 2ca3e7f5cc price slider from/to spans 2012-02-16 17:16:27 +00:00
Andrew White ae03c15e54 Fix JS minification error
When the woocommerce.js file is minified the update_checkout
method name is shortened, making the timeout call fail. This
patch fixes it by referring to the function directly when
setting up the timeout.
2012-02-16 13:31:47 +00:00
Mike Jolley fee63d1522 Expand/Close 2012-02-15 20:18:01 +00:00
James Koster a08beb4a9f More fancybox 2012-02-14 15:14:07 +00:00
James Koster 43e1342c38 Fancybox tidying
removed extraneous markup / images replaced with css
2012-02-14 15:12:13 +00:00
Mike Jolley 871953aef3 min 2012-02-14 11:16:48 +00:00
Geert De Deckere 2849b3f532 Fixed 'unterminated string literal' in write-panels.js which broke the product data tabs 2012-02-14 11:59:00 +01:00
Mike Jolley 5139fa0920 Attributes panel 2012-02-13 19:21:52 +00:00
Mike Jolley 32ae245056 Js min 2012-02-13 00:04:21 +00:00
Geert De Deckere 3bae87e394 Made confirmation for removing an attribute translatable 2012-02-12 17:29:32 +01:00
Mike Jolley e311b0d9fe hooks 2012-02-10 18:57:44 +00:00
Mike Jolley ef64bb8296 Few extra hooks in Javascript 2012-02-10 17:03:57 +00:00
Mike Jolley 808003e336 reset attribute select 2012-02-09 18:10:38 +00:00
Mike Jolley 17e22c8029 update_checkout trigger Closes #550. 2012-01-31 18:13:21 +00:00
Mike Jolley de6b06b864 Add to cart validation, and a different redirect if theres an error 2012-01-27 18:31:30 +00:00
Mike Jolley 89a226a895 Store cart + shipping tax rows instead of a combination 2012-01-27 15:00:03 +00:00
Mike Jolley c0b6791944 Javascript for order total calculations 2012-01-22 02:36:46 +00:00
Mike Jolley 197b629307 Chart/report fixes 2012-01-18 16:54:05 +00:00
Mike Jolley ce6f77d4e0 data-max for quantity inputs 2012-01-14 17:59:47 +00:00
Mike Jolley aa4b074ca3 Rounding and calc totals 2012-01-14 01:23:16 +00:00
Mike Jolley cd8b0fd492 Order calculations 2012-01-13 21:25:39 +00:00
Mike Jolley 8dbe617f21 Fix for locale counties. Closes #487. 2012-01-13 11:44:35 +00:00
Mike Jolley 70a799757c JS fix 2012-01-11 19:09:48 +00:00
Mike Jolley 4756376faa JS fix 2012-01-11 19:06:06 +00:00
Mike Jolley ca8523361b JS Tweaks 2012-01-07 15:36:12 +00:00
Mike Jolley 24332672ad Payment method. Closes #449. 2012-01-05 12:11:34 +00:00
Mike Jolley fb5bb626e8 Shipping tax calc + rows, fixed up write panel 2012-01-04 16:24:26 +00:00
Mike Jolley bd4eaa9eb1 Tax rows and add order line item ajax 2011-12-31 19:03:41 +00:00
Mike Jolley 1de85e5d19 More taxes + totals work. Line item tweaks.
Next step; shipping.
2011-12-30 14:00:41 +00:00
Mike Jolley 795f560b5f JS for keys 2011-12-24 17:21:39 +00:00
Mike Jolley 364c0bd54c Renamed all product data meta keys
This is so they are hidden (_). Should have done this long ago. Few
extensions will need updating when 1.4 goes out to reflect these
changes, mainly importers.
2011-12-24 16:57:36 +00:00
Mike Jolley e8e908b2b6 Write panel tweaks 2011-12-24 15:32:18 +00:00
Mike Jolley f28e4866e0 Shipping calc fix + markup change 2011-12-23 20:29:10 +00:00
Mike Jolley 74bb271e96 Filter checkout fields..
.. you can pretty much turn off all fields now - although, you'll need
to turn off tax + shipping calcs too since they rely on addresses to
function.
2011-12-21 21:56:01 +00:00
Mike Jolley cc91cf5618 Conditional options 2011-12-21 21:12:48 +00:00
Mike Jolley b8eeda72bd Show variable sku. Closes #350. 2011-12-19 19:10:59 +00:00
Mike Jolley c4625ad91e Coupon on checkout. Closes #379. 2011-12-19 17:11:19 +00:00
Mike Jolley 8788f8fb68 Products short code fix 2011-12-19 10:53:01 +00:00
Mike Jolley 18cc9a9442 Admin formatted address 2011-12-18 13:41:42 +00:00
Mike Jolley f04256320d Locale stuff. Added locales for address fields for countries.
next step is to make the address formats work.
2011-12-16 21:19:56 +00:00
Mike Jolley 03891e7f56 Dynamic checkout fields based on locale 2011-12-16 15:11:41 +00:00
Mike Jolley 073d3cb2f0 Putting localisation stuff in countries class 2011-12-15 23:24:02 +00:00
Mike Jolley df24e9e743 Locale settings for checkout
Work for base country, now it needs to be dynamic when changing
countries
2011-12-15 20:34:14 +00:00
Mike Jolley fe3242558a Working on locales, also added 'chosen' as an option for the checkout 2011-12-15 20:34:14 +00:00
Mike Jolley feb9afd30b Started work on locale options for ticket #316.
Plan is to combine locale options with the checkout array so fields can
be overridden.
2011-12-15 01:14:47 +00:00
Mike Jolley 16853cb6f6 Per order shipping with classes 2011-12-02 20:48:07 +00:00
Mike Jolley 172a34a9b9 Broke up scripts and made jquery ui optional 2011-12-02 11:43:15 +00:00
Mike Jolley 9eb7b4dd13 Tidied up script loaders 2011-12-02 11:11:33 +00:00
Mike Jolley 6dc4d2add8 Final tax logic fixes
Storing base cost/discounted cost instead of row_discount to keep calks
simple and maintain backwards compatibility.
2011-11-30 00:30:39 +00:00
Mike Jolley ea3b016aba minified 2011-11-28 17:12:21 +00:00
lucasstark 0e79d68765 Add a custom event, variationWrapShown, fired after the variation slide down is complete. 2011-11-28 12:07:40 -05:00
Mike Jolley 764341b228 Settings API 2011-11-28 15:50:19 +00:00
Mike Jolley c2985e11e8 JS rounding 2011-11-26 20:15:21 +00:00
Mike Jolley 2abd9a1644 Type + tooltips 2011-11-26 16:41:48 +00:00
Mike Jolley f7b4bebacc Final tax rounding issues 2011-11-26 16:15:25 +00:00
Mike Jolley 14a169151d Ability to load shipping/billing from selected customer 2011-11-26 12:32:44 +00:00
Mike Jolley d735f13f70 Calculate totals (JS) rounding 2011-11-25 23:42:46 +00:00
Mike Jolley b681ec5788 Changed discount to row_discount 2011-11-25 22:36:02 +00:00
Mike Jolley d954419417 Tax calculations for adjusted rates 2011-11-25 22:13:01 +00:00
Mike Jolley a55adaca3e Store discount for products (pre-tax) 2011-11-25 19:31:06 +00:00
Mike Jolley 5fd566b47c Improved look and feel of the orders section 2011-11-25 18:44:44 +00:00
Mike Jolley b25436753d All inputs now use 'chosen' instead of the multiselect widget 2011-11-23 17:28:58 +00:00
Mike Jolley 99fdf94a48 More chosen selects 2011-11-23 12:02:36 +00:00
Mike Jolley c3faee08b5 Started adding support for 'chosen' - a select element enhancer 2011-11-23 00:44:11 +00:00
Mike Jolley 8b4e811346 Encoding issues in attributes/variations 2011-11-18 17:27:45 +00:00
Mike Jolley 0af9b98d18 Fixed quick edit 2011-11-18 15:03:29 +00:00
Mike Jolley ea216049c1 Fixed upload directory. Closes #210. 2011-11-17 00:49:20 +00:00
Mike Jolley 6a5b7d88a5 Fixed some html5 validation bits 2011-11-16 17:55:22 +00:00
Mike Jolley 6d08f380f5 JS min 2011-11-16 15:33:35 +00:00
Mike Jolley ac3ddba858 Country defaults to store base. State field defaults to 'please select state' - not alabama for US. Closes #200. 2011-11-16 15:25:45 +00:00
Mike Jolley 878dae75e8 input-text (thanks @lukecarbis) 2011-11-16 09:56:35 +00:00
Mike Jolley b23338c2b0 Prevent checkout being submitted twice 2011-11-16 09:38:04 +00:00
Mike Jolley 82dd746f1b JS change 2011-11-14 12:02:42 +00:00
Mike Jolley 35cb53afde Fancybox script order. Closes #179. 2011-11-10 11:51:51 +00:00
Mike Jolley 8b125d1ff6 Variations -downloadable and virtual options 2011-11-09 23:06:17 +00:00
Mike Jolley a52c6b1437 Affilaite/external product type. Closes #166. 2011-11-08 16:15:36 +00:00
Mike Jolley f4694cf640 Fix states (loading from account) 2011-11-08 10:22:30 +00:00
Mike Jolley f80828f27f Check uniform is declared. Closes #154. 2011-11-07 15:38:00 +00:00
Mike Jolley 5a99105123 woocommerce_product_add_to_cart shortocode 2011-11-07 15:09:46 +00:00
Mike Jolley 0d74014d4a Added handles. Closes #137. 2011-11-07 14:13:04 +00:00
Mike Jolley de32a8eb8c JS quantity 2011-11-07 11:41:57 +00:00
Mike Jolley 869f413e9b New cart code adapted from Lucas Starks pull request.
Cart items are indexed by an md5 hash rather than numeric keys so we
can add custom data to cart items.

Plugins can hook in and add meta data, load it, and display it. The
adjust_price() function lets you adjust a products price too since its
loaded and stored in the cart on page load.

All works like a dream, all thats left is to show the values on the
cart page, and store them in the order item meta. Order item meta does
need a slight change though, to allow data with the same keys. Working
on that next.
2011-11-06 13:45:18 +00:00