Commit Graph

1469 Commits

Author SHA1 Message Date
Gerhard 97ad6e0cda Fix for 0 sale price not returning true in is_on_sale 2013-05-08 12:59:48 +02:00
Mike Jolley 742cd3ae36 Have the remove_taxes() method set subtotal to subtotal_ex_tax 2013-05-07 12:56:59 +01:00
Vivek Gounder 00ece2649e Updated the return doc block with a brief explanation of the return type. 2013-05-07 16:36:11 +05:30
Coen Jacobs 00cbde04e5 PayPal button should use 'button' and 'alt' classes. Closes #3096 2013-05-07 13:02:45 +02:00
Vivek Gounder b4b94e0535 Updated the correct doc block for return type 2013-05-07 15:17:34 +05:30
Gerhard 38d892b14e esc_js translatable strings to avoid js breaking on quote chars 2013-05-06 15:17:04 +02:00
Coen Jacobs 656c897448 Merge pull request #2828 from thenbrent/formatted_product_name
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Coen Jacobs b1f3af5118 Removed ShareYourCart integration from core. Closes #2937 2013-05-02 13:38:00 +02:00
Mike Jolley ade1fd1555 Move click tracking code so it doesn't need a loop. Closes #3058 2013-05-01 14:39:51 +01:00
Mike Jolley f07df1aa39 Remove loader and change zindex Closes #3057 2013-05-01 13:35:48 +01:00
Mike Jolley 72de000465 Ensure get checkout URL forces SSL. Closes #3029. 2013-04-29 16:30:17 +01:00
Mike Jolley 9888ca85a0 Pass order number closes #3038 2013-04-29 15:22:33 +01:00
Mike Jolley cf3dac908e Merge pull request #3025 from crowdfavorite/patch-download-name-multiple-file-filter
Updated to patch "woocommerce_downloadable_product_name" filter
2013-04-29 06:51:25 -07:00
Benjamin Rojas c755f6e7a6 Change log: Fixes possible race condition between setting page to public and starting the slurp 2013-04-26 11:36:55 -07:00
Benjamin Rojas 15b51f89be updated mijireh integration to work with page slurp updates
- no longer passing the HTML
- passing the page id for api notification
- catching the end of slurp notification to reset slurped page to private
2013-04-25 11:10:24 -07:00
Mike Jolley 9bc06824be default shipping method if the count of methods changes 2013-04-25 16:18:27 +01:00
Steven Mathias 862615903e Updated to remove commented code. 2013-04-24 13:27:39 -06:00
Steven Mathias 7810e367f2 Updated to patch "woocommerce_downloadable_product_name" filter condition when attempting to filter previous title. Now provides previous context instead of current. 2013-04-24 13:24:53 -06:00
Mike Jolley 962caf204d Disable autocomplete for checkout fields which refresh totals - no events get fired on autocomplete. Closes #3022 2013-04-24 13:20:27 +01:00
Mike Jolley bda48fc19e Merge pull request #3017 from lucasstark/patch-6
Update class-wc-order.php
2013-04-23 08:43:04 -07:00
Mike Jolley f1ba90826e Notification is checkout is mis-cofigured. Closes #2995. 2013-04-23 16:42:38 +01:00
Lucas Stark 8cd58c5d82 Update class-wc-order.php
Add filter to get_product_from_item
2013-04-23 12:38:48 -03:00
Mike Jolley 009712f635 var_dump removal 2013-04-17 16:53:25 +01:00
Mike Jolley 77aa394093 Prevent empty meta queries by filtering. Closes #2978. 2013-04-17 16:29:43 +01:00
Mike Jolley 8d2c2b5368 Missing textdomains 2013-04-17 16:03:27 +01:00
Mike Jolley f3be90b9b5 Order item meta - skip serialized fields. Closes #2962. 2013-04-16 15:50:09 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley c5ef95e521 filter allowed countries/states 2013-04-16 13:55:20 +01:00
Mike Jolley 65be3c67d8 Fix undefined found shipping classes. Closes #2974. 2013-04-16 13:02:26 +01:00
Coen Jacobs 0ad75a6d44 Revert "Update class-wc-gateway-bacs.php"
This reverts commit cc8e4960fe.
2013-04-16 11:58:03 +02:00
Andrew Benbow cc8e4960fe Update class-wc-gateway-bacs.php
Make bank detail labels filterable in BACS admin
2013-04-16 10:48:24 +02:00
Mike Jolley 0ab360db02 Updated ShareYourCart SDK 2013-04-15 12:30:49 +01:00
Mike Jolley e8cdc6f5e1 Merge pull request #2959 from kloon/master
Related Products Shortcode
2013-04-15 04:11:20 -07:00
Gerhard cc2c7b2ac1 Local Pickup: Apply country rule also when no postal codes supplied 2013-04-15 13:10:12 +02:00
Mike Jolley 6924817c22 City field on shipping calc 2013-04-15 11:35:31 +01:00
Gerhard d22590d7a5 Related Products shortcode - usefull for displaying related products in tabs. 2013-04-15 09:36:30 +02:00
Mike Jolley 55b01245cd Don't round Closes #2861. 2013-04-12 10:59:38 +01:00
Mike Jolley d012ab1a52 Sanitize coupon code names before checking/applying. Closes #2934. 2013-04-12 09:59:33 +01:00
Mike Jolley 85f357b375 Fix email subjects Closes #2944 2013-04-12 09:33:00 +01:00
Brent Shepherd a736cb90a3 Show accurate log name for PayPal 2013-04-12 12:01:19 +10:00
Mike Jolley f73c1f51c6 Allow extra flat rate options even if main rate is 0. Closes #2918. 2013-04-11 16:50:05 +01:00
Mike Jolley e64d152483 Option to set domain closes #2923 2013-04-11 16:32:39 +01:00
Mike Jolley 31b497a33e Cache helpers + notice for w3tc users 2013-04-09 10:38:40 +01:00
Mike Jolley 41b192326d Added autoload back - can't autoload all sessions at once 2013-04-09 09:40:23 +01:00
Mike Jolley de3cce85dc Merge pull request #2895 from claudiosmweb/address_filters
Added new filters to format the address
2013-04-08 12:35:33 -07:00
Mike Jolley f930ab27b6 More validation fixes. #2903. 2013-04-08 19:35:10 +01:00
Mike Jolley 91e1622b91 Ensure array has values Closes #2900. 2013-04-08 19:02:51 +01:00
Mike Jolley 9977031a5d Nonces cannot be used on all pages with cache - removed them for add to cart actions + fixed caching for hiding the cart 2013-04-08 18:43:07 +01:00
Mike Jolley 10ff7d3abd Merge pull request #2891 from andreibarabas/master
show button on checkout page
2013-04-08 03:52:36 -07:00
claudiosmweb 2aa712ef4a added filters to format the address 2013-04-07 05:31:21 -03:00
claudiosmweb 554381866b added $args in woocommerce_formatted_address_replacements filter 2013-04-07 05:30:02 -03:00
Andrei Barabas a33513bd0c show button on checkout 2013-04-06 15:36:33 +03:00
Mike Jolley fa91ef80d4 Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
Now works with all caching enabled in W3 Total cache. Closes #2862.

