Commit Graph

5702 Commits

Author SHA1 Message Date
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
Mike Jolley 6027b355ca Further get_variation_prices tweaks
For 2.5, I’ve adjusted the caching to store 1 transient per variable
product. The cache key etc is still needed, but its stored within a
single transient instead of several.

This should prevent exponential growth of transient data for users.

Thoughts?

@daigo75 @franticpsyx @claudiosmweb
2015-10-09 12:49:39 +01:00
Mike Jolley 68cb6b11ee Removed welcome page
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley 919f19b698 Remove transifex references 2015-10-09 11:31:42 +01:00
Mike Jolley b913555d54 Change customer role caps
Fixes #9309. @claudiosmweb
2015-10-09 11:00:25 +01:00
Mike Jolley 4399a3b48a Allow wc_clean to support arrays
Closes #9329 @claudiosmweb
2015-10-09 10:41:51 +01:00
nishitlangaliya f468f16e29 fixes: changes as per suggestion given by claudiosmweb ref #8938 2015-10-09 13:25:47 +05:30
Shiva Poudel 3763c416a9 Docblock for related products 2015-10-09 07:38:15 +05:45
Claudio Sanches 59303a1709 Merge pull request #9308 from woothemes/api-tax-endpoint
[API] Tax endpoint
2015-10-08 18:49:43 -03:00
Claudio Sanches 15e79820aa [API] Better naming for returned data on the taxes endpoint 2015-10-08 18:49:05 -03:00
Claudio Sanches e84fa58e35 [API] Created taxes bulk method 2015-10-08 18:44:26 -03:00
Claudio Sanches 860d292f4f [API] Added method to edit tax rates 2015-10-08 18:34:47 -03:00
Claudio Sanches 1a3b5f3a6f [API] Fixed the tax_rate key 2015-10-08 18:01:38 -03:00
Claudio Sanches 3200a1dc0c Removed error_log() 2015-10-08 17:35:34 -03:00
Claudio Sanches 6d485a2fed [API] Created woocommerce_api_create_tax_rate_data filter 2015-10-08 17:35:00 -03:00
Claudio Sanches 52bdc2c3a5 [API] Changed returned data name from tax to tax_rate 2015-10-08 17:34:39 -03:00
Claudio Sanches 47c3ba9d21 Created WC_Tax::_get_tax_rate() method 2015-10-08 17:24:37 -03:00
Claudio Sanches 1cded0e1a3 [API] Added method to create tax rates 2015-10-08 17:15:00 -03:00
nishitlangaliya a45ef9f814 fixes: done changes using dom operation. ref #8938 2015-10-08 20:14:53 +05:30
Mike Jolley dda0f0c2bd Check for existence of global attribute when you get_attributes() for a product
Fixes #9141
2015-10-08 13:55:01 +01:00
Claudio Sanches befda55262 Removed test 2015-10-08 09:40:20 -03:00
Mike Jolley d5409f5b5e Merge conflicts 2015-10-08 13:28:25 +01:00
Mike Jolley 0197a99065 Merge branch 'issue/8587'
Conflicts:
	assets/css/admin.css
	assets/css/woocommerce.css
	includes/admin/class-wc-admin-assets.php
	includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley 8ee479afd7 Remove unused input 2015-10-08 13:25:01 +01:00
Mike Jolley ac02ec290a Improved styling and wording 2015-10-08 13:18:00 +01:00
Mike Jolley 81b4d5535d Merge pull request #9315 from wtom/validate_postcode_de
german postcode validation
2015-10-08 11:56:34 +01:00
Shiva Poudel af7b603690 Added new woocommerce_sessions table in system status 2015-10-08 16:26:16 +05:45
wtom 7368377e8d german postcode validation 2015-10-08 12:20:57 +02:00
Claudio Sanches 1081c2cbe6 [API] Added method to create tax classes 2015-10-07 22:52:45 -03:00
Claudio Sanches d4c1c4cca4 [API] Added endpoint to get total of tax classes 2015-10-07 22:35:34 -03:00
Claudio Sanches ef00fe5b2f [API] Added method for delete tax classes 2015-10-07 22:27:42 -03:00
Claudio Sanches 6cd57e2611 [API] Added method to delete tax rates 2015-10-07 22:10:33 -03:00
Claudio Sanches 34ef764477 [API] Included standard rate in get tax classes response 2015-10-07 19:12:31 -03:00
Claudio Sanches 4f45b04722 [API] Added endpoint to get taxes count 2015-10-07 19:07:45 -03:00
Claudio Sanches 40b210a144 [API] Get taxes method 2015-10-07 19:00:36 -03:00
Claudio Sanches e3d57ab70c [API] Created method to get tax rate by ID 2015-10-07 17:44:04 -03:00
Claudio Sanches 16b9f22706 [API] Created method to return tax classes 2015-10-07 17:02:06 -03:00
Claudio Sanches 07836ae277 [API] Include taxes endpoint 2015-10-07 16:37:53 -03:00
Claudio Sanches 1168adf8af [API] Created initial WC_API_Taxes class 2015-10-07 11:42:25 -03:00
Claudio Sanches 1889c66061 Fixed coding standards 2015-10-07 10:58:13 -03:00
Mike Jolley b27635409c New Session Handler
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846.

Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476)
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load

Kudos to @kloon for the bulk of the work and testing on Woo.com.

cc @claudiosmweb
2015-10-07 14:47:29 +01:00