Commit Graph

5742 Commits

Author SHA1 Message Date
Claudio Sanches d6dbb4aec2 Added "Hide empty categories" option on Product Category Widget
Closes #9441
2015-10-27 14:10:32 -02:00
Claudio Sanches 454ffa4677 [2.4] Fixed bulk edit sale_price when empty
This avoid sale_price saved as "0" and update correct update _price
field, related issue: #8076

Closes #9437
2015-10-27 11:27:31 -02:00
Shohei Tanaka 94dc4e310b Customer Name in admin Order list
In Japan we want to use full name order in admin order list.
2015-10-27 06:37:04 +09:00
Claudio Sanches cf6fb76741 Created function to disable author archives for customers
cc @mikejolley
2015-10-26 15:38:44 -02:00
Mike Jolley 59dc92e113 Merge pull request #9417 from woothemes/9381-help-tip-icon-font
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Claudio Sanches 4f9e4a87e8 Updated Simplify Commerce lib to version 1.2.0, closes #9420 2015-10-26 11:27:14 -02:00
Claudio Sanches 154dac6d14 [2.4] [API] Fixed attributes save when using non-latin letters
Changed sanitize_title() to wc_sanitize_term_text_based() since
wp_set_object_terms() is creating wrong terms

Closes #9421
2015-10-23 14:38:37 -02:00
Claudio Sanches e91e0a9f5e Changed <i> to <span> in wc_help_tip()
<span> is more semantically correct
2015-10-23 13:17:35 -02:00
Claudio Sanches b85ae9056c Rename wc_add_help_tip() function to wc_help_tip() 2015-10-23 13:09:08 -02:00
Mike Jolley 705fbef31a [2.4] Default selections fix for methods with multiple rates 2015-10-23 13:49:27 +01:00
Mike Jolley 79010b634f Cast grouped product children to int
Avoids invalid or empty data and fixes #9416
2015-10-23 12:52:52 +01:00
Mike Jolley 8279db6679 If redirection to setup wizard does not occur, do not redirect at all 2015-10-23 12:24:04 +01:00
Mike Jolley 12fe4e7a52 Use delimiter in hashing function 2015-10-23 12:02:29 +01:00
Mike Jolley b81fc128ac Use hash_equals when comparing hashes
PHP 5.6+ but WP has a fallback inside.
2015-10-23 12:00:56 +01:00
Claudio Sanches 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches c1b46113bc [2.4] Make "Not right now" button on Setup Wizard go to the WP dashboard
closes #9392
2015-10-22 18:17:14 -02:00
Claudio Sanches bfe98a283c [2.4] [API] Fixed editing product variations
Fixed general variations edition and make sync again variations when just
edit a variable product and don't send any 'variations' data

closes #9406
2015-10-22 17:19:16 -02:00
Mike Jolley d363e810d8 Default to first found gateway
Closes #9378
2015-10-22 16:39:15 +01:00
Mike Jolley b3a3a998bb Add trailing slash in get_page_uris to reduce likelihood of conflicts
Fixes #9386
2015-10-22 16:33:05 +01:00
Mike Jolley 63947376db Merge pull request #9336 from woothemes/issue/9268-get-coupon-id-from-code-caching
Cache coupon id from code lookup in a transient.
2015-10-22 09:19:37 -06:00
Mike Jolley 2a651ce64b Merge pull request #9332 from Biont/master
WC_AJAX::calc_line_taxes - Provide a filter after tax calculations are done
2015-10-22 09:17:57 -06:00
Mike Jolley 08365f4145 Merge pull request #9333 from roykho/onboard
[onboard wizard] Remove required attribute from currency_code form el…
2015-10-22 09:03:48 -06:00
Mike Jolley d46e57d9d6 Merge pull request #9318 from woothemes/issue/8458-refactor-verified-purchase-review-meta
Refactor "verified owner" logic to reduce queries and transients.
2015-10-22 09:00:38 -06:00
Mike Jolley 509d59df3d Merge pull request #9391 from krautnerds/fix-login-with-mail-and-whitespace
Fixed login form handling for whitespaces before/after mail address
2015-10-22 07:23:43 -06:00
Mike Jolley db1ecae936 Merge pull request #9405 from javorszky/issue_9404
Shipping calculation results no longer bleed over
2015-10-22 06:57:45 -06:00
Mike Jolley 97e28d7f49 Added wc_checkout_is_https() function helper and added to simplify class
Closes #9408
2015-10-22 12:30:30 +01:00
Mike Jolley 4dbfe1551c Settings API - don't save title fields
Closes #9401
2015-10-22 11:27:39 +01:00
Gabor Javorszky 852ab311e0 Shipping calculation results no longer bleed over
Fixes #9404

