Claudio Sanches
f218b6cfd9
[REST API] Allow filter by on sale products, closes #12093 ( #12105 )
2016-10-18 11:40:13 +01:00
Dwain Maralack
c27fd5c052
Check if the chosen method is set on the package rates. There are rare instances where store manager may disable a shipping option while the users session is still in progress. This results in an unexpected errors and checkout page hanging. Double checking that the chosen method is accessable on the package avoids the error. ( #12111 )
2016-10-18 11:38:44 +01:00
Claudio Sanches
10ba5b5978
Merge pull request #12106 from woocommerce/improve-product-filters
...
[REST API] Better sanitization for product taxonomy filters
2016-10-17 19:04:13 -02:00
Claudio Sanches
ee061f98ec
[REST API] Better sanitization for product taxonomy filters
2016-10-17 14:39:02 -02:00
Mike Jolley
7e56707850
Enqueue scripts when shortcode is used
2016-10-17 11:49:51 +01:00
Mike Jolley
e0fa344d50
Abort adding variation to cart if invalid rather than just hiding value
2016-10-17 11:33:43 +01:00
Mike Jolley
55e1a50400
[2.6] variation_data should be isset
2016-10-17 11:33:25 +01:00
Mike Jolley
cfbb8d6601
Use meta as a cache for order/spent methods.
...
Closes #12080
2016-10-14 15:11:10 +01:00
Bryce Adams
ea1f9aea65
Remove last order from customers part of the API ( #12081 )
...
Proposed solution to close #12080
* Also removes from tests.
2016-10-14 14:38:35 +01:00
Mike Jolley
65fda094bd
Fix empty value in zones save
2016-10-14 13:06:06 +01:00
Mike Jolley
c893bf34aa
[2.6] Fire tokenisation event on load for pay page.
...
Fixes #12047
2016-10-14 12:39:19 +01:00
Mike Jolley
c93486ccc7
Typo in comment.
2016-10-14 12:38:55 +01:00
Mike Jolley
a6f4332f89
Remove non-existant field from unit test
2016-10-14 12:22:25 +01:00
Mike Jolley
5f886c326a
[2.6] Populate attribute dropdown when empty
...
Fixes #11983
2016-10-14 12:09:24 +01:00
Mike Jolley
307601c4c0
Merge branch 'new-rest-api-product-filters'
2016-10-14 11:22:48 +01:00
Claudio Sanches
507bbffc66
Fixed coding standards
2016-10-14 11:19:20 +01:00
Claudio Sanches
ec79238f30
Added min_price and max_price product filter
2016-10-14 11:19:20 +01:00
Claudio Sanches
21f7bfe7bc
Fixed price meta_query
2016-10-14 11:19:20 +01:00
Claudio Sanches
8339e9ca25
Introduces wc_get_min_max_price_meta_query() function
2016-10-14 11:19:20 +01:00
Claudio Sanches
861606571d
Fixed PHPCBF mistakes
2016-10-14 11:15:11 +01:00
Claudio Sanches
2400a72b93
Filter products in stock or out of stock
2016-10-14 11:15:11 +01:00
Claudio Sanches
d8a03a3083
Fixed coding standards
2016-10-14 11:15:11 +01:00
Claudio Sanches
e57ae3da27
Filter products by tax class
2016-10-14 11:15:11 +01:00
Claudio Sanches
842c39b525
Make easy to add query_meta
2016-10-14 11:15:11 +01:00
Claudio Sanches
92404fc867
Allow filter products by featured post meta
2016-10-14 11:15:11 +01:00
Claudio Sanches
876f7e62d7
Updated WP REST API functions to 2.0-beta15
2016-10-14 11:15:11 +01:00
Claudio Sanches
4aa1689015
Better description for product taxonomy filters
2016-10-14 11:15:11 +01:00
Claudio Sanches
b26bbebb5f
Merge pull request #12088 from woocommerce/improve-structured-data-class
...
Improve WC_Structured_Data class
2016-10-13 20:59:09 -03:00
Claudio Sanches
3f9c16fe49
Fixed coding standards
2016-10-13 20:54:47 -03:00
Claudio Sanches
d5fa492378
Reverted the woocommerce_structured_data_product_limited filter name
2016-10-13 20:43:30 -03:00
Claudio Sanches
e67bbba878
Fixed undefined variables
2016-10-13 20:29:50 -03:00
Claudio Sanches
a9c8c79f58
Removed extra space
2016-10-13 19:54:21 -03:00
Claudio Sanches
ecb0c46f7f
Use get_data() at less one time
2016-10-13 19:48:02 -03:00
Claudio Sanches
9dce511dde
Removed dead $limit_data param from generate_product_data()
2016-10-13 19:44:12 -03:00
Claudio Sanches
fae8574619
Make methods less complex and more legible
2016-10-13 19:40:15 -03:00
Claudio Sanches
8484c8657e
Display structured data in WC_Emails::order_schema_markup()
2016-10-13 19:39:27 -03:00
Claudio Sanches
f3275be8d2
Fixed undeclared array variables
2016-10-13 19:05:51 -03:00
Claudio Sanches
7dc74f6dfc
Improved WC_Structured_Data::generate_* methods
...
- Less conditional code
- Better docblocks
- Fixed mixed variables
- Stop returning bool since it's only displaying
2016-10-13 18:51:20 -03:00
Claudio Sanches
48210fa39a
No need to declare 0 or 1 params in add_action()
2016-10-13 18:21:12 -03:00
Claudio Sanches
5967762e01
Already obvious
2016-10-13 18:19:41 -03:00
Claudio Sanches
b9dfdacad4
Removed confuse helper
2016-10-13 18:19:13 -03:00
Claudio Sanches
291c731b22
Merge branch 'opportus-improved-structured-data'
2016-10-13 17:58:01 -03:00
Claudio Sanches
68b864313a
Fixed conflicts
2016-10-13 16:58:20 -03:00
Claudio Sanches
07ae13c51b
Fixed coding standards recommended by WPCS
2016-10-13 16:51:18 -03:00
Claudio Sanches
2e38033ca6
Merge pull request #12086 from attiladonath/master
...
Make it easier to extend Cash on Delivery payment gateway class
2016-10-13 16:30:40 -03:00
Rami Yushuvaev
fec057c993
Use get_admin_page_title() function to display admin titles ( #12077 )
...
* Use get_admin_page_title() function to display admin titles
* revert
* i18n: use sprintf() in translation strings
2016-10-13 13:34:48 -03:00
Attila Donáth
2968850786
Setup general properties in a separate method #12085
...
It is easier to extend the gateway class like that.
2016-10-13 18:23:51 +02:00
Attila Donáth
14f563fe02
Eliminate hardcoded payment method IDs #12085
2016-10-13 18:23:41 +02: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
42f420b16c
Correct admin link for variable product.
2016-10-13 15:18:44 +01:00