Commit Graph

1765 Commits

Author SHA1 Message Date
Mike Jolley 09ea4ba91f [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback
2016-11-09 16:10:37 +00:00
Mike Jolley ed46abf3a3 [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback
2016-11-09 12:26:46 +00:00
Mike Jolley 32e814eef1 Use all paid statuses in $customer->get_total_spent() 2016-11-03 11:27:03 +00:00
Mike Jolley cfbb8d6601 Use meta as a cache for order/spent methods.
Closes #12080
2016-10-14 15:11:10 +01:00
James Koster 3823b78318 Add/product galleries (#11665)
* register prettyPhoto but don't enqueue. #10721

* Remove lightbox option. #10721

Also registers the prettyPhoto styles instead of enqueueing

* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721

* Add flexslider assets #10721

* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721.

* Add zoom functionality. #10721

* Move js to single-product.js. #10721

* styling of the gallery thumbnails when using the `product_page` shortcode. #10721

* Only enable the zoom if the image is large enough. #10721

* Use a 4 column layout by default. #10721

* Make the carousel options filterable. #10721

* rtl styles for gallery. #10721

* Don't zoom on handheld devices. #10721

* markup tweaks in prep for photoswipe

* disable zoom for now

* Add and enqueue photoswipe assets

* add the photoswipe template

* initialise photoswipe - it's alive!

* tidy up js. add title. add separate trigger. #10721

* Move photoswipe functions to single-product.js. #10721

* reactivate the zoom! #10721

* style the photoswipe trigger. #10721

* disable flexslider animation loop. #10721

* js tidy up. #10721

* Fix jshint

* Abstract the product gallery scripts

* Minify

* Fixed conflict with the admin bar

* Photoswipe conflict with admin bar

* Index. #10721

* photoswipe button styles. #10721

* Styling. #10721

* No animation on zoom
* Image width on mobile

* No shadows please. #10721

Looking at you, Twenty Twelve.

* code tidy and add class to placeholder figure. #10721

* simplify rtl query

* photoswipe button styles

* Comma should not be here

* zoom icon #10721

* gallery thumb styles. #10721

* trigger icon. #10721

* Image margins. #10721

* icon hover states. #10721

* Variation handling

* Fix zoom and heights

* Resize after timeout
2016-10-13 15:25:42 +01:00
Mike Jolley 705dc18991 Merge branch 'pr/12064' 2016-10-12 11:54:40 +01:00
Mike Jolley a7e531e26d Made wc_get_wildcard_postcodes return the orignal postcode plus * since wildcards should match empty strings too.
Fixes #12016
2016-10-12 11:52:39 +01:00
Mike Jolley 0829200299 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	includes/admin/class-wc-admin-help.php
2016-10-12 11:18:27 +01:00
Rami Yushuvaev eae583fc3c Update wp.org plugin directory links 2016-10-12 11:16:58 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Mike Jolley 3b07b4fc7b Readme 2016-10-11 12:49:00 +01:00
Mike Jolley eac309247a Readme 2016-10-08 12:47:29 +01:00
Jonathan Belcher 45739697e0
Change Add-ons to Extensions within the admin 2016-10-05 14:25:28 -04:00
Claudio Sanches 1230be795e Fixed REST API docs, codeclimate and coveralls URLs 2016-09-28 09:09:06 -03:00
Matty ae75f8b8cd Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'. 2016-09-28 12:17:40 +02:00
Mike Jolley 4ea396aab1 When deleting a tax rate class, remove its rates
Closes #11759
2016-08-25 15:58:30 +01:00
Mike Jolley 921f7e3fb7 Readme 2016-08-25 10:58:11 +01:00
Mike Jolley 747c48c13b Sort by rating with meta
Closes #11711
2016-08-18 11:33:19 +01:00
Claudio Sanches 7b44b8954e Removed confuse min WP requirement 2016-08-16 17:56:26 -03:00
Mike Jolley 77edd79eef Tested up to 4.6 2016-08-15 17:44:37 +01:00
Matty bbd003aa97 Updates the server requirements in the readme.txt file, and links to the server requirements document on the WooCommerce documentation website. 2016-08-12 10:34:14 +02:00
Mike Jolley cfe28c9b25 Made WC_Logger pluggable via wc_get_logger function.
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley 63fb1304fd Readme 2016-08-05 15:07:14 +01:00
Mike Jolley fea9a3bce8 Merge pull request #11615 from woothemes/variable-weight-display-10621
Show variable weights/dimensions even when parent values are not set.
2016-08-04 11:12:30 +01:00
Caleb Burks e02d4b91ff Readme update
For forum support stuffs
2016-08-04 03:33:43 -04:00
Mike Jolley 5a9dacd595 Show variable weights/dimensions even when parent values are not set. 2016-08-03 16:07:34 +01:00
Mike Jolley ffb74a7b09 Add user to site on login
Closes #11409
2016-08-02 18:28:31 +01:00
Mike Jolley bdd6f1baad readme 2016-08-01 11:52:42 +01:00
Mike Jolley d2adabaf89 Redirect to login after password reset.
Closes #11376
2016-07-27 12:47:41 +01:00
Mike Jolley 479708c78a Readme 2016-07-26 13:37:56 +01:00
Mike Jolley 08941d41b2 Check is_singular when looking for shortcode content
Closes #11489
2016-07-21 13:17:35 +01:00
Mike Jolley 1ba402aa4f Readme 2016-07-20 13:37:17 +01:00
Mike Jolley fce7771d82 Fix - Shipping method title display in COD settings. 2016-07-20 10:49:27 +01:00
Mike Jolley e493ff5693 readme 2016-07-19 19:34:23 +01:00
Mike Jolley 69c203b170 Readme 2016-07-19 19:09:33 +01:00
Mike Jolley ea69a1ace8 Readme 2016-07-19 18:08:45 +01:00
Mike Jolley 1db6da14c0 Readme and version 2016-07-19 18:08:45 +01:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Mike Jolley 53511e36ec Use permission id to revoke access to downloads to prevent removing wrong rows.
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Mike Jolley 23c853dc3b When duplicating product variations, set title, name, and guid.
Fixes #11311 @claudiosmweb
2016-07-14 14:54:39 +02:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
Claudio Sanches 6fafe2c531 Fixed how calculate shipping tax rates when using more than one tax class
Closes #11349

cc @mikejolley
2016-07-04 17:52:53 -03:00
Claudio Sanches 8f62c322dd [REST API] Fixed check for product types, closes #11341 2016-07-04 17:24:39 -03:00
Claudio Sanches 0fe6be1eec [REST API] Delete variations when deletes a variable product, closes #11345 2016-07-04 16:42:07 -03:00
Claudio Sanches ef41395ae9 [2.6] [REST API] Added support for WP REST API with custom URL prefix 2016-06-30 18:23:21 -03:00
Claudio Sanches d3e3504dc1 Updated changelog 2016-06-30 14:31:16 -03:00
Claudio Sanches 529fa3eb58 [REST API] Improve how handle product and variations images #11310 2016-06-30 13:03:52 -03:00
Mike Jolley fc6097c7b0 readme 2016-06-30 11:49:18 +01:00
Mike Jolley 35234d08a5 Readme/stable tag 2016-06-30 11:46:28 +01:00
Mike Jolley 2ac99eb870 readme 2016-06-30 09:36:49 +01:00
Claudio Sanches 161b2d807c Removed duplicated Saint Martin 2016-06-30 04:40:33 -03:00
Claudio Sanches 411585e8c8 Updated the default sorting of product_category shortcode, closes #11295 2016-06-30 04:16:22 -03:00
Claudio Sanches 148228b505 Added missing Sint Maarten country and fixes the continents
Fixed missing Bonaire, Saint Eustatius and Saba (BQ) from the continents
list.
Fixed Curaçao, thats belongs to the North America continent.

Closes #11217
2016-06-29 18:26:06 -03:00
Mike Jolley 92c670acde Fix - woocommerce_local_pickup_methods comparison by stripping instance IDs before the check.
@claudiosmweb Seems that local_pickup in zones did not get base tax
applied due to method id mismatch.
2016-06-29 15:23:42 +01:00
Mike Jolley af29523e47 Readme 2016-06-28 15:42:40 +01:00
Claudio Sanches 34a28d6841 [CLI] Allow filter the product variable types, closes #11240 2016-06-24 12:36:34 -03:00
Claudio Sanches e57ab09fb4 Fixed variable product stock at product level, closes #11234 2016-06-23 19:36:39 -03:00
Mike Jolley 2af5716b08 Revert price change - this breaks custom price logic
@claudiosmweb
2016-06-23 16:32:24 +01:00
Mike Jolley 2cae613212 Remove discount when checking free shipping min amount.
Fixes #11232
2016-06-23 13:45:50 +01:00
Mike Jolley c7783bca24 Fix grouped product range display
Closes #11225
2016-06-23 12:16:38 +01:00
Mike Jolley 3334693885 Revised stock display based on feedback to hide 'in stock' message if stock management is off.
@claudiosmweb This removes ‘in stock’ when not needed, and I broke the
methods up for clarity.

Also removed the variation specific logic as it was near identical and
not needed.
2016-06-23 11:24:15 +01:00
Mike Jolley 1353160330 Removed non-existent country (Netherlands Antilles) from https://en.wikipedia.org/wiki/ISO_3166-1.
Closes #11217
2016-06-22 11:35:21 +01:00
Mike Jolley 1e70bc7172 Prevent get_terms returning duplicates.
@claudiosmweb
2016-06-21 13:19:49 +01:00
Mike Jolley 479a136edb Added view_admin_dashboard cap for disabling the admin access restriction in custom roles.
Closes #11198 @claudiosmweb
2016-06-21 11:18:14 +01:00
Mike Jolley 856b9514d7 Convert ellipsis to three periods when saving postcodes.
Fixes #11195
2016-06-21 10:57:03 +01:00
Mike Jolley bc87f4a47e Fix - Javascript show/hide of option in free shipping method. 2016-06-21 10:47:21 +01:00
Claudio Sanches 9e574ab4d4 [2.6] Fixed cost input type for flat rate and local pickup, closes #11199 2016-06-20 21:40:23 -03:00
Mike Jolley 3ab6a22146 Match zones with no countries 2016-06-20 13:22:58 +01:00
Mike Jolley 0eaffe2ccd woocommerce_redirect_single_search_result type check was incorrect. 2016-06-20 10:18:35 +01:00
Mike Jolley 137e6c1b8b Readme 2016-06-18 19:53:37 +01:00
Mike Jolley 0f714a13a4 wc_add_to_cart_message() when non-array is passed. 2016-06-16 22:32:06 +01:00
Mike Jolley 2019cdf108 Version bumps and POT file 2016-06-16 18:17:50 +01:00
Mike Jolley ee620caf91 Wrap order_schema_markup() output in hidden div in case script tag is stripped. 2016-06-16 16:23:58 +01:00
Mike Jolley b57030afb7 Fix the showing/hiding of panels when terms do not exist by using wc_get_product_types() for retrieving product types.
@claudiosmweb
2016-06-16 14:58:44 +01:00
Mike Jolley a7eadce787 Changelogs 2016-06-16 14:17:40 +01:00
Mike Jolley b682c0550e Allow max_fee in addition to min_fee in flat rate costs fields.
Closes #11151
2016-06-16 12:23:02 +01:00
Mike Jolley 7266e020fb Avoid normalization of zone postcodes so wildcard matching can be performed on postcodes with spaces. E.g. SP1 *
Also adds matching zone notice when shipping debug is on.

fixes #11154
2016-06-16 11:28:53 +01:00
Mike Jolley dafecee6ae Dev - content-product.php and content-product_cat.php contained the wrong version.
Closes #11146
2016-06-16 00:14:16 +01:00
Claudio Sanches b0e2a981d6 [2.6] Fallback for wp_get_raw_referer() in WP 4.4, closes #11149 2016-06-15 16:34:05 -03:00
Mike Jolley c8f55cfb8d Layered nav counts when term_id does not match term_taxonomy_id (before splitting).
@claudiosmweb this was a massive pita to fix
2016-06-15 19:20:50 +01:00
Claudio Sanches 83348c8ca9 [2.6] [REST API] Fixed products attribute options when contains ",", closes #11138 2016-06-15 14:32:22 -03:00
Mike Jolley 032e57d602 If shipping method count changes, reset to default. 2016-06-15 14:38:08 +01:00
Mike Jolley dd053726b6 Tweak upgrade notice
Fixes #11132
2016-06-15 12:30:00 +01:00
Mike Jolley 23499a0499 readme 2016-06-15 10:03:38 +01:00
Mike Jolley 6b619ecf82 Fix - SKUs prop on products shortcode.
Fixes #11135
2016-06-15 10:02:11 +01:00
Claudio Sanches ce96d637c3 [2.6] Hide 'payment methods' screen if no methods support it, closes #11127 2016-06-14 20:19:30 -03:00
Claudio Sanches 335567403e [2.6] [REST API] Fixed grouped_products schema 2016-06-14 19:20:07 -03:00
Claudio Sanches f80da4b1ea Changelog for WC_Settings_API::init_form_fields() method 2016-06-14 19:02:29 -03:00
Claudio Sanches 1c3eee9397 Changelog 2016-06-14 19:01:49 -03:00
Mike Jolley 4bbd92d045 [2.6] PayPal does not allow free products, but paid shipping. Workaround by sending shipping as a line item if it is the only cost.
Fixes #11121
2016-06-14 22:57:56 +01:00
Mike Jolley f14192d82c BFTrick to readme 2016-06-14 15:11:00 +01:00
Mike Jolley 572b8c28c2 Version bump 2016-06-14 14:38:46 +01:00
Mike Jolley e4380dbca6 readme and changelog 2016-06-06 16:43:09 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley a68bd07250 readme 2016-05-03 15:18:23 +01:00
Claudio Sanches 7c30198acb Updated changelog 2016-04-22 14:28:02 -03:00
Mike Jolley 2ab177a35e Readme update 2016-04-22 18:13:13 +01:00
Claudio Sanches a570e36c55 Updated stable tag 2016-04-22 13:02:57 -03:00
Claudio Sanches 7094bf6fbc WooCommerce 2.6 requires at least WP 4.4 2016-04-11 16:52:13 -05:00
Mike Jolley 3d3ce24d87 readme 2016-03-14 16:24:53 +00:00