matttallan
4d0e0b71f3
Rollback WCAPI create_order if exception is thrown after wc_create_order
...
When you use the api to create an order and specify an method_id for
the payment details, but no method_title. You recieve a WP_Error as the
response but a pending order of $0 is still created.
2015-03-13 16:02:42 +10:00
Claudio Sanches
a66d627c70
Improved the wc_get_product_id_by_sku() function for #7695
2015-03-12 17:59:52 -03:00
Claudio Sanches
607d5e9964
Merge pull request #7709 from Nils-Fredrik/master
...
Loock just for product and product_variation in wc_get_product_id_by_sku(), closes #7695
2015-03-12 17:56:58 -03:00
nils-fredrik@maksimer.no
c0ebb7d0ad
Fix for #7695
...
Will now only return posts of type product and product_variation.
2015-03-12 21:52:22 +01:00
Claudio Sanches
7c666c97a0
Merge pull request #7708 from sambohler/patch-1
...
Fixed DocBlock annotations for PayPal Payment Gateway
2015-03-12 17:44:11 -03:00
Sam Bohler
91e313b924
Fixed DocBlock annotations
2015-03-12 16:39:47 -04:00
Guillermo Gette
e9d20c9f66
update set_line_item to let you set items by sku
2015-03-12 22:52:37 +11:00
Guillermo Gette
eae8c6b8e5
add function wc_get_product_by_sku
2015-03-12 22:52:13 +11:00
Mike Jolley
ec4d3efb6f
Merge pull request #7689 from woothemes/memcache-install-welcome-redirect
...
Memcache welcome page redirect issue
2015-03-12 11:37:02 +00:00
Mike Jolley
c79fee2c82
Merge pull request #7690 from woothemes/email-styling-issues
...
Email styling inconsistencies
2015-03-12 10:36:24 +00:00
Mike Jolley
9a3087a23e
Merge pull request #7697 from tamarazuk/get_order_number-cancel-email
...
Use `$order->get_order_number()` in Cancel Order email header
2015-03-12 10:36:00 +00:00
Tamara Zuk
0259a30212
Use `$order->get_order_number()` in Cancel Order email header
2015-03-12 00:55:03 -04:00
Claudio Sanches
9787478f83
Merge pull request #7694 from thenbrent/simplify_catch_exception
...
Catch exceptions in Simplify Commerce
2015-03-11 23:48:52 -03:00
Brent Shepherd
028cea41d3
Make sure Simplify customer ID is set on renewals
...
So that if the renewal is for a failed payment, the the new value is set
on the renewal order's `'_simplify_customer_id'` post meta value and can
be copied back to the original order in `update_failing_payment_method()`.
2015-03-11 14:50:25 -07:00
Brent Shepherd
6d339241a2
Catch exception on renewal payment with Simplify
2015-03-11 14:49:57 -07:00
Claudio Sanches
b697a714a7
Fixed the testes for wc_get_weight()
2015-03-11 14:23:47 -03:00
Gerhard
f64ed79780
Move email footer insline styling to email-styles template for use with imogrifier instead.
2015-03-11 13:03:15 +02:00
Gerhard
2faf92b018
Escape colour outputs in email styles
2015-03-11 12:55:17 +02:00
Gerhard
ec75c0dd5d
Move font-family to last line in css rule as the quote causes issues with imogrification.
2015-03-11 12:53:06 +02:00
Gerhard
9b7bd120e1
Escape $bg_darker_10 variable on output
2015-03-11 12:52:28 +02:00
Mike Jolley
5bcfcf51ff
Increase wc_get_weight precision.
2015-03-11 10:45:14 +00:00
Gerhard
c9d4655ef1
When running update_option it does not always clear memcache, a workaround is to run delete_option and then add_option instead.
2015-03-11 12:26:51 +02:00
James Koster
4372fdbad4
tweak message styles in cart totals table
2015-03-10 17:02:54 +00:00
Mike Jolley
8554796c4b
Show calculate total when shipping is needed, but shipping is hidden.
...
Closes #7650
2015-03-10 16:57:43 +00:00
Mike Jolley
0ed3ce9023
Revert "Merge remote-tracking branch 'origin/shipping-costs'"
...
This reverts commit acc239cd1c
, reversing
changes made to b0e0bdcfad
.
2015-03-10 16:43:02 +00:00
Mike Jolley
acc239cd1c
Merge remote-tracking branch 'origin/shipping-costs'
2015-03-10 16:33:55 +00:00
Mike Jolley
b0e0bdcfad
Do not enforce rating in admin
...
Closes #7679
2015-03-10 11:01:59 +00:00
Mike Jolley
0959b68182
Minify
2015-03-10 10:25:40 +00:00
Mike Jolley
8256baff0d
Merge pull request #7680 from tamarazuk/grouped-is-on-sale-fix
...
Missing argument on `woocommerce_product_is_on_sale` grouped product filter
2015-03-10 10:25:05 +00:00
Mike Jolley
6bf5262f67
Merge pull request #7682 from franticpsyx/variations_min_max_quantity_js
...
[2.3] Fix: Handling of zero min/max input qty attributes in scripts
2015-03-10 10:24:01 +00:00
Manos Psychogyiopoulos
c11399cb52
handle zero min input qty in woocommerce.js
2015-03-10 03:06:17 +02:00
Manos Psychogyiopoulos
60ebac7cdf
allow zero min/max quantity input values
2015-03-10 02:42:00 +02:00
Tamara Zuk
4e36efe3af
Missing argument on `woocommerce_product_is_on_sale` grouped product filter
...
Avoids a “missing argument” warning
2015-03-09 17:28:37 -04:00
Barry Kooij
b5d64ba932
Decimal Precision can now be set in all orders API calls.
...
Fixes #7652
2015-03-09 19:07:02 +01:00
Barry Kooij
44d8bee22c
Use round instead of number_format
2015-03-09 18:10:49 +01:00
Barry Kooij
650e17c971
Merge branch 'master' of github.com:woothemes/woocommerce
...
Conflicts:
readme.txt
2015-03-09 18:08:53 +01:00
Barry Kooij
b66e6d45ed
Changelog update
2015-03-09 18:07:07 +01:00
Barry Kooij
245a2cf4e7
Added the option to not round the line total.
2015-03-09 18:06:31 +01:00
Mike Jolley
40f8ed5140
Merge remote-tracking branch 'origin/master'
...
Conflicts:
readme.txt
2015-03-09 17:05:43 +00:00
Mike Jolley
457050ae9d
Improved coupon percent calculation for fixed discounts.
...
Closes #7669
2015-03-09 17:05:09 +00:00
Barry Kooij
f0af0dad6c
Changelog update
2015-03-09 17:18:28 +01:00
Barry Kooij
0bb4655da8
Merge branch 'master' of github.com:woothemes/woocommerce
2015-03-09 17:09:17 +01:00
Barry Kooij
e99bcc7f77
API: reports/sales now also returns total refunds.
...
Fixes #7262
2015-03-09 17:09:07 +01:00
James Koster
cafe0927f5
count styles in widgets. closes #7677
...
make category / layered nav list styles and markup consistent with core
post category widget.
2015-03-09 16:06:48 +00:00
Mike Jolley
4171a20e29
Order again with custom attributes.
...
Fixes #7601
2015-03-09 15:50:13 +00:00
Mike Jolley
079f978cb0
Fix order data indent
2015-03-09 14:37:14 +00:00
Mike Jolley
01ee531136
Same as #7662 for backend
2015-03-09 13:48:47 +00:00
Mike Jolley
3fc7a0ae65
Allow wc_attribute_label to support product-level attribute names.
...
Closes #7662
2015-03-09 13:40:07 +00:00
Mike Jolley
5cbd02fef2
Improved message when variation attributes are missing.
...
Closes #7670
2015-03-09 13:14:05 +00:00
Barry Kooij
ca6e9a7371
Merge branch 'master' of github.com:woothemes/woocommerce
2015-03-09 13:19:10 +01:00