Commit Graph

1795 Commits

Author SHA1 Message Date
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
Mike Jolley b1e179aa0f Large change to product types
Removed downloadable and virtual product types in favour of a
downloadable/virtual checkbox option meaning variations can also now be
virtual (no shipping) or downloadable. This should make it more
flexible.

Not many changes were needed to template since simple, downloadable,
and virtual were all pretty similar anyway.

Added a filter for admin for the new sub-types.

In the future variations should have boxes too for downloadable/virtual
so you can mis it up with physical/downloadable goods in the same
product :)
2011-11-05 19:03:03 +00:00
Mike Jolley 85e93a391e Option for ajax add to cart Closes #79. 2011-11-04 20:57:54 +00:00
Mike Jolley 7a78c5c98a Products on sale widget + transient. Closes #66. 2011-11-04 20:46:06 +00:00
Mike Jolley 2ce7485f36 Shortcode inserter + shortcode for products by category. Closes #139. 2011-11-04 20:15:55 +00:00
Mike Jolley b30c14ba64 Minor tweak to JS 2011-11-04 18:58:15 +00:00
Mike Jolley 25c18161e2 xhr variable to fix double loading. Closes #126. 2011-11-02 20:51:07 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley aa97182775 Fixed state field. Closes #128. 2011-11-01 18:27:25 +00:00
Mike Jolley 8785c312b8 Options to define default attribute selections in variations. Closes #46. 2011-11-01 18:19:01 +00:00
Mike Jolley edca283200 AJAX add to cart for virtual/downloadable products Closes #101. 2011-10-26 16:03:06 +01:00
Mike Jolley de59598c4c Made checkout set customer location so table rates are re-evaluated 2011-10-25 16:36:16 +01:00
Mike Jolley bfc9ad433e Fixed image (zoom) URL after variation selection 2011-10-22 13:21:05 +01:00
Mike Jolley 6c35dc6511 Fixed enter key on product edit page. Closes #78. 2011-10-16 21:13:01 +01:00
Mike Jolley d61167f060 Category addition bug and pay page fix 2011-10-13 13:25:24 +01:00
Mike Jolley f8447c7a46 Drag and drop term ordering (so variation options can be sorted) Closes #57. 2011-10-12 18:32:30 +01:00
Mike Jolley 3795f04ad0 Variation fix on iphone 2011-10-05 11:09:28 +01:00
Mike Jolley 68f5b97af8 Improved variation selections. Closes #45. 2011-10-04 20:25:34 +01:00
Mike Jolley f8e006069e cart totals update when adding cross-sells to cart 2011-10-02 00:29:46 +01:00
Mike Jolley 6baf0ee7df Return false on login link. Closes #30. 2011-09-30 10:30:52 +01:00
Mike Jolley 3d23bb44af JS fixes and added en_gb po. Closes #23. 2011-09-29 13:01:56 +01:00
Mike Jolley 8613ad5a92 Fixed quotes in variation data 2011-09-28 13:34:41 +01:00
Mike Jolley 64c0bf6007 Fixed "All" variations 2011-09-27 20:05:02 +01:00
Mike Jolley 5566827163 Unformatted email fix 2011-09-23 12:15:36 +01:00
Mike Jolley ab70519f25 Variations now need a price each. Added bulk editing options too.
This makes variations less confusing and maintains the 'FROM' and
sorting for the frontend.
2011-09-23 12:04:51 +01:00
Mike Jolley cab92fb6c0 Paypal uses settings API, shipping calc js fix 2011-09-22 15:58:20 +01:00
Mike Jolley 3e8220a311 Removed cookie script from frontend 2011-09-21 17:17:28 +01:00
Mike Jolley a49e9b8816 Added coupon expiry dates 2011-09-20 16:05:13 +01:00
Mike Jolley ade3f90a92 fixed calc totals on orders page 2011-09-19 18:03:16 +01:00
Mike Jolley 8dae9492ae Fixed category ordering script 2011-09-19 17:53:08 +01:00
Mike Jolley 72e2b5219b Upsell/cross sell improvements 2011-09-19 15:57:17 +01:00
Mike Jolley d536897e69 drag and drop ordering for attributes 2011-09-19 15:32:53 +01:00
Mike Jolley 02aef8c295 Ditched datepicker in favour of jQuery ui 2011-09-19 11:30:23 +01:00
Mike Jolley abe07eb787 customer reports 2011-09-17 01:12:25 +01:00
Mike Jolley fc87f294f6 reports work 2011-09-16 18:39:37 +01:00
Mike Jolley 1f0f9213f3 1 report down, lots to go 2011-09-16 13:45:52 +01:00
Mike Jolley 5d84ea814a Dashboard restyle 2011-09-16 09:51:19 +01:00
Mike Jolley 16565712a5 Updated settings page - individual page per tab for reduced lag 2011-09-15 17:37:38 +01:00
Mike Jolley 2ad7fcce5f minify 2011-09-14 15:55:53 +01:00
Mike Jolley 6f27139231 VAT exemption support + query optimisation 2011-09-14 15:55:03 +01:00
Mike Jolley a125c94240 minified 2011-09-11 18:35:22 +01:00
Mike Jolley 07063ab547 mutliselects 2011-09-11 18:33:26 +01:00
Mike Jolley 8375887455 Shipping method selection on cart 2011-09-11 17:42:50 +01:00
Mike Jolley f0021ef763 Heavily modified the attribute/variation system
Adjusted how attributes are stored Used 'terms' rather than storing
attribute values as text Renamed tax_ to attribute_ to make more sense
Made front-end use attribute labels rather than name/reference Make link
all attributes work Hidden 'variation' checkbox when not using a
variable product
2011-09-11 14:28:15 +01:00
Mike Jolley 594c06cb43 admin 2011-09-09 15:23:54 +01:00
Mike Jolley 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00
Mike Jolley 68ff47cc7d JS fix 2011-09-08 11:13:12 +01:00
Mike Jolley ab5a86cba9 jQuery -> $ 2011-09-08 10:52:18 +01:00
Mike Jolley b3d7b8e413 Fixed tabs 2011-09-05 16:16:59 +01:00
Mike Jolley 6901af95e8 Tidyup; removed ui.css 2011-09-05 10:04:17 +01:00
Mike Jolley 44d830d374 Compressed scripts and css 2011-09-04 12:03:57 +01:00
Mike Jolley 63ec2b001f New shipping system to delete with multiple rates per gateway 2011-09-02 15:42:17 +01:00
Mike Jolley b8636296ff Ajax cart fix 2011-08-30 12:43:16 +01:00
Mike Jolley 5cd9629a45 Image size options 2011-08-27 20:20:28 +01:00
Mike Jolley b67a015c0f Fix currency pos in script 2011-08-27 12:57:06 +01:00
Mike Jolley 142635fdbb Renamed params variable 2011-08-24 20:35:02 +01:00
Mike Jolley b0f4e4bbba Variation taxonomy changes 2011-08-24 20:32:33 +01:00
Mike Jolley 6913726cd5 Better tax system 2011-08-24 17:23:04 +01:00
Mike Jolley 1ba08f0dc0 Improved variations 2011-08-22 15:10:22 +01:00
Mike Jolley 9b6b707112 Quantity amount fix 2011-08-22 13:02:45 +01:00
Mike Jolley 40897953a3 Find product in cart fix 2011-08-22 12:57:50 +01:00
Mike Jolley 23cbdbdbc4 Stock system changes + write panel improvements 2011-08-21 14:28:54 +01:00
Mike Jolley 30e2b33c1d Better order admin and fixes 2011-08-20 16:41:42 +01:00
Mike Jolley 8c4e69f707 order meta, loop visibility 2011-08-19 21:11:04 +01:00
Mike Jolley e286b11ff5 Dashboard coding, new icons 2011-08-19 15:48:41 +01:00
Mike Jolley 1472315f1b Changed the way product data is stored 2011-08-18 00:42:07 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley 674927d3d5 button classes, tax rounding etc 2011-08-12 11:22:07 +01:00
Mike Jolley c2d3ec4892 Orders panel 2011-08-11 23:54:26 +01:00
Mike Jolley fc7b3d2265 Tax issues and fixes 2011-08-11 23:39:02 +01:00
Mike Jolley 9d5d2cd975 upsells/cross sells 2011-08-11 11:51:33 +01:00
Mike Jolley ebec1bb27a Changed UI and scripts 2011-08-10 18:49:27 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00
Mike Jolley 8e8613b116 First Commit - from Jigoshop Source 2011-08-09 16:16:18 +01:00