Mike Jolley
f84d90a1a0
Prevent related products shortcode creating errors
...
Closes #6114
2014-08-28 12:36:52 +01:00
Ninos Ego
e9c36acdd3
Fixed: merge conflict
2014-08-27 01:43:38 +02:00
Ninos Ego
fbaa044f37
Fixed: merge conflict
2014-08-27 01:42:20 +02:00
Ninos Ego
4c28b920b6
Merge: master
2014-08-27 01:35:44 +02:00
Ninos Ego
27532a446d
Small fixes
2014-08-22 13:12:26 +02:00
Ninos Ego
4adc74337f
Merged: 65e6bf5aed
2014-08-22 12:57:49 +02:00
Mike Jolley
65e6bf5aed
get_category_parents can still be used for #6055
2014-08-22 11:02:05 +01:00
Bryce
101b0eb2e0
Added actions before and after all available downloads
...
For `my-downloads.php` template file
2014-08-21 20:12:02 +07:00
Ninos Ego
47e6f98501
Display on blog (if not front page)
...
The breadcrumb should be displayed on the blog page, if it's not the
front page.
2014-08-19 19:16:52 +02:00
Ninos Ego
5417e7f8c6
Template: breadcrumb - category structure
...
The html structure of multidimensional categories was wrong ($before &
$after was missing).
2014-08-19 19:00:07 +02:00
Ninos Ego
7819a78462
Template: breadcrumb - small fixes
...
- undefined variable on author page
- wrong html structure on hierarchical page
2014-08-19 17:29:58 +02:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Geert De Deckere
24d588544b
Removed unused global $woocommerce variable from the templates
...
The WC() function is to be used since v2.1
2014-08-17 22:29:51 +02:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Mike Jolley
b1c76adb56
Send product object to woocommerce_stock_html filter. Closes #6016
2014-08-13 11:30:47 +01:00
Tamara Zuk
6da6a6357f
Separate edit address forms for billing and shipping
2014-08-08 20:35:12 -04:00
Tamara Zuk
cc7e64c139
Add before/after edit address form actions
...
Introduce woocommerce_before_edit_address_form' and
'woocommerce_after_edit_address_form' actions
2014-08-08 20:23:55 -04:00
Michael Silber
a96b958edd
Remove <p> from inside <address> in order/order-details.php
2014-08-05 18:20:26 -04:00
Mike Jolley
6e540c3bda
Pass is_ajax through from the ajax handler
...
Fixes #5910
2014-07-31 10:00:16 +01:00
claudiosmweb
2e0182c3b3
fixed breadcrumb duplicate homepage url
...
get_option( 'page_on_front' ) === string
wp_get_page_id( 'shop' ) === integer
2014-07-30 13:25:29 -03:00
Mike Jolley
b72d33f563
Move orderby logic out of template file
...
cc @jameskoster @claudiosmweb
2014-07-30 17:23:28 +01:00
Mike Jolley
cab8f8c9dd
Only show default ordering option when relevant
...
Closes #5893
2014-07-30 17:23:28 +01:00
claudiosmweb
b752f75392
reverted breadcrumbs product_cat query
2014-07-30 13:13:23 -03:00
Claudio Sanches
5c7cb3acac
Merge pull request #5921 from southan/master
...
update to fix #5911
2014-07-30 13:07:27 -03:00
Mike Jolley
5d2833bc33
Merge pull request #5931 from splashingpixels/rich-snippets
...
corrected currency rich snippets for price
2014-07-30 12:17:21 +01:00
Mike Jolley
39469b89d7
Fix pagination when add-to-cart is in the URL
...
Fixes #5857
2014-07-30 10:35:52 +01:00
splashingpixels
3b0d55dbf7
corrected currency rich snippets for price
2014-07-29 22:01:46 -07:00
southan
2ad57033f6
Update to fix #5911
...
Missed get_term_by calls with slug, reverted to wc_get_product_terms (get_the_terms, whilst great for performance, bypasses all the special sorting implemented by the former).
2014-07-29 15:02:18 +01:00
Mike Jolley
caff9658b9
Merge pull request #5911 from claudiosmweb/improve-breadcrumbs
...
Improve product_cat queries in breadcrumbs
2014-07-29 13:19:08 +01:00
Mike Jolley
c465c7235d
Merge branch 'credit-notes'
...
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
claudiosmweb
53494ff91c
improved the product_cat query in product single page
2014-07-28 17:57:11 -03:00
claudiosmweb
0b559b3997
improved the product_cat query in breadcrumbs, closes #5906
2014-07-28 17:44:54 -03:00
Gerhard
dc9043f99c
Put the whole coupon message in the filter.
2014-07-17 10:36:12 +02:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Michael Silber
32bd50c379
Move TFOOT to after TBODY element throughout templates and classes
2014-07-10 21:50:51 -04:00
Patrick Rauland
0ac68cbd8e
removing webkit only styles from email templates;
2014-07-08 11:13:26 -06:00
Coen Jacobs
86a4add087
Merge remote-tracking branch 'upstream/master' into order-factory-refactor
...
Conflicts:
includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley
12cf9edd52
Edit account form hooks
...
Fixes #5676
Closes #5677
2014-07-02 14:48:23 +01:00
Mike Jolley
1a7120086a
Merge pull request #5722 from BFTrick/email-header-ids
...
Adding IDs to Email Header Template
2014-06-24 15:52:35 +01:00
Mike Jolley
cd5bd97c2d
Merge pull request #5608 from ragulka/checkout-form-multipart
...
Make checkout form multipart
2014-06-23 16:54:05 +01:00
Patrick Rauland
a7a0baea4f
adding divs w/ ids to email header template
2014-06-23 08:59:50 -05:00
Andrew Benbow
2fcda12ea1
Update mini-cart.php
...
$_product->is_visible()
2014-06-22 13:39:10 +01:00
Mike Jolley
f6636b9e71
Merge pull request #5700 from bryceadams/master
...
Stop people accessing wrapper-end.php directly
2014-06-19 16:50:04 +01:00
claudiosmweb
1100d5b39a
changed the address format in plain text emails
2014-06-17 17:33:55 -03:00
Bryce
c940e641e5
Update template file to exit if accessed directly
...
Noticed this missing, wasn't sure if it was intentional but thought it
best be added.
2014-06-17 17:06:58 +10:00
Nicola Mustone
9d2b70942d
Using – for compatibility
2014-06-13 15:36:36 +02:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Nicola Mustone
abd7b2a989
Wrong non ASCII content
...
Issue with PoEdit translating content on line 32 due to non-ASCII content.
2014-06-13 12:47:51 +02:00
claudiosmweb
61c94f9e25
fixed some hard code strings
2014-06-11 17:12:23 -03:00
Mike Jolley
a621288459
Fix address format in plain text email
2014-06-09 12:08:45 +01:00
Mike Jolley
8a6a195692
Merge branch 'post-statuses-for-orders'
2014-06-04 05:54:15 +01:00
Mike Jolley
b04ca15952
Only add add_to_cart_button if purchasable and in stock
...
Fixes #5132
2014-06-03 14:35:42 +01:00
Illimar Tambek
0aa7d7e87d
Make checkout form multipart
2014-06-03 13:56:02 +03:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
fca32a98de
Implement is_status functions and update_status
2014-05-30 17:16:22 +01:00
Mike Jolley
05b9b8af4e
get_status_name + my_orders
2014-05-30 16:29:44 +01:00
Nicola Mustone
4611ed7d75
Added missing hook comment
...
added missing @hooked woocommerce_upsell_display - 15
2014-05-30 16:19:45 +02:00
Mike Jolley
913269a718
Merge pull request #5585 from yakirgot/patch-1
...
RTL the spam trap
2014-05-29 16:20:19 +01:00
claudiosmweb
f013b30da7
hidden the shipping address when local pickup is used, closes #4870
2014-05-28 16:22:17 -03:00
Yakir Gottesman
6fa1c6efd9
Update form-login.php
2014-05-28 21:00:52 +03:00
Yakir Gottesman
54aec6ee28
Update form-login.php
2014-05-28 20:57:03 +03:00
Yakir Gottesman
2940a35509
RTL the spam trap
...
Avoids horizontal scroll on rtl. (and some minor code styling)
2014-05-28 20:50:26 +03:00
Mike Jolley
5e769e65e7
Merge pull request #4996 from robdvr/master
...
Ability to add custom quantity using shortcode
2014-05-22 10:16:20 +01:00
Mike Jolley
ec8ec7b9d6
Merge pull request #5487 from splashingpixels/myaccount
...
[2.1.x] removed unecessary localization from edit account fixes #5485
2014-05-22 10:04:59 +01:00
Cammy-the-block
4aec620ed3
Fixed my account setting values to wrong user submitted strings.
2014-05-15 19:42:07 -07:00
splashingpixels
4bd0350794
removed unecessary localization from edit account fixes #5485
2014-05-15 05:59:11 -07:00
Mike Jolley
b7643e469b
Merge pull request #4763 from claudiosmweb/remove_the_content_filter
...
Removed all the_content filter in favor to wpautop() and do_shortcode()
2014-05-15 10:52:26 +01:00
Mike Jolley
e631006845
Merge pull request #5435 from dimitrov-adrian/patch-9
...
Consistence
2014-05-07 14:48:06 +01:00
claudiosmweb
80f44d2d1a
defined a min value to cart quantity input
2014-05-06 21:49:30 -03:00
Adrian Dimitrov
7de8b10428
Consistence
...
Way to remove complete <h2> tag also consistence syntax like templates/single-product/tabs/additional-information.php
2014-05-06 23:12:09 +03:00
Mike Jolley
ec5cb0cffa
Only output wrappers on order-review when not loaded via ajax
2014-04-30 11:20:25 +01:00
Mike Jolley
da8015a49c
Merge pull request #5338 from ragulka/thankyou-filters
...
Introduce `woocommerce_thankyou_order_received_text` filter
2014-04-24 15:21:50 +01:00
Mike Jolley
8c4f7dc8d1
Reverse calculator check Closes #5323
2014-04-23 14:30:45 +01:00
Mike Jolley
45f1c8a40f
Merge pull request #5359 from splashingpixels/feature-edit-password
...
added a check for current password on password change closes #5177
2014-04-23 11:39:01 +01:00
Mike Jolley
2592ad64d8
Print notices in view order template Closes #5348
2014-04-23 11:37:09 +01:00
Mike Jolley
c24ca386cc
Template cleanup
2014-04-23 11:37:05 +01:00
splashingpixels
fde72164a4
added a check for current password on password change closes #5177
2014-04-22 12:01:57 -07:00
Illimar Tambek
79a40ffd06
Supply order to thankyou text filter, if available
2014-04-18 15:33:02 +03:00
Illimar Tambek
cc2a6b75fe
Introduce `woocommerce_thankyou_order_received_text` filter
2014-04-18 15:30:14 +03:00
Mike Jolley
937db45913
[2.2] Merge ship to billing and billing only options
...
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
Mike Jolley
2a27663f1f
get_image_id method + use in email template
...
Closes #5288
2014-04-08 15:02:11 +01:00
Mike Jolley
39b1ffe01c
reset grouped products correctly to work with short codes
2014-04-08 10:29:51 +01:00
Mike Jolley
af70da5ebb
Remove nonce from comment form to prevent issues with caching
2014-04-08 09:37:01 +01:00
splashingpixels
1e998f776e
template coding standard fixes
2014-04-07 19:29:39 -07:00
Mike Jolley
bfa599ef0b
More friendly/less blunt "no shipping" messages.
...
Closes #5276
2014-04-07 10:48:48 +01:00
Mike Jolley
02a1735674
Clean up labels and default cost to 0 for int shipping
...
Closes #5219
2014-04-07 10:07:13 +01:00
Mike Jolley
ae83f528ef
Merge pull request #5242 from tivnet/additional-information
...
Fix: additional-information.php
2014-04-04 14:00:28 +01:00
splashingpixels
ff5384714f
myaccount registration added check for auto generate password option
2014-04-01 19:45:25 -07:00
Mike Jolley
c981bb56ca
Merge pull request #5230 from ChromeOrange/master
...
show shipping form filter
2014-03-31 11:56:57 +01:00
Gregory K
3bd2954a13
Fix: additional-information.php
...
- Do not display empty <h2> tag
- Removed unused globals
- WP code style
2014-03-30 21:26:17 -04:00
Andrew Benbow
84899195c5
Update form-shipping.php
2014-03-28 14:41:57 +00:00
Andrew Benbow
54d5ded602
Update form-shipping.php
2014-03-28 14:41:43 +00:00
Andrew Benbow
d9c82975b4
Update form-shipping.php
2014-03-28 10:38:48 +00:00
Andrew Benbow
6cb5451e15
Update form-shipping.php
...
Add filter to allow needs_shipping() to be overridden, useful if you want to collect a shipping address for virtual products.
Allows a filter to be used as replacement for get_option('woocommerce_require_shipping_address')
Previous suggestion of add_filter('woocommerce_cart_needs_shipping', '__return_true'); is not suitable
2014-03-28 02:27:24 +00:00
splashingpixels
bbde465924
orderby - skip adding hidden input of submit on a GET so JS can submit properly fixes #5221
2014-03-27 09:37:56 -07:00
Mike Jolley
9e5d895823
Billing Address > Billing Details. We take more than address in this section.
2014-03-24 11:16:07 +00:00
Mike Jolley
6ffd371ee4
Update localisation for terms and conditions text.
2014-03-24 11:16:07 +00:00
Brent Shepherd
c7e6a779cb
Add wc_cart_totals_taxes_total_html()
...
Also introduces the new 'woocommerce_cart_totals_taxes_total_html' filter.
2014-03-20 17:54:42 -07:00
splashingpixels
4e0e184d5a
form-login form values were not persistent after failed submission
2014-03-17 09:55:41 -07:00
Mike Jolley
54a7c11dd3
Use protocol relative URLs in the cart widget because it gets cached and can display on https or http pages Closes #5135
2014-03-17 10:53:54 +00:00
thenbrent
bcd3c71c7d
Add no_available_payment_methods_message filter
2014-03-12 21:14:06 +10:00
Mike Jolley
256b1e011c
Tweak shipping language Closes #5030
2014-03-04 12:39:39 +00:00
Rob Davarnia
e3116a4a2b
Update add-to-cart.php
2014-02-28 15:42:14 -08:00
Rob Davarnia
e7ca60b2a2
Ability to add custom quantity using shortcode
2014-02-28 13:43:31 -08:00
Muhammad Haris
b5dbb95f8e
Missing hook details for new rating after title
...
Missing hook details in the comment for new rating after title on single product pages
2014-02-27 05:56:03 +05:00
Mike Jolley
bfecc0c7d5
Tweak product attributes template to hide table if nothing is shown Closes #4927
2014-02-25 15:33:07 +00:00
Patrick Rauland
f3d1f5aa7d
correcting cart template class names
2014-02-24 16:42:40 -06:00
Mike Jolley
38872b8536
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-24 15:14:32 +00:00
thenbrent
eed1411ba8
Check product exists before accessing methods
...
To avoid fatal errors when generating renewal orders in Subscriptions.
2014-02-21 16:29:55 -08:00
Mike Jolley
3ab6acc495
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-21 15:16:47 +00:00
Nathan
c1f7706d44
Added the type attribute to the coupon input on the cart page
2014-02-20 09:22:55 -05:00
splashingpixels
e85a7d2352
added filter for empty cart return to shop link
2014-02-18 22:28:19 -08:00
Mike Jolley
c0c21c8364
Unify textdomains Closes #4814
2014-02-17 13:14:45 +00:00
Mike Jolley
0ddff220d5
Make my-account/view-order use the template file
2014-02-17 09:44:45 +00:00
Mike Jolley
d5482d00d0
Fix printf in customer new account email Closes #4802
2014-02-14 15:50:30 +00:00
Mike Jolley
1140fd2407
Wrap billing and shipping fields with a div/class Closes #4758
2014-02-13 10:22:25 +00:00
Coen Jacobs
18bd1f175f
Merge pull request #4760 from claudiosmweb/fix_hardcode_email_string
...
Fix hardcoded string in templates/emails/email-order-items.php
2014-02-13 09:00:35 +01:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02:00
claudiosmweb
f6f4e8d5ea
fixed some coding standards in templates/emails/plain/email-order-items.php
2014-02-13 02:24:34 -02:00
claudiosmweb
a5d21f4e56
removed not useful nl2br in emails plain templates
2014-02-13 02:22:34 -02:00
claudiosmweb
3e82329bc4
fixed some coding standards in templates/emails/email-order-items.php
2014-02-13 02:10:53 -02:00
claudiosmweb
c05804a8fb
fixed hardcode string in email-order-items.php template
2014-02-13 02:08:47 -02:00
Mike Jolley
29ef76c17c
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 10:36:22 +00:00
claudiosmweb
6ccbd2b6f0
removed deprecated function
2014-02-09 03:05:03 -02:00
James Koster
2b8ef5101f
review pagination. closes #4629
2014-02-05 12:40:15 +00:00
claudiosmweb
d5f840c2ed
improved the printf in my-account.php template
2014-02-05 00:57:03 -02:00
claudiosmweb
14e14787fc
redirect user in logout to my account page, fixes #4633
2014-02-05 00:55:27 -02:00
James Koster
a078b942e7
removed a ↓ closes #4598
2014-01-31 15:31:35 +00:00
claudiosmweb
1d332b67dd
added extra class to cart item data, fixes #4600
2014-01-30 19:02:52 -02:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
splashingpixels
454b97080a
coding standards fixes
2014-01-22 20:36:24 -08:00
splashingpixels
b16d5195c8
coding standards fixes
2014-01-14 21:53:37 -08:00
splashingpixels
6f5bcb8d1b
added coupon text for clarity
2014-01-14 21:13:47 -08:00
Mike Jolley
956de3ce53
Merge pull request #4483 from daverogers/master
...
Add coupon code placeholder to cart template
2014-01-10 05:11:46 -08:00
justinstern
e96a6ae3f3
Fix Non-Purchasable Simple Product in Product Loop
...
add_to_cart_button class is only applied if the product is purchasable
2014-01-09 21:38:05 -05:00
Illimar Tambek
3fc62123a7
Check for actions before looping over them
2014-01-09 12:13:57 +02:00
Mike Jolley
e15c572465
Better handling for sent to admin/plain text args Closes #4359
2014-01-08 15:04:49 +00:00
Mike Jolley
55121ff2ef
Merge pull request #4451 from claudiosmweb/fix_4450
...
Introduces the woocommerce_my_account_my_orders_query filter
2014-01-07 07:39:10 -08:00
justinstern
cc27bd8bdf
Rename new woocommerce_order_item_quantity filter
...
Renaming to avoid clash with pre-existing filter of the same name:
cdb1ad5e9e/includes/class-wc-order.php (L1470)
2014-01-07 00:51:15 -05:00
claudiosmweb
c97195d0ad
fixed conding standards in templates/myaccount/my-orders.php
2014-01-04 10:45:01 -02:00
claudiosmweb
5cb3849e07
fixed the indentation in templates/myaccount/my-orders.php
2014-01-04 10:40:22 -02:00
claudiosmweb
e273026fff
introduces the woocommerce_my_account_my_orders_query filter that helps customize the query in My Orders page. fixes #4450
2014-01-04 10:36:30 -02:00
Coen Jacobs
58f31163fc
Correct do_action arguments fix for #4359
...
Reverts db9d3ff0b7
partially
2014-01-03 15:55:51 +01:00
Mike Jolley
cdb1ad5e9e
On cancel, use cart page unless otherwise defined. Closes #4375
2013-12-30 14:09:50 +00:00
justinstern
e131804d7a
Notice fix and Checkout Shipping Method classes
...
Fixes an admin notice. Adds a single class to the checkout shipping
method elements for convenience in collecting all of them via CSS
selector
2013-12-29 04:31:44 -05:00
Mike Jolley
0c9962cf93
Get correct name Fixes #4385
2013-12-24 14:28:25 +00:00
Mike Jolley
690c5f7842
Resolve permalink issues Fixes #4400
2013-12-24 13:57:07 +00:00
Dave Rogers
b42f49c581
Add coupon code placeholder to cart template
2013-12-18 00:00:11 -08:00
Coen Jacobs
db9d3ff0b7
Stripped faulty default values of do_action parameters. Closes #4359
2013-12-12 16:47:20 +01:00