Commit Graph

508 Commits

Author SHA1 Message Date
James Koster dcf54c23bd edit coupon icons and new version of WooCommerce icon font. #3585 2013-10-28 11:19:56 +00:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +00:00
James Koster 1fbb6249ff Replaced → / ← on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00:00
James Koster e934947152 Remove placeholder polyfill. closes #4012 2013-10-28 09:03:03 +00:00
Scott Basgaard a36c8d3b1f Rename attributes class to woocommerce_attributes. Fixes #4019
.product_attributes should be .woocommerce_attributes
2013-10-26 21:38:03 +02:00
Scott Basgaard ea03af2ee4 woocommerce_exclude_order_comments() is now exclude_order_comments() 2013-10-26 17:30:43 +02:00
Scott Basgaard 213525fc7c Use global $current_user in my-account/edit address.
Avoid PHP notice for undefined variable.
2013-10-26 16:33:14 +02:00
Scott Basgaard 5676c8d919 Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart. 2013-10-26 16:22:09 +02:00
RistoNiinemets fcaaa129f2 use wooocommerce_locate_template
This allows woocommerce_locate_template filter to work on admin also
2013-10-26 13:32:38 +03:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley a099f3f37c Put back old coupon storage logic so plugins can add amounts later than construct. Also streamlined get/set session data. 2013-10-25 19:28:09 +01:00
Mike Jolley 9416a4c8a2 Merge pull request #4007 from RistoNiinemets/ucfirst
change ucwords to ucfirst
2013-10-25 09:09:18 -07:00
RistoNiinemets a96cb41c83 no dot use ucfirst nor ucwords for method title 2013-10-25 18:44:17 +03:00
Mike Jolley 8356cd301d Merge pull request #4011 from scottbasgaard/master
Round product % price inc/dec in bulk edit. Resolves #4001
2013-10-25 08:14:23 -07:00
Mike Jolley f742a91435 Rejig login form closes #4005 2013-10-25 16:10:13 +01:00
Scott Basgaard 242fc17090 Fix formatting. 2013-10-25 15:38:07 +02:00
Scott Basgaard a85201ae2c Don't forget to round with woocommerce_price_num_decimals option 2013-10-25 15:25:58 +02:00
Scott Basgaard a3a1753c00 Round product % price inc/dec in bulk edit. Resolves #4001 2013-10-25 15:19:03 +02:00
Mike Jolley dee6bba05c Fix get_item_subtotal 2013-10-25 13:25:53 +01:00
Mike Jolley e50067d68e Merge branch 'tax-precision' 2013-10-25 12:15:48 +01:00
RistoNiinemets ae00faecdd change ucwords to ucfirst 2013-10-25 13:53:53 +03:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley af6996866e Rounded report 2013-10-24 19:22:22 +01:00
Mike Jolley 92fa4e379b round tax reports 2013-10-24 16:19:28 +01:00
Mike Jolley 19c3ab7172 calc_tax functions 2013-10-24 16:16:39 +01:00
Mike Jolley 6d32dafa79 debug 2013-10-24 14:55:23 +01:00
Mike Jolley e4ff61f475 You know when you've been benbowed 2013-10-24 14:53:01 +01:00
Mike Jolley 0d8d95e8e6 total calcs 2013-10-24 13:41:42 +01:00
Mike Jolley 51aba21d76 Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes 2013-10-24 13:15:42 +01:00
Scott Basgaard c93a11cff2 In System Status -> Templates make sure to look for template overrides in parent theme as well. 2013-10-24 14:05:13 +02:00
Mike Jolley 90ba359ef9 Uninstall option Closes #3968. Change option for #3992 2013-10-23 17:21:03 +01:00
Mike Jolley 56714e1d62 Merge pull request #3992 from scottbasgaard/master
Add template debug mode option. First pass at #3941
2013-10-23 08:58:30 -07:00
Scott Basgaard 9c9bfe1f4c Add template debug mode option. First pass at #3941 2013-10-23 17:52:58 +02:00
Scott Basgaard 90b503e2c6 Use minified quick-edit.js 2013-10-23 17:36:32 +02:00
Mike Jolley f4d4a42ba7 Merge pull request #3944 from bernardpeh/woocommerce-master
allow other plugins to validate the passwd in the lost passwd page
2013-10-23 08:11:19 -07:00
Mike Jolley 7fb60ccc99 blogname is the actual option, but WP terminolgy in settings is "Site Title".
Closes #3952
2013-10-23 15:57:14 +01:00
Mike Jolley 8ce3b8dd57 Filters for shortcode tags 2013-10-23 14:55:18 +01:00
Mike Jolley 1b1332d278 Static shortcodes. Will allow plugins to add some alias with same methods. 2013-10-23 12:55:40 +01:00
Mike Jolley 22eaf33bfe Filter links + woocommerce_enable_admin_help_tab 2013-10-22 18:20:33 +01:00
Mike Jolley 05d9c0e045 Rename menus, removed woocommerce_ 2013-10-22 17:26:18 +01:00
Mike Jolley 1813c1d6d6 woocommerce_attributes > product_attributes 2013-10-22 16:46:59 +01:00
Mike Jolley 28f8d401d3 Fix term install Closes #3919 2013-10-22 16:34:23 +01:00
Mike Jolley ff928714a2 Keep leading zeros. Closes #3930 2013-10-22 16:28:44 +01:00
Mike Jolley cc46479487 Merge pull request #3973 from helgatheviking/fix/invalid-args-for-implode
cast $tabs['class'] as array
2013-10-22 08:23:56 -07:00
Mike Jolley f22b7feb41 _woocommerce_term_recount 2013-10-22 16:20:40 +01:00
Mike Jolley 1d8d86a2e5 Coupon in admin bar new menu Closes #3974 2013-10-22 13:58:55 +01:00
Kathy Darling cc50c0f3ef cast $tabs['class'] as array 2013-10-21 22:13:52 +02:00
Mike Jolley 67e4f0731e remove_ordering_args from .18 2013-10-21 13:05:34 +01:00
Mike Jolley 4625ba8a22 Merge pull request #3956 from atomworks/master
Fix: Download permissions not granted on order completion.
2013-10-21 04:44:34 -07:00
Mike Jolley 6eff61481f Pass index to woocommerce_save_product_variation 2013-10-21 12:37:27 +01:00
Leonard 24c57f35fd Fix: Download permissions not granted on order completion.
$downloads was being built from a function that tried to read from the permissions table and not from the correct post meta which it actually needed. This resulted in having to manually grant permissions for each order made.