Before we decide whether to just return from shipping calculation or
actually calculate it, let's null the values.

Reason for this and not `reset` is because reset also wiped the chosen
shipping method, which might have unintended consequences.

Please test this extensively. You know WooCommerce a lot better than I
do, and I'd like to avoid side effects.
2015-10-21 21:35:58 +01:00
Jeff Stieler d73ef76568 Remove generation of review verification comment meta from 2.5 upgrade routine. 2015-10-20 22:05:17 -06:00
Jeff Stieler 58ec17f76d Use new review verification status retrieval method on single review template and in APIs. 2015-10-20 22:05:17 -06:00
Jeff Stieler 1b370bb64a Helper method to retrieve review verification status from comment meta, generating it on the fly for existing reviews. 2015-10-20 22:05:17 -06:00
Jeff Stieler e9bfa2553c Return verification status in WC_Comments::add_comment_purchase_verification(). 2015-10-20 22:03:30 -06:00
Jeff Stieler a34d58c18f Backfill existing reviews with “verified” comment meta on update to 2.5. 2015-10-20 22:03:29 -06:00
Jeff Stieler 95fe3d47c2 Use review comment meta for verification status in API calls and WP-CLI. 2015-10-20 22:03:29 -06:00
Jeff Stieler 71cfde70c9 Mark a comment as “verified” if the customer leaving it has purchased the product they’re reviewing. 2015-10-20 22:03:29 -06:00
Jeff Stieler 80628e9f97 Store all purchased product ids for a given customer in a single transient. 2015-10-20 22:03:29 -06:00
Jeff Stieler 883170e261 Cache coupon id from code lookup in a transient. 2015-10-20 21:42:46 -06:00
Florian Ludwig b549c73dea Fixed bug where customer couldn't log in because of whitespace after mail address 2015-10-20 21:20:50 +02:00
Claudio Sanches 1ea5b8433f Escape normalized for the woocommerce_variation_option_name filter 2015-10-18 10:42:44 -06:00
Ewout Fernhout ab85ebfbc4 check if product exists
fixes #9363
2015-10-15 09:43:53 +02:00
Mike Jolley da8cae596b Simplify cart shipping template + text
Also prevents calculate shipping showing multiple times when multiple
packages are present.

@jameskoster @claudiosmweb
2015-10-13 15:41:21 -06:00
Claudio Sanches 5372579546 Fixed the hook name for #9290
cc @jeffstieler
2015-10-13 15:13:31 -06:00
Claudio Sanches 5c6206e511 [2.4] Fixed WC_API_Orders::set_line_item() for v2 #9338 2015-10-11 11:34:34 -03:00
Claudio Sanches 5465cdadb1 [2.4] Fixed WC_API_Orders::set_line_item(), closes #9338 2015-10-11 11:32:56 -03:00
Claudio Sanches f6526d72a7 [API] Allow get variable products by sku, closes #9330 2015-10-09 16:43:12 -03:00
Claudio Sanches eedff144e7 Created assets/js/frontend/password-strength-meter.js #9319 2015-10-09 13:31:47 -03:00
Claudio Sanches 0248ebdac7 Better password-strength-meter load #9319 2015-10-09 11:22:31 -03:00
Claudio Sanches c4bd6b25c1 Merge pull request #9319 from nishitlangaliya/Issue-8938
Issue 8938
2015-10-09 11:12:56 -03:00
roykho 27db35dd12 [onboard wizard] Remove required attribute from currency_code form element so it is not required 2015-10-09 07:01:49 -07:00
Biont bf4c5b1d91 Provide a filter after tax calculations are done #9313 2015-10-09 15:46:23 +02:00