Commit Graph

720 Commits

Author SHA1 Message Date
Mike Jolley c84ea9e783 only hide pages, not other objects. Closes #2829. 2013-03-27 11:04:58 +00:00
Mike Jolley 3626a2c2e4 Version bumpage 2013-03-26 12:44:05 +00:00
Sylvain WITMEYER e2a6e26d92 Update woocommerce.php
is_admin() return a boolean
2013-03-23 22:33:19 +01:00
Mike Jolley 6e632c3348 Version bump 2013-03-18 15:26:51 +00:00
Mike Jolley 87fbb21ff2 Removed Sidebar Login Widget. Use http://wordpress.org/extend/plugins/sidebar-login/ instead. A potential security issue was found regarding logging of passwords (since GET was used instead of POST). Sidebar Login 2.5 resolves this and the widget has been removed from WC to prevent needing to maintain two (virtually identical) codebases. 2013-03-18 15:24:29 +00:00
Mike Jolley 9c2fd84ce5 Include API class - its always needed 2013-03-13 11:58:56 +00:00
Mike Jolley 84b451e214 Fix attribute base 2013-03-12 14:43:06 +00:00
Mike Jolley df3b84845b Version bump 2013-03-11 10:41:44 +00:00
Mike Jolley 874d6855ea Move to later hook #2625 2013-03-07 16:33:44 +00:00
Mike Jolley eb8c37844b Update tweaks for coen 2013-03-06 11:59:24 +00:00
Mike Jolley 36e4cd8fa1 Upgrade if DB version is lower than current. + version bump in wc file 2013-03-06 11:16:12 +00:00
Mike Jolley 38d68a29a3 Include once to prevent class exist errors with widgets. 2013-03-06 10:28:23 +00:00
Mike Jolley 77eaf1f91d Activation/install/welcome 2013-03-05 18:50:44 +00:00
Mike Jolley a5a6fab817 Readme for fixes 2013-03-04 15:32:48 +00:00
Coen Jacobs 57e65f22a7 Version bump for 2.0 2013-03-04 10:24:36 +01:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Coen Jacobs 46c0f6827e Tagged RC3 - code freeze is in effect
Code is now frozen until Monday morning, when we will check the bugs reported in the time between and do final fixes, tweaks and documentation changes. Here comes WooCommerce 2.0!
2013-03-02 11:05:31 +01:00
Mike Jolley 1f345b7bf9 api_request_url tweak 2013-03-01 18:47:25 +00:00
Mike Jolley 1104924e1a deprecated function 2013-03-01 18:05:35 +00:00
Mike Jolley d618b306a2 Welcome page 2013-03-01 16:03:10 +00:00
Mike Jolley d403f4d9bc Split out fragment code into wc-cart-fragments Closes #2528 2013-02-26 12:15:12 +00:00
Mike Jolley 566e10eeb0 Less conditionals for JS loader 2013-02-25 10:32:13 +00:00
Coen Jacobs 9bdb243da0 Tagging RC2 2013-02-22 14:19:13 +01:00
Mike Jolley 66666f6bd8 API endpoints - some gateways don't like query strings 2013-02-13 12:38:19 +00:00
Mike Jolley 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Geert De Deckere a81e915eeb API comments for v2.0 2013-02-08 16:36:34 +01:00
Mike Jolley d6a9f3e460 Perform api requests slightly later so that template functions are available. 2013-02-06 18:55:41 +00:00
Coen Jacobs 1268a01c3c Fixed errors for #2364. Good morning... 2013-02-06 11:15:58 +01:00
Coen Jacobs 8a59ab8d6e Filterable args for taxonomies. Closes #2364 2013-02-06 10:52:07 +01:00
Coen Jacobs 911e7f3f2b Hey, what's this? Oh look, it's RC1! 2013-02-04 15:43:09 +01:00
James Koster cf00520b4c step 1 of replacing Fancybox with prettyPhoto 2013-01-30 16:18:36 +00:00
Mike Jolley b2d084af7f dump 2013-01-29 13:03:29 +00:00
Mike Jolley 4c7812ebb2 Shortcode fix Closes #2299. 2013-01-29 13:01:09 +00:00
Mike Jolley b211894d3c Get cart from ajax or local storage to prevent cache 2013-01-28 10:59:24 +00:00
Geert De Deckere e65cf3c904 Added class with stock status to product 2013-01-27 09:31:38 +01:00
Coen Jacobs 764d9655e5 Hello WooCommerce 2.0 beta 3! 2013-01-24 16:26:50 +01:00
Max Rice 8d5d14c060 Use is_readable() for autoloading
instead of file_exists() as is_readable() also checks file permissions
2013-01-23 14:29:23 -05:00
Mike Jolley 9da6eb690a Revised session handler based with some code from Eric Manns wp_session class idea.
The (long term) plan will be to use that when stable and in WP core.
Until then, our wc_session_ implementation will work.