cc @coenjacobs
2013-04-05 22:24:56 +01:00
Ken Bass 2236ec499d Fix whitespace 2013-04-04 13:07:54 -04:00
Ken Bass 9710777242 Switch download_url to non-SSL 2013-04-04 13:03:59 -04:00
Mike Jolley 425002cb5c Typo 2013-04-04 17:22:06 +01:00
Mike Jolley 46139143e2 Revert "Don't need to do this for all options. #2866."
This reverts commit 07917223fd.
2013-04-04 17:21:03 +01:00
Mike Jolley 07917223fd Don't need to do this for all options. #2866. 2013-04-04 17:19:31 +01:00
Mike Jolley 3401fb32b0 Merge pull request #2866 from reinoudvansanten/master
Patch for #2865
2013-04-04 09:17:54 -07:00
Mike Jolley 9f510bb7e0 Check price is set when syncing prices for variations 2013-04-04 10:11:12 +01:00
Reinoud van Santen b90bd6a1e0 Issue #2865 Localize email settings
Change the behaviour of the get_option function so that it attempts to
localize the value for setting that is returned by the parent's
get_option by using gettext.
2013-04-03 19:36:48 +02:00
Patrick Garman e6f3c99974 Remove hard coded max from random products widget. 2013-04-03 10:25:36 -05:00
Mike Jolley 4cef348370 subtotal rounding tweak 2013-03-28 17:08:33 +00:00
Mike Jolley 6079c8f0e3 Settings API empty value only used if set. In turn fixes blank values in flat rate shipping. 2013-03-28 15:27:14 +00:00
Mike Jolley 042af6051f Recent reviews show actual review stars, and allowed get_rating_html() to be passed a rating. Also removed unused $location var. Closes #2838. 2013-03-28 13:58:01 +00:00
Mike Jolley 02beffda1f Sandbox fix. #2833 2013-03-27 22:39:55 +00:00
Mike Jolley c752ba4a9f Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes. #2815 2013-03-27 18:21:06 +00:00
Mike Jolley 0609080802 find_rates() fixes. GROUP BY after ORDER BY, and use sub queries so we can match both cities and postcodes (not OR) 2013-03-27 14:32:36 +00:00
Brent Shepherd 854a9eccad Update phpdoc 2013-03-27 18:06:59 +10:00
Brent Shepherd 4bd4698991 Add WC_Product_Variation::get_formatted_name()
For #2788
2013-03-27 18:00:35 +10:00
Brent Shepherd 022d0a6480 Add WC_Product::get_formatted_name()
For #2788
2013-03-27 18:00:28 +10:00
Lucas M Pereira 89b42253d5 Issue #2826 - PayPal Payment Data not stored
PP Payment Details aren't being stored on posts meta table, because of a probably misstyped
variable on class-wc-gateway-paypal.php, in the function successful_request (Lines 658 to 666).