Original symptom was download links not appearing on order completion screen or completion e-mail.
2013-10-19 13:56:57 +01:00
claudiosmweb 995b672c8a refixed the BR postcode validation 2013-10-18 16:06:27 -03:00
claudiosmweb 91193c5dac fixed the BR postcode validation 2013-10-18 16:03:27 -03:00
claudiosmweb 538d776d3f fixed is_postcode method description 2013-10-18 15:58:51 -03:00
claudiosmweb bb2cc2b035 added BR postcode validation 2013-10-18 15:56:36 -03:00
Mike Jolley 1c6e63fe0a CH postcode validation 2013-10-18 19:19:29 +01:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Bernard Peh 943327dcb6 since we are running our own passwd reset facility, we should allow other plugins to validate the password before resetting it. 2013-10-18 12:24:06 +11:00
Mike Jolley f56edb66e4 Unused vars Closes #3937 2013-10-17 15:32:45 +01:00
Mike Jolley d27f8f4848 Wrap messages with WC div so they are styled 2013-10-17 15:29:53 +01:00
Mike Jolley 47df526518 Prepend main WC Session cookie with 'wp' so batcache doesn't cache pages, and set cookie only when cart has contents. #3513 2013-10-17 15:29:53 +01:00
Mike Jolley b49f6fdaac Merge pull request #3940 from scottbasgaard/master
Don't be so generous with this jQuery selector. Fixes #3933
2013-10-17 04:44:09 -07:00
Mike Jolley a112cb1d7d Consistant method names Closes #3901, return doubles instead of number formatted strings. 2013-10-17 12:43:44 +01:00
Scott Basgaard af76647116 [sale_products] has incorrect post_type. Fixes #3934
In 2.1, woocommerce_get_product_ids_on_sale() used 'product1' instead of 'product' for post_type.
2013-10-17 12:48:49 +02:00
Mike Jolley 2cd74e1acf Remove filter fix from .17 2013-10-17 10:48:41 +01:00
Mike Jolley 3ccaae0962 Revert to previous logic, but fix tax total #3924 2013-10-16 18:06:14 +01:00
Mike Jolley 35ec4c9169 Sale products 2013-10-16 17:05:27 +01:00
Mike Jolley c68e93457d #3924 2013-10-16 15:37:24 +01:00
Mike Jolley f24aaf18d0 Merge pull request #3936 from tivnet/master
get_product_subtotal() PHPDoc fix
2013-10-16 06:31:56 -07:00
Mike Jolley 5eafe2065b ake shipping methods check if taxable, so when customer is VAT excempt taxes are not included in price. Closes #3888 2013-10-16 14:31:31 +01:00
Gregory K 5f65586167 get_product_subtotal() PHPDoc fix 2013-10-16 09:29:48 -04:00
Mike Jolley 0fec16516f Merge pull request #3935 from tivnet/master
get_product_price() : PHPDoc fix
2013-10-16 06:14:50 -07:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Gregory K 571500930f get_product_price() : PHPDoc fix 2013-10-16 08:24:46 -04:00
Mike Jolley 9acec8d970 Merge pull request #3918 from scottbasgaard/master
Make sure grouped term exists before using it as an object.
2013-10-16 02:36:35 -07:00
Mike Jolley 44f50cb6cd Code from .17 + readme 2013-10-16 10:28:24 +01:00
Lee Willis 1ab404e0e7 Fix is_order_received_page() 2013-10-15 21:59:29 +01:00
Mike Jolley 0f1a8001cf Use subtotal for free shipping, remove unused min_amount from abstract #3924 2013-10-15 17:19:30 +01:00
Scott Basgaard 380faf0f21 More PHP notice/warnings data validation
Fixes PHP Notice: Undefined offset: X
2013-10-14 21:57:56 +02:00
Scott Basgaard 714cd36428 Make sure grouped term exists before using it as an object.
Fixes Trying to get property of non-object in… PHP notice.
2013-10-14 21:47:32 +02:00
Mike Jolley 58787aa7b8 Terms fix 2013-10-14 20:20:47 +01:00
Mike Jolley dc6574b9e9 Clean the SKU, prevents variations breaking when " was saved
@coenjacobs / me for .15
2013-10-14 11:15:44 +01:00
Mike Jolley cc397a89d5 variable_product_sync should reload prices. Closes #3889 2013-10-11 15:56:13 +01:00
Mike Jolley 85e73c5e53 Typos #3908 2013-10-11 15:30:10 +01:00
Mike Jolley d67c142070 Add data-placeholder Closes #3908. 2013-10-11 15:27:04 +01:00
Mike Jolley 1b0d017bac Context in sorting order Closes #3909 2013-10-11 14:59:52 +01:00
Mike Jolley 4a2988ad35 Usage limit "per coupon". #3902 2013-10-11 13:54:53 +01:00
Mike Jolley 6fd823dabd get_children should get published products only for grouped products. Closes #3880.
@coenjacobs This should go in .15
2013-10-11 13:25:34 +01:00
Mike Jolley 708423b96f Notices/undefined vars Closes #3911. 2013-10-11 12:31:36 +01:00
Mike Jolley 80dc0416f0 Merge pull request #3907 from ragulka/estonian-translation
Add Estonian translation
2013-10-11 04:29:00 -07:00
Andrew Benbow e4d18d6f57 Update abstract-wc-payment-gateway.php
Update icon alt to use title filter
2013-10-11 10:17:23 +01:00
Mike Jolley b0f3c0336a Merge pull request #3905 from tivnet/master
Allow numeric SKUs when searching in admin
2013-10-10 10:16:46 -07:00
Mike Jolley 6646b7817b Styling and removed un-used script. #3897 2013-10-10 18:16:06 +01:00
Gregory K 02196b6c18 Allow numeric SKUs when searching in admin 2013-10-10 11:56:39 -04:00
Mike Jolley 0c53bfd842 Merge pull request #3897 from BFTrick/add-system-status-copy-and-paste
Add System Status Copy Button
2013-10-10 08:47:47 -07:00
Mike Jolley e179b2f675 Merge pull request #3896 from pronamic/fix/navMenuItems
array_search returns false when not found.
2013-10-10 08:45:36 -07:00
Mike Jolley 419b7a4e79 Merge pull request #3890 from tivnet/master
class-wc-checkout.php : PHPDoc fixes
2013-10-10 08:44:57 -07:00
Mike Jolley 8f87828a78 Merge pull request #3904 from bernardpeh/woocommerce-master
update_status function in class-wc-order.php will cause undesirable post insertion if we don't check if the order id exist
2013-10-10 08:43:34 -07:00
Mike Jolley ece95e25ce When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Bernard Peh ad298f9007 need $this->id check in the update_status function to prevent an empty WC_Order object from calling it. If $this->id doesn't exists, update_status will insert another row in wp_posts because line 1226: wp_update_post(array('ID' => $this->id)) triggers it. 2013-10-10 20:52:36 +11:00