This is similar to what we had, with the exeption of not using
transients to ensure the data persists.

@coenjacobs please view this.
2013-01-15 19:51:19 +00:00
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Geert De Deckere 28b0a5ba60 Moving custom product classes to the post_class filter 2013-01-09 15:15:25 +01:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Coen Jacobs 359cc724f9 2.0 beta 2 is here! 2013-01-03 16:06:26 +01:00
Mike Jolley 6821abc549 Store counts in a transient. Closes #2100. 2013-01-02 12:12:44 +00:00
Mike Jolley fc48f124cb Don't show any output for API requests. 2012-12-31 19:19:26 +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 d1372bde23 2nd exists #2051 2012-12-30 16:37:22 +00:00
Mike Jolley 8c9966145b Removed some unused code, removed order tracking from installer. #1765 2012-12-30 15:51:37 +00:00
Mike Jolley 96d6cc5980 More transient clearing tools 2012-12-30 15:02:24 +00:00
Mike Jolley 1d6707093c Wrong paths #2051 2012-12-30 13:56:27 +00:00
Mike Jolley 4c7ea6a016 Load admin mo, and updated GB translation. 2012-12-30 13:48:27 +00:00
Mike Jolley d993687e9e 2 filters to force/unforce any page programatically. Closes #2030. 2012-12-28 10:57:46 +00:00
Mike Jolley 51ab134142 Added thai states (Closes #2064), added files per state which get loaded only when the country is allowed, and hidden the informal setting unless needed for the lang.
Also moved languages and added an i18n folder for this kind of stuff.
2012-12-28 10:54:09 +00:00
Mike Jolley bdc61bfdce wc_product_type_ transient is unused 2012-12-21 08:44:15 +00:00
Coen Jacobs dec06d8d40 WooCommerce 2.0 beta 1 is here! 2012-12-20 16:17:31 +01:00
Mike Jolley 0b7750e55a Attribute taxonomy transiant. #1765 2012-12-19 20:42:25 +00:00
Mike Jolley 801fdc7420 We no longer use sessions. #1765. 2012-12-19 18:45:33 +00:00
Mike Jolley f663a71550 Media upload (started) 2012-12-18 12:04:33 +00:00
Coen Jacobs 9a92fb48a1 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	classes/class-wc-query.php
	classes/class-wc-tax.php
2012-12-15 13:00:34 +01:00
Coen Jacobs 7b5e74626a Remove pass by reference for objects
Done all files except for external libaries: shareyourcart, cssmin,
lessc

@mikejolley Should we update those libraries as well?
2012-12-15 12:53:32 +01:00
Warren Holmes 633def8112 Correct scope, remove use of var.
- woocommerce.php
2012-12-14 23:19:40 +02:00
James Koster f5552e0b5e retina'd frontend ajax loader 2012-12-13 15:53:36 +00:00
Coen Jacobs 5e675ab0e3 Updated readme with 1.6.6 release 2012-12-13 16:27:48 +01:00
Coen Jacobs fb91b72ee0 Check for thumbnail support on content type level 2012-12-13 13:40:24 +01:00
Mike Jolley a8fba0cf04 Tweaked installer and added new cron for scheduled sales. Closes #1971. 2012-12-12 12:52:39 +00:00
Mike Jolley 253562e980 Enqueue placeholder separately. #1972. 2012-12-12 10:33:16 +00:00
Mike Jolley c394119983 Ajax view cart. Closes #1948. 2012-12-10 13:11:05 +00: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 66eb090017 Image size option names. Closes #1953. 2012-12-10 11:33:26 +00:00
Mike Jolley 753fc7c39e Use core jquery ui. Closes #1929. 2012-12-06 14:56:19 +00:00
Mike Jolley bcc91f586d Use different sanitize functions for attribute names. Closes #1897. 2012-12-05 15:01:29 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 9d853e0c02 Product counts. #1789 2012-11-28 15:03:26 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 0361a2f0cb Settings API tweaks.
Uses same names as the settings API for gateways which Closes #1848.
Allows a single level of array based IDs for options which Closes #1826.
Related to #1826 this is now used for image size settings.
2012-11-27 15:39:32 +00:00
Coen Jacobs 3f5a4fbe9e Do not use wpdb->prepare without param arg. Closes #1717
Starting WordPress 3.5, wpdb->prepare should always have a second param
to discourage improper use:
https://core.trac.wordpress.org/changeset/22429 props @spencerfinnell
2012-11-26 11:03:47 +01:00
Coen Jacobs 13f6ec9b29 Moved WC_Abstract to abstracts folder 2012-11-22 15:04:15 +01:00
Coen Jacobs 6ba6e410e5 Moved Product Factory class instance to WC global instance 2012-11-22 14:00:25 +01:00
Coen Jacobs b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01:00
Coen Jacobs 93cddbaa16 Abstract main product class, added simple product class 2012-11-22 11:22:18 +01: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 51bf586fd7 Widget wrap and tweaks. #1768. 2012-11-15 17:46:24 +00:00
Mike Jolley ec1377dfd2 error fix 2012-11-15 17:30:38 +00:00
Brian Feister 7c7c6a4326 Hotfix for namespacing issue #1749. Turns out `.woocommerce-pge` is the global namespace, not `.woocommerce`. 2012-11-15 11:39:41 -05:00
Mike Jolley 58c5bbef55 Merge pull request #1749 from brianfeister/classname-fix
Fix common css class name / namespace pollution issue
2012-11-15 08:10:29 -08:00
Mike Jolley 8986da2ec2 This is fixed in iO6, so just show an alert when nothing matches. Closes #1737. 2012-11-14 15:38:56 +00:00
Brian Feister 6aabdef3e6 Fix common css class name / namespace pollution issue and add a $wrapper parameter to the `shortcode_wrapper()` helper function with a default of `div.woocommerce`. Line 1601 2012-11-13 18:42:10 -05:00
Brian Feister 506c2bfc12 Make syntax more concise and add option to pass FALSE to function to disable wrapping. 2012-11-13 18:32:14 -05:00
Brian Feister dedc3fd0a4 Add a $wrapper parameter to the `shortcode_wrapper()` helper function with a default of `div.woocommerce`. Line 1601 2012-11-13 18:22:53 -05:00
Mike Jolley 7a055f5296 Change class handling for country. Closes #1683. 2012-11-06 11:49:49 +00:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley a03444e7ed Fix JS code escape 2012-10-23 18:21:11 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Coen Jacobs 9769b8851f [3.2.4] Sanitization #1575 2012-10-18 12:33:52 +02:00
Mike Jolley aef75800c9 Update/install code + revised notices. 2012-10-18 10:33:06 +01:00
Mike Jolley 9ec5090356 esc_js alternative 2012-10-17 16:42:57 +01:00
Mike Jolley 98b21a4a44 Split up scripts. #1575. 2012-10-17 14:32:31 +01: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 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley 20d7e9b54f admin url relative 2012-10-12 12:57:08 +01:00
Mike Jolley 0b36adaed5 Stop transient death. 2012-10-11 10:22:03 +01:00
Mike Jolley c023a64e36 readme 2012-10-10 15:37:24 +01:00
Mike Jolley 9505e5d63f Better permalink settings. Closes #1579. 2012-10-10 10:21:04 +01:00
Coen Jacobs e159952841 Setting for product post type slug
- New priority in slug generation: Shop base (if checked), custom slug
(if entered), pick default (translatable) 'product'
- Related to: #1579
2012-10-09 18:09:11 +02:00
Mike Jolley 5868b63b93 Ordering options. Closes #1166. 2012-10-09 15:57:06 +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 ee36465b70 Mailer() tweak. Closes #1521. 2012-09-30 20:15:39 +01:00
Mike Jolley b88c6e62f7 Load sessions before customer class. Closes #1545. 2012-09-30 20:11:32 +01:00
Mike Jolley 33c3dd5573 Filters for post type definition. For #1515. 2012-09-21 17:01:22 +01:00
Mike Jolley 66cf7d8e98 More capabilities. Closes #1083. 2012-09-20 16:35:15 +01:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Coen Jacobs 0833e00a63 Set session methods as default for all implementing classes 2012-09-12 16:21:13 +02:00
Coen Jacobs b392011a7b Offer way to override the session class
* Added abstract class to implement
* Implementing class is default
* Filter to replace the instance of the default class
2012-09-12 15:45:47 +02:00
Mike Jolley e9f0a8612f Made paypal use wc-api for IPN 2012-09-12 13:36:34 +01:00
Mike Jolley 5019700d79 more sessions 2012-09-07 19:28:30 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Ryan Berry 6f26e25c5d Prefixing jquery-plugins script enqueue
Just spent 4 hours trying to find the cause of a javascript exception,
turns out the woocommerce enqueue name was the same as mine and these
weren't being enqueued. "jquery-plugins" can't be uncommon so a prefix
should be used to save headaches.
2012-09-07 14:43:58 +08:00
Mike Jolley e19505c6ab checkout loading tweak 2012-09-03 16:45:09 +01:00
Manos Psychogyiopoulos a319c80639 Back end filters for attribute labels and variation options ( for translation plugins - filter names same as in variable.php ) 2012-08-28 13:48:02 +03:00
Coen Jacobs 28b4289be0 Version bump 1.6.5.1 2012-08-25 20:57:38 +02:00
Mike Jolley 01c00bd029 version bumpage 2012-08-25 11:11:45 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 5e78e897c7 check_jquery 2012-08-25 09:47:36 +01:00
Mike Jolley fe2c407f2f Appended version to scripts to prevent cache issues upon upgrade 2012-08-24 18:34:31 +01:00
Mike Jolley 02b88b23b9 get_allowed_country_states() function. Closes #1407. 2012-08-22 16:13:58 +01:00
Mike Jolley 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Mike Jolley f03eec03a8 Ajax docs 2012-08-14 23:43:54 +01:00
Mike Jolley 5b007d4918 Function docs. 2012-08-14 23:43:53 +01:00
Mike Jolley 90b61d61ef More api docs 2012-08-14 23:43:53 +01:00
Mike Jolley 806a6fb159 Lots of documentation 2012-08-14 23:43:53 +01:00
Mike Jolley 402799c0eb Fix JS enqueue. Closes #1365. 2012-08-12 13:15:27 +01:00
Mike Jolley d351240e6a Hide variations from frontend 2012-08-10 15:24:01 +01:00
Mike Jolley 6d5b9991d3 version bump 2012-08-10 14:21:10 +01:00
Mike Jolley 9be866b7a1 remove attachment rewrite 2012-08-09 11:50:15 +01:00
Mike Jolley 1217228bda Additonal hooks 2012-08-08 16:57:36 +01:00
Mike Jolley 2c9fa0ccf0 Version 2012-08-07 09:38:12 +01:00
Mike Jolley eb532c342c add rewrite rule for attachments. Closes #875. 2012-07-31 14:56:30 +01:00
Mike Jolley b552e41f60 Tweak menu names. 2012-07-26 15:33:02 +01:00
Mike Jolley 8cdc3738c2 Removed session_name. Closes #1291. 2012-07-25 19:20:21 +01:00
Mike Jolley 6d7e06b500 Better caching support + mini-cart template 2012-07-25 18:59:12 +01:00
Mike Jolley ffb34fdc83 Fix up orders when not in a submenu 2012-07-23 13:56:05 +01:00
Mike Jolley 811c1bdcbb Version 2012-07-19 19:41:03 +01:00
Mike Jolley 08ae311d43 HTTP_X_FORWARDED_PROTO 2012-07-18 18:07:39 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley 6fe7e831b2 Set session_name to avoid conflicting sessions across installs. Closes #1217. 2012-07-17 16:01:01 +01:00
Mike Jolley 30b8ddaf1d Split up frontend scripts so they can be loaded when needed. 2012-07-17 15:09:18 +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 939d835b3e edit_users. Closes #1179. 2012-07-11 19:37:33 +01:00
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Mike Jolley 96a522bc82 template_redirect 2012-06-29 16:38:00 +01:00
Mike Jolley b373a82de2 moved checkout buffer function 2012-06-28 12:19:54 +01:00
Mike Jolley c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Mike Jolley 99c859ca30 Small save bug with Mijireh 2012-06-14 17:25:49 +01:00
Coen Jacobs d253181f79 Code style fixes, changed space use around arguments 2012-06-14 12:08:50 +02:00
Mike Jolley 10f5a48a33 space 2012-06-14 10:20:49 +01:00
Mike Jolley 731f588b31 Readme and versions 2012-06-10 20:12:06 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley e128fc02ee Merge pull request #1129 from GeertDD/menu_names
Allow custom translations for admin menu names
2012-06-08 12:31:58 -07:00
Mike Jolley 0f905e9cd0 mijireh gateway 2012-06-08 11:46:10 +01:00
Geert De Deckere 6128a82da6 Allow custom translations for admin menu names 2012-06-07 10:06:33 +02:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Mike Jolley 809175b41c filters. Closes #1108. 2012-06-06 20:28:15 +01:00
Mike Jolley 405a1eb147 out of state rounding tweaks 2012-06-05 12:21:52 +01:00
bfred-it 713baa8ac5 Fixes error "number_format() expects parameter 1 to be double, string given" on some servers 2012-05-28 15:42:15 +03:00
Mike Jolley b7894b14ca Counts. #1084. 2012-05-28 10:19:29 +01:00
Mike Jolley 19b4d7344b clear transient 2012-05-26 16:31:58 +01:00
Mike Jolley 48c222f9d1 spaces 2012-05-24 12:20:28 +01:00
Mike Jolley 8332137cf9 Strange error where detecting the page (is_page etc) would break the canonical redirect in some instances when hooked into 'wp'. Used the later get_header hook instead. 2012-05-17 22:26:56 +01:00
Mike Jolley 0b5fcd5139 version bump and installer cleanup 2012-05-17 12:58:25 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley e6f5426839 Tweaks for launch 2012-05-10 12:45:14 +01:00
Mike Jolley e92ceaae15 No word from .org team - removing wootransmitter for now 2012-05-10 10:34:44 +01:00
Bronson Quick 454181ec86 Add WooCommerce Products to the Appearance->Menus screen in WordPress so that products can be easily added to menus rather than using Custom Links to the URLs of products 2012-05-10 15:03:37 +10:00
Mike Jolley 58f5afdc46 tweaks to options 2012-05-09 00:53: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 9d30ad15fa wootrans opt in 2012-05-08 17:29:27 +01:00
Mike Jolley a537b2c18f Woo Transmitter Integration 2012-05-08 16:23:09 +01:00
Geert De Deckere e5556af3ca Apply the filter "plugin_locale" to the locale for loading language files from the WP_LANG_DIR 2012-05-03 13:48:35 +02:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Mike Jolley 7840c79251 style rework. Shareyourcart (needs more work) 2012-04-28 18:28:18 +01:00
Mike Jolley e8c57f7781 Protocol-relative AJAX URL 2012-04-24 18:32:17 +01:00
Mike Jolley f90c6e0a1c clear cache 2012-04-24 18:22:24 +01:00
Mike Jolley 9392908456 nginx proxy 2012-04-23 13:41:17 +01:00
James Collins 2bd123f37c Merge remote branch 'upstream/master'
Conflicts:
	woocommerce.php
2012-04-19 17:46:18 +10:00
James Collins 9b9366c675 Body Classes should be sanitised
Correctly add the current theme's name to the <body> classes. Previously, theme names that contain spaces and other strange characters would cause problems.
Also ensure that any other body classes that WooCommerce adds are also sanitised.
2012-04-19 17:14:48 +10:00
Mike Jolley d7ff3bd6fc update_count_callback for tags 2012-04-18 12:36:16 +01:00
Brent Shepherd adc0d01611 Replacing use of deprecated function get_current_theme() in versions of WP newer than 3.4 where the replacement wp_get_theme() exists. 2012-04-18 08:44:33 +10:00
Mike Jolley 5438b79c35 get children when searching for products 2012-04-16 13:52:28 +01:00
Mike Jolley 7aa97b0f38 product attributes template 2012-04-13 18:33:56 +01:00
Mike Jolley b846131f82 "Package" support for shipping calculations - allows third parties to split the cart up to calc shipping. Also caches packages meaning the cart shipping only needs to be calculated once (until totals or customer location changes) 2012-04-13 12:16:24 +01:00
Mike Jolley a9cf0e340b remove shortcode wrappers 2012-04-11 21:07:46 +01:00
Mike Jolley afd727bb24 Improved variations panel, bulk edit, and added tax classes for variations. Closes #779. 2012-04-11 18:56:54 +01:00
Mike Jolley 134edeb0b3 untrailingslash path 2012-04-11 11:02:35 +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 c28b28e712 grouped external products 2012-03-30 16:10:14 +01:00
Mike Jolley 24a24121df comment 2012-03-29 10:32:19 +01:00
Mike Jolley a261f05734 tweak for total_sales, ajax_url 2012-03-29 10:31:04 +01:00
Mike Jolley 981951723a ajax url for domain mapping compat... 2012-03-29 01:50:20 +01:00
Mike Jolley 5e23a48ba4 versions 2012-03-28 18:50:44 +01:00
Mike Jolley ad499d10f0 Options to enable/disable ratings. Closes #847. 2012-03-27 20:35:35 +01:00
Mike Jolley 3ff6db4cec prevent is_visible error 2012-03-27 13:20:47 +01:00
Mike Jolley bdfdb074cd label 2012-03-23 21:06:49 +00:00
Geert De Deckere e7fd165050 Also pass on original attribute $name 2012-03-21 15:29:37 +01:00
Geert De Deckere 46812dad9c Added filter woocommerce_attribute_label 2012-03-21 15:26:53 +01:00
Mike Jolley 823c2921c6 load order tweaks 2012-03-20 19:22:10 +00:00
Mike Jolley 353b4faa0c woocommerce_loaded. Closes #834 2012-03-20 18:59:12 +00:00
Geert De Deckere 9c5a8d7d81 Merge branch 'master' into fix_i18n_init
Conflicts:
	classes/class-wc-cart.php
	woocommerce.php
2012-03-20 15:32:29 +01:00
Geert De Deckere 6cdd9fef7f Moving more stuff to init 2012-03-20 15:08:29 +01:00
Geert De Deckere 9e04e5ecf9 Initialisation of WC_Cart requires WC_Customer to be loaded 2012-03-20 15:03:12 +01:00
Geert De Deckere 2e27ea3108 Call WC_Cart->init() method directly from within the init hook 2012-03-20 14:50:19 +01:00
Mike Jolley 928543c35e cart and main cleanup 2012-03-20 13:22:35 +00:00
Geert De Deckere 7a510c55ac Fixed the initialisation of the language files by moving load_plugin_textdomain call to the "init" hook. 2012-03-20 14:20:08 +01:00
Mike Jolley c4c7386e17 chosen frontend - separated to avoid accidental deletion 2012-03-18 13:35:02 +00:00
Mike Jolley 23bc2865e6 var_dump missed :( 2012-03-16 16:57:56 +00:00
Mike Jolley fe800d6685 Transient names. Closes #818. 2012-03-16 16:39:16 +00:00
Mike Jolley bb5f35fa91 Fix redirect when no payment required + admin bar. Closes #826. 2012-03-16 15:09:12 +00:00
Mike Jolley 0b7e83ca35 Tweaks 2012-03-15 12:15:22 +00:00
Mike Jolley 705cf692f2 Template Loader - Support for taxonomy-product_cat-SLUG.php template files. Closes #769. 2012-03-14 14:23:36 +00:00
Mike Jolley bd785f99f5 required field rating 2012-03-12 15:58:13 +00:00
Mike Jolley 01e7a2d539 Product id rules for coupons apply to a products parent (useful for grouped products) 2012-03-12 13:11:08 +00:00
Mike Jolley d4ddd8aec5 My account force ssl 2012-03-12 08:34:49 +00:00
Mike Jolley 7e6b254f32 Merge pull request #765 from foxrunsoftware/master
My Account Force SSL
2012-03-12 01:16:43 -07:00
Mike Jolley 3b74269ed2 Merge pull request #773 from piffpaffpuff/master
menu icons when no manage_woocommerce capability
2012-03-12 00:09:18 -07:00
Mike Jolley 04c296f14d Force SSL for get_option('siteurl') 2012-03-11 14:25:48 +00:00
Mike Jolley 0883669564 force ssl template url 2012-03-08 15:11:01 +00:00
Mike Jolley 6e50486c20 minor fixes and version bump 2012-03-08 12:57:15 +00:00
Mike Jolley dac284269b slugs. Closes #775. 2012-03-08 10:29:17 +00:00
Triggvy Gunderson 512b6538be menu icons for shop_manager when no manage_woocommerce capability
when the user has no manage_woocommerce capabilities the menu items
(like order) aren't grouped under woocommerce menu. then they showed
the default post it icon. while fixing this i discovered that it uses
the menu icons the old fashioned way instead of css sprites. fixed that
too. but the new icons are just placeholder, someone with the original
art files need to export the png again.
2012-03-07 12:59:23 +01:00
Geert De Deckere 6155ded5db Fix language loading with WP_LANG_DIR 2012-03-06 11:32:07 +01:00
Justin Stern e532c7fbed Force SSL on My Account
The force SSL option forces the My Account pages to be served over
HTTPS, and the unforce SSL option is also modified to allow the My
Account pages to be protected
2012-03-05 22:06:01 -05:00
Mike Jolley 787211bf74 Merge pull request #760 from GeertDD/lang_dir
Use WP_LANG_DIR constant for path to languages folder
2012-03-05 06:47:11 -08:00
Mike Jolley 4f629f6cb0 Tweaked attribute page detection 2012-03-05 14:43:55 +00:00
Geert De Deckere eaa792335d Use WP_LANG_DIR constant for path to languages folder 2012-03-05 12:16:33 +01:00
Mike Jolley 79cc67b23c Expiry fix. Closes #741. 2012-03-04 00:01:56 +00:00
Mike Jolley 3cb8f314c3 attribute layered nav. #740. 2012-03-03 21:24:09 +00:00
Coen Jacobs 5e7d2a7c0d Using plugins_url function without __THIS__ to get plugin url 2012-03-03 16:35:14 +01:00
Mike Jolley b5b0f7021d cleaner urls - but couldn't make this or the previous work with symlinks 2012-03-02 16:11:47 +00:00
Coen Jacobs 1acc8a7c62 Use WordPress internal plugins_url() function to resolve WC plugin url 2012-03-02 09:31:28 +01:00
Mike Jolley 067f308121 version bump 2012-02-29 17:04:37 +00:00
Mike Jolley 966595a266 changed cookie name 2012-02-28 16:33:15 +00:00
Mike Jolley 5ad663a010 Merge pull request #712 from GeertDD/fix_localisation_init
Fixed localisation init
2012-02-28 05:57:17 -08:00
Geert De Deckere 4d43dd7007 Fixed localisation init
Bug introduced by fdc122214e
2012-02-28 09:37:51 +01:00
Mike Jolley a2714544a4 cart limit item. Closes #646. 2012-02-27 18:22:54 +00:00
Mike Jolley 01bc65dc7f Minor tweaks + disable shipping option turns off shipping address display 2012-02-27 15:02:44 +00:00
Mike Jolley d5c54d686a Reset variations. Closes #705. 2012-02-27 13:14:33 +00:00
Mike Jolley 226f8aa4db More reliable un-force https code 2012-02-27 11:18:55 +00:00
Mike Jolley 15ecb857bd cookie when cart has content 2012-02-24 21:05:15 +00:00
Mike Jolley 4bcc3d583f More reliable cache deletion (for people who screw up w3 total cache installation!) 2012-02-24 12:48:57 +00:00
Mike Jolley cc1c77db20 dynamic required 2012-02-23 11:19:45 +00:00
Mike Jolley cac792c8e7 Merge pull request #688 from GeertDD/translation_order
Changing the load order of the translation files
2012-02-22 11:47:23 -08:00
Mike Jolley 32675c2964 Errors vía querystring 2012-02-22 16:36:23 +00:00
Geert De Deckere fa5bea85b5 Changing the load order of the translation files 2012-02-22 14:09:09 +01:00
Mike Jolley d03790c18b Spelling mistake. hierarchical 2012-02-21 11:55:57 +00:00
Mike Jolley 429e7ea1f3 bulk edit 2012-02-20 18:19:27 +00:00
Mike Jolley 89c8d3d315 Changed priority to prevent conflict a few other themes and to ensure functions get loaded 2012-02-20 15:01:41 +00:00
Mike Jolley 565987dd56 Quick edit Closes #258. 2012-02-20 14:29:51 +00:00
Mike Jolley c52164a5a1 Added basic API for payment gateways to hook into (for IPN etc) 2012-02-19 17:13:07 +00:00
Mike Jolley 93aeaf03cc version bump 2012-02-18 14:18:36 +00:00
Mike Jolley a533953779 Activation rule flushes - seems to be reliable. Needs testing on other environments. 2012-02-17 21:25:06 +00:00
Geert De Deckere 082276fce7 Load non-minified woocommerce.js file if SCRIPT_DEBUG is on 2012-02-17 14:28:36 +01:00
Mike Jolley d3737c39f1 version 2012-02-16 15:54:01 +00:00
Mike Jolley fdc122214e localisation to init 2012-02-15 20:42:00 +00:00
Mike Jolley 1596dd1115 Messages Closes #566. 2012-02-08 15:55:08 +00:00
Mike Jolley a562132458 Shipping classes for variations. Closes #553. 2012-02-08 14:39:31 +00:00
Mike Jolley 11445ad34c Cache tweaks and version 2012-02-07 12:09:30 +00:00
Andrew White c084f6ed79 Make product category URLs heirarchical
Heirarchical URLs for custom taxonomies is an opt-in feature added
in WordPress 3.1. This commit enables that support by adding the
appropriate flag to the rewrite setting for the product_cat taxonomy.
2012-02-06 12:37:50 +00:00
Mike Jolley f6c71c23f4 Small fixes for 1.4 2012-02-01 21:49:08 +00:00
Mike Jolley 7f0e5e4301 International shipping method 2012-01-31 18:13:32 +00:00
Mike Jolley 8c336ce6e8 Non hierarchal to prevent memory issues 2012-01-31 16:21:29 +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 0836ce04db Better class names (final) 2012-01-27 16:38:39 +00:00
Mike Jolley 60647b0838 Error list. Closes #528. 2012-01-25 20:37:21 +00:00
Mike Jolley 0afe34a222 Minor fixes 2012-01-24 16:56:37 +00:00
Mike Jolley 80cac8f9c8 Fixed up ajax, and made class filenames follow naming conventions 2012-01-22 15:49:41 +00:00
Geert De Deckere 7706ecfe7b Starting class names with a capital. Closes #519. 2012-01-21 10:07:54 +01:00
Mike Jolley b5c8609275 Readme/version 2012-01-17 15:20:11 +00:00
Patrick Garman d123c3f639 Adding local delivery and local pickup to CORE 2012-01-14 19:35:04 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
Mike Jolley 567319bd51 Merge pull request #490 from patrickgarman/master
Adding COD to WooCommerce Core!
2012-01-11 16:57:41 -08:00
Mike Jolley a2d51aa201 Github sabotages files -.- 2012-01-12 00:54:45 +00:00
Mike Jolley 1dc5a3bc0b Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD 2012-01-12 00:43:30 +00:00
Mike Jolley 136456f805 Remonde ob_start. Moved checkout processing to init hook. Fixed email bug. 2012-01-12 00:30:21 +00:00
Patrick Garman 8e499c9c95 Adding Cash on Delivery Gateway 2012-01-11 20:44:10 +00:00
Mike Jolley f8b3b65ada Fixed duplicate product functionality 2012-01-11 19:37:33 +00:00
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
Mike Jolley cf1e36c347 Roles + caps for various post types and pages. Closes #457. 2012-01-09 13:14:48 +00:00
Mike Jolley ca8523361b JS Tweaks 2012-01-07 15:36:12 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley 6650434c3f Theming improvement 2012-01-06 14:02:34 +00:00
Mike Jolley 66b5fd8e0e Removed previously committed change 2012-01-05 11:37:05 +00:00
Mike Jolley f64fa5ce1e Merge pull request #452 from KingYes/master
Added RTL Support..
2012-01-05 03:34:33 -08:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
KingYes 6b570581e3 added RTL support. 2012-01-04 22:25:51 +02:00
Mike Jolley ca0e9744ab Local tax rates - zips and zip ranges 2012-01-03 17:23:42 +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 30f5c1e796 unforce tweak 2011-12-23 20:39:30 +00:00
Mike Jolley 313526aace IIS fix 2011-12-20 13:44:18 +00:00
Mike Jolley b9436bc052 Uninstall. Closes #372. 2011-12-19 15:44:00 +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 fe3242558a Working on locales, also added 'chosen' as an option for the checkout 2011-12-15 20:34:14 +00:00
Mike Jolley ef4c0a24d9 Readme 2011-12-15 16:36:11 +00:00
Mike Jolley 71733c2412 Feeds variable. Closes #368. 2011-12-14 23:32:37 +00:00
Mike Jolley ae96bf4ad9 template var 2011-12-14 19:05:16 +00:00
Mike Jolley 800c4260be tax class needed in admin 2011-12-12 18:30:57 +00:00
Mike Jolley 34032965a8 Admin 2011-12-12 16:34:56 +00:00
Mike Jolley 0e81f2328d Fixes for previous commit 2011-12-11 15:20:34 +00:00
Mike Jolley 35d1d56329 Made product global, setup automatically, and removed the need to call the class directly in the loop
Themes need checking for compat, but the change makes it easier to use
2011-12-11 14:40:25 +00:00
Mike Jolley ae1419c8b2 Quantity fix 2011-12-11 12:39:35 +00:00
Mike Jolley a214e50b4f Renamed files 2011-12-11 00:33:28 +00:00
Mike Jolley 6dff689cb9 Fixes 2011-12-10 18:40:51 +00:00
Mike Jolley 733b51401c Moved email functions to classes, and made posts only save once (faster) 2011-12-10 17:28:32 +00:00
Mike Jolley 7952e33fdb Comments 2011-12-09 21:55:49 +00:00
Mike Jolley 033735bf8f New structure + started moving template code to files 2011-12-09 19:55:09 +00:00
Mike Jolley f778c4f3ec Started new structure, moved short codes into template files, moved main class into main file 2011-12-09 17:01:56 +00:00
Mike Jolley 5a7bd18231 Moved functions to prevent errors. Will optimise in next version. 2011-12-09 16:45:46 +00:00
Mike Jolley 83d6531bbb Moved function only used in admin 2011-12-08 19:55:49 +00:00
Mike Jolley 1790bd09d5 Fix for manual order addition and other tweaks. Closes #345. 2011-12-08 19:45:24 +00:00
Mike Jolley a9fa2a1574 Version bump + readme 2011-12-08 15:46:06 +00:00
Mike Jolley aa5be23dc9 AJAX optimisation 2011-12-08 15:13:15 +00:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Mike Jolley 123a887af1 CZK currency Closes #331. 2011-12-05 17:18: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
Joe Black d2e525519f Added option to insert javascript in footer using wordpress standard wp_register option (requires dependencies in theme also be registered) 2011-12-01 23:24:52 -08:00
Mike Jolley 326bdd400f Trim zeros off prices (optional) Closes #297. 2011-12-01 11:34:26 +00:00
Mike Jolley 2d2adfa523 Version 2011-11-28 17:08:46 +00:00
Mike Jolley 9341d1b199 Settings API class for gateways/shipping methods 2011-11-28 13:47:16 +00:00
Mike Jolley 378d84033c Added a few currencies
and made paypal disable itself if currency is not supported
2011-11-24 15:22:28 +00:00
Mike Jolley 3aa804fd89 States encoding. Closes #212. 2011-11-22 23:51:46 +00:00
Mike Jolley 2822f1c692 Lower priority for template functions. Closes #237. 2011-11-22 16:13:50 +00:00
Mike Jolley c1c9358d3b Added microdata to products page + reviews 2011-11-19 02:25:15 +00:00
Mike Jolley 2a25293493 Bumped version 2011-11-18 18:37:37 +00:00
Mike Jolley 0effc4131e Generator tweak 2011-11-18 01:08:54 +00:00
Mike Jolley 00d838b312 Version 2011-11-17 20:29:51 +00:00
Mike Jolley 1c46d0ff12 Bumped version 2011-11-17 13:28:41 +00:00
Mike Jolley ae53c85581 AJAX url 2011-11-15 17:39:28 +00:00
Mike Jolley 7648f1669e Added logger class for debugging gateways 2011-11-15 13:09:02 +00:00
Mike Jolley 87a6690b2e add_post_type_support Closes #191. 2011-11-13 13:04:37 +00:00
Mike Jolley b04a784511 More optimisations for products class 2011-11-13 12:07:29 +00:00
Mike Jolley fd46600c7f generator line break 2011-11-12 15:07:36 +00:00
Mike Jolley 0e34184b92 comment_feed_where to exclude order notes 2011-11-12 15:04:30 +00:00
Mike Jolley 22b91e4cf9 load_plugin_textdomain 2011-11-09 15:18:36 +00:00
Mike Jolley 0b414d72b6 Support informal and formal variations of localisations 2011-11-09 12:26:22 +00:00
Mike Jolley eaf1d942db Option to un-force ssl. Closes #147. 2011-11-07 18:37:37 +00:00
Mike Jolley 101fcd9b3f Order meta saves + displays 2011-11-06 15:45:22 +00:00