Replaced $order_id (non existent variable) by $order->id to correct the issue.
2013-03-26 17:48:24 -03:00
Mike Jolley dd497f829c Update status modifed time. Closes #2790. 2013-03-25 14:56:17 +00:00
Mike Jolley 497d565d95 Pass subtotals and discount to avoid rounding issues in paypal Closes #2806. 2013-03-25 14:46:15 +00:00
Mike Jolley 2a7500f64f Merge pull request #2808 from warrenlee/coupon-bug-fix
coupon message set invalid if null
2013-03-25 07:23:12 -07:00
Mike Jolley 39d60c9dd8 Merge pull request #2799 from maxrice/master
Fix WC_Product::set_stock_status() to correctly set status
2013-03-25 07:02:23 -07:00
Mike Jolley a402c5cbff Merge pull request #2805 from andreibarabas/master
Improve Merge #2767
2013-03-25 07:00:44 -07:00
Mike Jolley c9b6b4a302 Refresh totals on field change, and format tax price if numeric. 2013-03-25 11:41:43 +00:00
Andrew Benbow 218a5eed1c Update class-wc-checkout.php
Change password confirmation label and placeholder
2013-03-25 11:38:24 +00:00
Warren Lee 4a77204aff coupon message set invalid if null 2013-03-25 11:50:17 +08:00
Andrei Barabas 8694ebfcdc coding standards 2013-03-24 21:16:22 +02:00
Andrei Barabas 6c865508c9 removed legacy code 2013-03-24 21:13:24 +02:00
Max Rice 3ce99ba71e Fix WC_Product::set_stock_status() to correctly set status 2013-03-23 14:36:23 -04:00
Mike Jolley 95a86f15eb Some code standards work for #2767 2013-03-22 18:29:36 +00:00
Mike Jolley c8cb35c544 Merge pull request #2767 from andreibarabas/master
Improved ShareYourCart compatibility with WooCommerce 2.x
2013-03-22 11:08:51 -07:00
Mike Jolley ccfd4c2164 Merge pull request #2784 from leewillis77/issue_2783
Order bestselling products correctly, order term should be numerically s...
2013-03-22 11:06:54 -07:00
Mike Jolley ca4e353c3f Merge pull request #2753 from bradyvercher/patch-1
Fix Mijireh checkout typo.
2013-03-22 10:59:52 -07:00
Mike Jolley 6443710db5 Fix title ordering 2013-03-22 17:06:49 +00:00
Lee Willis 4aa2c898e4 Order bestselling products correctly, order term should be numerically sorted, not alphabetically. Props mulinski 2013-03-21 19:56:21 +00:00
Andrei Barabas 09b9e555d6 added support for woocommerce 2.x 2013-03-20 13:23:35 +02:00
Mike Jolley dc989bb2e9 Portugal missing state setting 2013-03-19 21:33:01 +00:00
Brady Vercher 5ea4bd3ac4 Fix Mijireh checkout typo. 2013-03-18 11:09:08 -07: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 75a874ea7a Decode Closes #2728. 2013-03-18 13:37:07 +00:00
Mike Jolley 559ef34005 Tweaked default locale to include all fields so that checkout fields can fallback if specific properties are not set e.g. required. Closes #2681. 2013-03-18 12:02:36 +00:00
Mike Jolley 0addd13625 Merge pull request #2719 from maxrice/payment-complete-changes
Add filter to control order stock reduction when payment is complete
2013-03-18 03:20:51 -07:00
Mike Jolley 95d3353ec9 Tax label vs name in order emails. 2013-03-18 09:58:43 +00:00
Mike Jolley 4825db857a Merge pull request #2748 from justinstern/master
Product Variations Order Again Bug Fix and Stock Quantity Filters
2013-03-18 02:58:11 -07:00
Mike Jolley d59692625c Merge pull request #2733 from leewillis77/layered_nav_html_encoding
Encode URLs in layered nav widget
2013-03-18 02:47:09 -07:00