Commit Graph

482 Commits

Author SHA1 Message Date
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
Patrick Rauland 99fb5315eb adding system status report copy text area 2013-10-08 01:02:33 +02:00
Illimar Tambek 2536fbc5e1 Merge branch 'master' into estonian-translation 2013-10-07 20:40:20 +03:00
Leon Rowland 5b018966db array_search returns false when not found. This causes the first CSS class in the $classes array to be removed ( twice ). This was inadvertently removing some of the custom classes defined in the Menu Builder of WordPress. 2013-10-07 15:47:39 +02:00
Gregory K da19fed52b class-wc-checkout.php : PHPDoc fixes 2013-10-06 00:44:04 -04:00
Patrick Rauland f70ac9ce5a adding copy report button 2013-10-06 00:22:55 +02:00
Mike Jolley eaee8e9cf1 Merge pull request #3886 from tivnet/master
get_meta_query() - PHPDoc fix
2013-10-04 15:05:30 -07:00
Mike Jolley 40c85ec09a Merge pull request #3881 from Gator92/tax_totals
Add tax_rate_id to objects returned from cart->tax_totals
2013-10-04 15:04:05 -07:00
Gregory K 9a1c571cbc get_meta_query() - PHPDoc fix 2013-10-04 12:48:50 -04:00
Mike Jolley 9361ef3120 more hooks closes #3860 2013-10-04 16:58:00 +02:00
Mike Jolley 633ead9390 woocommerce_checkout_update_customer_meta hook Closes #3860 2013-10-04 16:40:03 +02:00
Mike Jolley adaa666c92 Merge pull request #3875 from ragulka/has-shipping-method
Add has_shipping_method() convenience function
2013-10-04 07:32:46 -07:00
Mike Jolley a490f62179 Use correct label for tax classes. Closes #3885. 2013-10-04 16:21:06 +02:00
Mike Jolley f81203fc76 Fix tax rate saving #3884 2013-10-04 16:17:18 +02:00
Mike Jolley 4204b25879 Remove accents from taxonomy names + run through filter Closes #3832 2013-10-04 16:10:49 +02:00
Mike Jolley cabddc4e9f Maintain line breaks. Closes #3882 2013-10-04 14:31:43 +02:00
Mike Jolley b7a752ecc1 find_product_in_cart tweak Closes #3863 2013-10-04 12:30:07 +01:00
Mike Jolley 1b91c75039 Tweak add to cart message. Closes #3876. 2013-10-04 12:26:11 +01:00
Mike Jolley 8f196130ff Don't show view cart message on cart page. Closes #3877 2013-10-04 12:21:28 +01:00
Schuyler Langdon 7f71fae0a3 Add tax_rate_id to the tax total objects returned from the cart tax_totals method 2013-10-03 21:48:47 -04:00
Illimar Tambek bf6cb38445 Fix has_shpping_method function 2013-10-03 18:02:26 +03:00
Illimar Tambek 7cf58f920c Add method to check whether an order has a shipping method or not 2013-10-03 17:59:08 +03:00
Mike Jolley 718093650f Save fees 2013-10-02 12:58:26 +01:00
Mike Jolley 66c04b0f72 Check values are set before casting as floats 2013-10-02 12:50:03 +01:00
Mike Jolley 47e18b1a13 Print JS after print scripts (at 20) Closes #3865. 2013-10-02 11:09:30 +01:00
Gregory K b923eef097 Allow entering sale price as blank string and not convert it to numeric '0' - to avoid "fake" sales events. 2013-10-01 23:21:12 -04:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00