Justin Shreve
e8237eab3d
Merge pull request #12965 from woocommerce/update/duplicate-product
...
Update WC_Admin_Duplicate_Product to use CRUD.
2017-01-25 12:18:49 -08:00
Justin Shreve
bcae0166fd
Fix spacing error, return objects on our new hook, and force sku to be unique when duplicating.
2017-01-25 11:44:27 -08:00
Shiva Poudel
04bfa3c36d
Fix - Don't preserve cart notices for quantity update
...
Closes #12877
2017-01-26 01:05:38 +05:45
Justin Shreve
32651f638c
When updating payment tokens, only update the props that have changed + fire off a hook of the changed props.
2017-01-25 11:05:54 -08:00
Justin Shreve
318046789c
Comment clarifying translation wrapper.
2017-01-25 10:40:14 -08:00
Justin Shreve
9889efec75
Catch Product # titles and remove error logs
2017-01-25 10:37:48 -08:00
Justin Shreve
f344143b63
Catch variation text and update
2017-01-25 10:27:28 -08:00
Mike Jolley
9ef0844ac5
Merge pull request #12976 from todeveni/patch-1
...
Add Finnish defaults
2017-01-25 11:04:06 +00:00
Toni Viemerö
2078c9b816
Add Finnish defaults
2017-01-25 11:59:32 +02:00
Caleb Burks
4f9aebd690
Spacing
...
New editor probs
2017-01-24 21:19:10 -06:00
Caleb Burks
ded7914dba
Add support for radio buttons
...
Stripe’s saved card radio options for example.
2017-01-24 21:11:39 -06:00
Caleb Burks
273952085c
Trigger change() when refilling payment details
2017-01-24 20:35:06 -06:00
Mike Jolley
9f7e1da1ee
Add variation prices explanation to readme
...
Closes #12933
2017-01-25 01:21:29 +00:00
Mike Jolley
f4cb813987
Merge pull request #12940 from proArtex/master
...
checkout.js: add submiting order errors wrapper
2017-01-25 01:01:18 +00:00
Mike Jolley
aadc1094e0
Merge pull request #12939 from maximus80/carousel-filter
...
add animationLoop to woocommerce_single_product_carousel_options filter
2017-01-25 00:47:34 +00:00
Mike Jolley
0df50c59a3
Merge pull request #12972 from woocommerce/log-handler-interface
...
Add log handler interface
2017-01-25 00:42:50 +00:00
Mike Jolley
e9b0fba63c
Merge pull request #12953 from pierrebuet/master
...
Updating the way select2 v4 loads translated strings
2017-01-25 00:22:47 +00:00
Mike Jolley
3a104df5bd
Merge pull request #12966 from thenbrent/dry_get_data
...
Remove redundant WC_Product::get_data() method
2017-01-25 00:12:16 +00:00
Mike Jolley
5746c87580
Merge pull request #12968 from woocommerce/updated-props-action
...
Fire actions for updated props
2017-01-25 00:10:48 +00:00
Mike Jolley
3afb00da06
Fixed Typo
2017-01-25 00:09:57 +00:00
Mike Jolley
ea817a5c88
Merge pull request #12970 from thenbrent/check_variation_post_type
...
Check post type during read of product variations
2017-01-25 00:08:54 +00:00
Mike Jolley
76f5bc9b79
Merge pull request #12971 from thenbrent/add_read_extra_data
...
Add WC_Product_Data_Store_CPT::read_extra_data()
2017-01-25 00:08:18 +00:00
Jon Surrell
65b5e4181f
Use __METHOD__ over "{$class}::{$method}"
2017-01-24 23:09:24 +01:00
Jon Surrell
2bd8b6efbc
Validate handlers implement WC_Log_handler_Interface
...
Add tests for interface validation.
2017-01-24 23:07:58 +01:00
Mike Jolley
90fd0da7d0
Fire actions for updated props
2017-01-24 21:38:02 +00:00
Brent Shepherd
49095f0a6c
Check post type during read of product variations
...
Continuation of #12795
2017-01-24 12:28:02 -08:00
Brent Shepherd
f2cb083bd6
Read extra data for variation products
...
So that classes can extend WC_Product_Variation and use the existing
WC_Product_Variation_Data_Store_CPT class, rather than having to create
a new data store class to set the WC_Product_Variation::$extra_data
values.
2017-01-24 12:20:15 -08:00
Brent Shepherd
56c427acba
Add WC_Product_Data_Store_CPT::read_extra_data()
...
So that a product's $extra_data can also be read by child classes of
WC_Product_Data_Store_CPT, like WC_Product_Variation_Data_Store_CPT,
without duplicating the code to read it.
2017-01-24 12:18:35 -08:00
Justin Shreve
2b464d2e52
Deprecate get_title and it's hook, use get_name instead and pull name from parent.
2017-01-24 12:10:36 -08:00
Justin Shreve
10d3e2d580
Update WC_Admin_Duplicate_Product to use CRUD.
2017-01-24 11:57:48 -08:00
Mike Jolley
3dd6b483e5
Merge pull request #12963 from woocommerce/fix/get_hook_prefix
...
Fix get_hook_prefix format
2017-01-24 19:39:59 +00:00
Justin Shreve
dcecf0f228
Fix get_hook_prefix format
2017-01-24 11:02:06 -08:00
Brent Shepherd
2cf401f60f
Delete WC_Product::get_data()
...
It's identical to WC_Data::get_data(), which is already inherited from
WC_Abstract_Legacy_Product (which extends WC_Data::get_data()).
2017-01-24 10:44:51 -08:00
Justin Shreve
2cdf950963
Merge pull request #12950 from woocommerce/fix/meta-update
...
Data Stores & update_post_meta: Update changed & keys that don't exist.
2017-01-24 07:14:54 -08:00
Mike Jolley
db186381ba
Merge pull request #12959 from Ramoonus/patch-11
...
composer: composer/installers to 1.2
2017-01-24 14:17:30 +00:00
Ramon van Belzen
acbcad87a6
composer: composer/installers to 1.2
2017-01-24 14:17:16 +01:00
Jon Surrell
8e0f40d3d1
Add WC_Log_Handler_Interface
...
Abstract class `WC_Log_Handler` implements interface
2017-01-24 14:10:05 +01:00
Mike Jolley
eb2b9d78f8
Merge pull request #12947 from woocommerce/improve-rest-api-error-data
...
Allow pass error data using WC_Data_Exception
2017-01-24 12:45:49 +00:00
Claudiu Lodromanean
ecb542986a
Basic non-height-changing slideshow
2017-01-23 15:35:30 -08:00
Mike Jolley
8768fc553a
Merge pull request #12954 from woocommerce/claudiulodro-readme
...
Add claudiulodro to readme
2017-01-23 22:19:36 +00:00
Claudiu Lodromanean
a85bb5bd7d
Add me to readme
2017-01-23 13:53:43 -08:00
Justin Shreve
711a381ff6
Remove error log
2017-01-23 13:16:49 -08:00
Claudio Sanches
f345285c2e
Merge pull request #12951 from woocommerce/emails-using-site-language
...
Send emails using site language
2017-01-23 19:10:39 -02:00
Justin Shreve
3d55efffac
Move order logic to wc-order
2017-01-23 13:08:55 -08:00
pierrebuet
41a937041d
Updating the way select2 v4 loads translated strings
...
Correcting Issue #12952 .
In select2 v4 the callback functions used to format the messages have
changed their names and the structure of the options have changed,
using now a „language“ object.
I was not able to find a reference in the select2 v4 code how to format
the number of matches back. Further when using v4 I don’t see any
indication on the number of the number of returned matches, so I
consider the parameter as obsolete.
2017-01-23 22:04:52 +01:00
Claudio Sanches
c94bb423f5
Merge pull request #12944 from woocommerce/fix-product-categories-parent
...
[REST API] Fixed PHP notices while trying to set product category parent as 0
2017-01-23 18:46:10 -02:00
Mike Jolley
086ed58084
Merge pull request #12943 from woocommerce/fix-unit-tests-bootstrap
...
Fixed compatibility with 4.7 in tests bootstrap
2017-01-23 20:42:39 +00:00
Claudio Sanches
3e60bd64de
Send emails using site language, closes #12931
2017-01-23 18:40:36 -02:00
Justin Shreve
1ab0b34926
Fix meta handling logic for update_post_meta: Only update keys that have changed or don't exist.
2017-01-23 12:20:29 -08:00
Claudio Sanches
920acbe019
Merge pull request #12949 from thenbrent/add_get_price_hash
...
[2.7] Move price hash derivation to separate function
2017-01-23 18:02:13 -02:00