Kalen Johnson
2d7e6e7206
Filter the template loader files
...
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.
A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.
This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Mike Jolley
ba56274662
Move get_price_suffix back to main class
2016-12-02 17:02:06 +00:00
Mike Jolley
d67f17a789
Put get_availability functions back in main product classes.
2016-12-02 16:46:35 +00:00
Mike Jolley
6a50228cda
Merge pull request #12472 from woocommerce/refactor-checkout-class
...
Checkout Refactoring
2016-12-02 16:16:18 +00:00
Mike Jolley
3bf3422b5c
Feedback
2016-12-02 16:13:36 +00:00
Mike Jolley
a5ccacee8e
Update readme/changelog
2016-12-02 15:42:48 +00:00
Justin Shreve
877c4c52ce
Merge pull request #12499 from woocommerce/fix/catalog-visibility
...
Set featured status and catalog visibility when saving products.
2016-12-01 17:26:16 -08:00
Mike Jolley
a8f6fd88f4
Merge pull request #12488 from woocommerce/save-coupon-wp-error
...
When saving coupons, return wp_error if necessary
2016-12-01 16:21:23 +00:00
Justin Shreve
b5e9fc08fe
Set featured status and catalog visibility when saving products.
2016-11-30 10:20:18 -08:00
Justin Shreve
aabfb3e3d9
Merge pull request #12497 from andreagrillo/master
...
Order details: Resend order emails print if no emails available
2016-11-30 09:42:43 -08:00
agrillo
328401271f
Fixed: if woocommerce_resend_order_emails_available hook return an empty array the optgroup label "Resend order emails" It is also printed
2016-11-30 11:32:38 +01:00
Claudio Sanches
fe20342478
Merge pull request #12492 from woocommerce/fix/payment-gateway-api
...
Fix Payment Gateway API Issues
2016-11-29 19:52:07 -02:00
Justin Shreve
a94acad387
Fix title, enabled, and description updates for payment gateways. Add missing readonly on method title and description.
...
Bump WC version.
2016-11-29 11:57:56 -08:00
James Koster
65a08a3467
checkout. #12038
2016-11-29 13:17:15 +00:00
James Koster
b436e78b07
cart styling #12038
2016-11-29 12:13:43 +00:00
James Koster
b208f9cbec
account / cart / checkout layout. #12038
2016-11-29 11:37:40 +00:00
Justin Shreve
5d8ce22afe
When saving coupons, return wp_errors if an item cannot be created or updated.
2016-11-29 03:06:10 -08:00
Justin Shreve
4dc579ff57
Merge pull request #12486 from franticpsyx/attribute-drop-down-html-render
...
[2.6/2.7] Fix variation attributes rendering
2016-11-29 02:49:59 -08:00
James Koster
2a1f8488d1
reviews #12038
2016-11-29 10:34:37 +00:00
Manos Psychogyiopoulos
22d02a0925
fix variation attributes rendering
...
Renders options html outside the DOM and uses .html() to update DOM state in one go.
ref: https://github.com/woocommerce/woocommerce/issues/12485
2016-11-29 10:21:00 +02:00
Justin Shreve
ede9d181b6
Merge pull request #12480 from franticpsyx/variable-data-store-read_price_data-methods-missing-method-context
...
[2.7] Wrong use of 'view' context in WC_Product_Variable_Data_Store_CPT:: read_price_data
2016-11-28 10:50:22 -08:00
Justin Shreve
3dbfc499ba
Merge pull request #12481 from franticpsyx/product-arg-in-set-stock-status-actions
...
[2.7] Add $product argument to `woocommerce_[variation_]set_stock_status` action
2016-11-28 10:47:59 -08:00
James Koster
7f9e69e91d
border on required asterisk. #12038
2016-11-28 17:54:43 +00:00
James Koster
3cb181df22
message links #12038
2016-11-28 17:50:20 +00:00
James Koster
b8b6f7623b
tweaked the remove button styles. #12038
2016-11-28 17:45:06 +00:00
Manos Psychogyiopoulos
08b81f73c6
add $product argument to `woocommerce_[variation_]set_stock_status` action
2016-11-28 19:03:33 +02:00
James Koster
bfac876b4d
gallery / summary margin. #12038
2016-11-28 15:28:12 +00:00
James Koster
26ccc9deef
footer area cart widget links. #12038
2016-11-28 15:26:23 +00:00
James Koster
583de21429
search widget. #12038
2016-11-28 15:06:32 +00:00
James Koster
388775935c
average rating widget #12038
2016-11-28 15:01:14 +00:00
James Koster
f6481088e3
price filter widget #12038
2016-11-28 14:57:36 +00:00
James Koster
6150cb8049
layered nav widget. #12038
2016-11-28 14:52:43 +00:00
James Koster
7888e7b2ca
cart widget. #12038
2016-11-28 14:49:18 +00:00
James Koster
caf9d27ca9
review avatar #12038
2016-11-28 13:32:26 +00:00
James Koster
80b2a1a272
messages. #12038
2016-11-28 13:26:02 +00:00
James Koster
1a77b4734e
more single product tweaks. #12038
2016-11-28 13:12:17 +00:00
James Koster
fad0cab4fe
tweak the overall layout for WooCommerce pages. #12038
2016-11-28 12:52:18 +00:00
James Koster
0be148b739
product tabs. #12038
2016-11-28 12:47:04 +00:00
James Koster
03cf58b1b4
product galleries. #12038
2016-11-28 12:33:46 +00:00
James Koster
1cdd783bec
hide the featured image (added by 2017) on product pages. #12038
2016-11-28 12:14:15 +00:00
James Koster
fee04b821c
add sidebar #12038
2016-11-28 12:11:19 +00:00
Manos Psychogyiopoulos
72c0877d82
switch variation price getters in WC_Product_Variable_Data_Store_CPT::read_price_data to 'edit' context
2016-11-28 13:54:35 +02:00
Claudio Sanches
9a983261df
Merge pull request #12474 from franticpsyx/wc-27-legacy-product-class-magic-get
...
[2.7] Add 'id' to WC_Abstract_Legacy_Product::__isset
2016-11-28 04:07:22 -02:00
leogermani
83cc3a9365
get_payment_method relies on a more generic DOM element
...
When checking the payment method, I think it would be better to rely on a more generic DOM element to make sure the find() method will find what it is looking for, in case theme authors have changed the position of things inside the form.
Ive stumble into this because I wanted to display the order review in the top of the page, before the billing form, but I wanted to keep the payment form at the end of the page, so, after changing the order_review DIV position, I did:
```
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20);
add_action( 'woocommerce_checkout_after_customer_details', 'woocommerce_checkout_payment');
```
After I did this, the get_payment_method stopped working.
I might be wrong, but I think this proposal gives more flexibility to theme authors, while not breaking anything. This tweak Ive done dont look really ugly to me, I think I should be able to move things inside the checkout form around.
Thanks for looking into it
cheers
2016-11-27 16:51:22 -02:00
Manos Psychogyiopoulos
b10810824f
add 'id' to WC_Abstract_Legacy_Product __isset
2016-11-27 16:30:13 +02:00
Mike Jolley
56396d305e
Fix last name
2016-11-25 21:46:52 +00:00
Mike Jolley
348efad1ed
Fix customer notes
2016-11-25 21:46:45 +00:00
Mike Jolley
43d362d107
Tidy, refactor, and split up methods in checkout class
2016-11-25 21:46:34 +00:00
Mike Jolley
11bb13d613
Use getters instead of property
2016-11-25 20:16:38 +00:00
Mike Jolley
30539b6f5a
Update display name when saving customer
2016-11-25 20:16:19 +00:00