opportus
87020debe4
wrap product category title and description into header element
2016-07-04 17:51:59 +02:00
aaronlad
1dbf25a404
Missing direct script access check
2016-06-16 02:12:01 +01:00
Mike Jolley
dafecee6ae
Dev - content-product.php and content-product_cat.php contained the wrong version.
...
Closes #11146
2016-06-16 00:14:16 +01:00
Mike Jolley
78142a8ebb
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-checkout.php
# includes/class-wc-coupon.php
# includes/class-wc-customer.php
# tests/unit-tests/cart/cart.php
# tests/unit-tests/cart/functions.php
# tests/unit-tests/coupon/coupon.php
# woocommerce.php
2016-06-13 15:01:58 +01:00
Damien Carbery
4d72279c0d
Update grouped.php
...
Pass $product->single_add_to_cart_text() through esc_html() to be consistent with simple.php and variation-add-to-cart-button.php.
2016-06-09 12:20:27 +01:00
Mike Jolley
b569bd2caa
Unique nonce names
...
@claudiosmweb Fixes #11068
2016-06-08 13:19:30 +01:00
Mike Jolley
730019ef18
scrutinizer best practice
2016-06-06 19:39:23 +01:00
Mike Jolley
437a627028
Merge pull request #11053 from woothemes/alternative-myaccount-structure
...
Alternative myaccount structure
2016-06-06 14:48:26 +01:00
Mike Jolley
b96451e808
Remove navigation actions and content wrappers
2016-06-06 12:05:37 +01:00
Mike Jolley
5d9951e7a2
Dashboard content
2016-06-06 12:05:24 +01:00
Mike Jolley
dd4216d32d
Content hook only (woocommerce_account_content)
2016-06-06 12:05:18 +01:00
Guido Scialfa
79e046bfb2
Passing the heading tag as parameter for the_title able users to filter the title by using 'the_title' filter, in this way we can for example hide the title product without output the empty heading tag.
2016-06-05 12:01:52 +02:00
Mike Jolley
2108722027
Do not unset comment_notes_before
...
Keeps the notice intact about not publishing email addresses.
2016-06-02 09:59:52 +01:00
Claudio Sanches
8666b3da01
Keep the old class of edit account form
...
Scripts like password-strength-meter.js needs this class.
cc @jameskoster
2016-06-01 18:48:50 -03:00
Mike Jolley
da2337b05b
POST is not needed here; form never updates
...
Fixes #11006
2016-05-31 11:26:41 +01:00
Antonino Scarfì
c8527468c5
Use hook to include navigation.php template
2016-05-30 15:16:26 +02:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
cc41c38ff8
Tweak page titles on account pages
2016-05-24 19:09:07 +01:00
Tamara Zuk
c6b74b433c
[2.6] My Account forms: add before/after actions
...
These additional actions allow third-party code to add content to the
tab without adding inside the `<form></form>` element.
2016-05-23 15:47:50 -04:00
Mark
9cf6d7c01c
update action names from myaccount to account
2016-05-22 14:04:21 +02:00
Mark
089ce32577
Add action hooks to myaccount/navigation.php
...
Added a before and an after action hook, so that users can add their own stuff.
2016-05-20 14:00:42 +02:00
Akeda Bagus
6e97b17a2b
Added row class for each payment method and extra one for default one.
...
Fixes #10946 .
2016-05-19 16:09:13 +07:00
Beka Rice
17eae30bf9
[2.6] Add notice to My Account > Downloads..
...
…when no downloads are present; consistent with “Orders” empty notice
2016-05-17 15:44:56 -04:00
Mike Jolley
6e94df6ee5
must be > 0 to exist
2016-05-13 17:57:50 +01:00
Mike Jolley
668d3fa517
Only show return to shop link if shop page is set
2016-05-13 15:51:37 +01:00
andrew-lbc
f220116289
Update template override instructions
2016-05-05 15:29:03 -04:00
Mike Jolley
fce8dc0868
Ensure alt text is set for product attachments
...
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Mike Jolley
d6a085b5ae
Improve lost password flow
...
@claudiosmweb Fixes #10785
Add confirmation and explanation after initial reset.
Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Manos Psychogyiopoulos
306a6f6083
add missing hooks to the form-pay.php template
2016-04-26 12:35:27 +03:00
Mike Jolley
c067a1675d
Merge pull request #10767 from webmandesign/patch-1
...
Adding tab specific class
2016-04-25 14:42:09 +01:00
Mike Jolley
29c6acf767
Used positional placeholders in strings where the order of strings may require modification in the locale.
...
Closes #10775
2016-04-25 13:07:41 +01:00
Oliver Juhas
c5c94b6bbd
Updating the classes to new new naming convention
2016-04-22 22:24:54 +02:00
Oliver Juhas
287d537349
Adding tab specific class
...
Allow targeting specific tab with a class instead of id.
2016-04-22 13:00:14 +02:00
James Koster
9decc9b673
bumping the template version due to new classes
...
Just in case a third party plugin interacts with these sections
2016-04-21 17:42:02 +01:00
Mike Jolley
9d1abd8a10
Bump version
2016-04-21 17:23:47 +01:00
Mike Jolley
39e8d981a0
Support order items when calling get_permalink on a variation.
2016-04-21 10:36:46 +01:00
Mike Jolley
3ff10a4ce2
Only get purchase note if product exists
...
Fixes #10726
2016-04-19 11:10:21 +01:00
Claudio Sanches
50c9e302d7
Fixed emails charset using the same charset as the database, closes #10686
2016-04-18 12:57:21 -03:00
Mike Jolley
3fcc68e2f8
Replace http hrefs with https
...
Closes #10716
2016-04-18 11:58:12 +01:00
James Koster
04539d1ab3
button class names in account orders pagination
2016-04-17 18:16:13 +01:00
Mike Jolley
3aa07c08e3
woocommerce_cart_item_permalink filter
...
Closes #10690
2016-04-15 15:44:52 +01:00
James Koster
9e65542d98
Apply Suit CSS naming conventions to classes in account area. closes #10660
2016-04-15 15:11:14 +01:00
James Koster
ba009c6fc5
Fixes the layout on shop pages when using Twenty Eleven. closes #10665
2016-04-15 13:24:17 +01:00
Claudio Sanches
7b6d5a8fd9
Fixed $has_orders on orders.php template, closes #10671
2016-04-11 16:03:09 -05:00
James Koster
475992e595
Add links to the welcome message on my account.
2016-04-08 09:16:26 -05:00
Mike Jolley
da92201f5a
Use display price in schema
2016-04-06 10:22:45 -05:00
James Koster
77e78838eb
reviews title - wrap product title in span
...
Also adds a class to there reviews wrapper and title
2016-04-05 15:41:29 -05:00
Mike Jolley
f4791be088
Merge branch 'pr/10432'
2016-03-30 17:10:01 +01:00
Mike Jolley
84d3fe2d82
wc_format_localized_decimal on dimensions
2016-03-30 13:19:01 +01:00
Justin Shreve
ffc80ccd15
Start updating some usage, and start implementing the actual CRUD functions, and some new get/setters for username, email, etc.
2016-03-17 09:41:12 -07:00
James Koster
42ed4e0301
adds info class to 'no saved methods' notice in the account section.
2016-03-16 19:05:00 +00:00
Mike Jolley
ee0798047e
Merge branch 'wc-get-orders-10500'
2016-03-14 16:09:01 +00:00
Mike Jolley
726728071b
[2.5] Hide shipping row when calculator is disabled, and shipping costs are hidden
...
Fixes #10519
2016-03-10 12:26:52 +00:00
Mike Jolley
2e0f151039
Merge branch 'master' into wc-get-orders-10500
...
# Conflicts:
# includes/wc-order-functions.php
# includes/wc-template-functions.php
# templates/myaccount/my-orders.php
# templates/myaccount/orders.php
2016-03-09 16:23:01 +00:00
Mike Jolley
cc97de2315
Revert "Implement wc_get_orders() function"
...
This reverts commit 5075d4bab3
.
2016-03-09 16:16:22 +00:00
Mike Jolley
d3f98dce03
More advanced customer filter
...
#10500
2016-03-09 14:50:34 +00:00
Mike Jolley
5075d4bab3
Implement wc_get_orders() function
...
#10500
2016-03-09 13:25:42 +00:00
Nicola Mustone
c7756187e0
Added bool param for email order items hooks
2016-03-09 12:55:28 +01:00
Mike Jolley
054252ec24
Remove full stop after username
...
Closes #10511
2016-03-09 11:04:33 +00:00
Mike Jolley
eefbc053c9
escape data-title
...
Fixes #10490
2016-03-08 13:41:34 +00:00
James Koster
b26941309c
Adds `required` attribute to required rating fields. closes #10339
...
Also changes the email input type to `email`.
Unfortunately wp core adds `novalidate` to the opening form tag and I
can’t see an easy way to change that, so this won’t do anything for
now. cc @mikejolley
2016-03-07 16:14:01 +00:00
James Koster
850134fc20
Makes the review template easier to customise without forcing a template override. #10339
...
* Adds `woocommerce_review_before`,
`woocommerce_review_before_comment_meta`, `woocommerce_review_meta` and
`woocommerce_review_comment_text` actions.
* Adds `woocommerce_review_display_gravatar()`,
`woocommerce_review_display_rating()`,
`woocommerce_review_display_meta()` and
`woocommerce_review_display_comment_text()` template functions.
* Adds template files for review rating and meta.
2016-03-07 15:33:47 +00:00
Justin Shreve
cb68f41ed0
Fix up based on Mike's feedback:
...
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Justin Shreve
e3d7e206d0
Create a function for getting correctly formatted credit card type labels (MasterCard, American Express, etc)
2016-03-01 11:49:42 -08:00
Justin Shreve
31bae0c19e
Hook up the tokenization API to the "add payment method" button in my account settings.
2016-03-01 11:49:41 -08:00
Justin Shreve
9db1f65196
Hook up the payment token API to the my account > payment methods tab
2016-03-01 11:49:41 -08:00
Jon Koops
bc097553c6
Add order_schema_markup action to output Schema markup for order emails.
2016-03-01 13:02:56 +01:00
Mike Jolley
14e03038e3
Show customer details for logged in users only.
...
Possibly for [2.5] after confirming with @claudiosmweb and
@justinshreve.
#10433
2016-02-29 12:43:19 +00:00
Mike Jolley
d916eb5118
Merge branch 'pr/10423'
2016-02-26 14:36:59 +00:00
Mike Jolley
e9ff396348
Only add when using intval for stock amounts
2016-02-26 14:36:53 +00:00
Mike Jolley
e4932415c9
Improved tracking template
2016-02-26 14:25:06 +00:00
Jon Koops
111b72c159
Add attributes to quantity input to show numeric keyboard on mobile devices.
...
This commit adds both a `pattern` attribute to restrict user's input to numerical characters, and the forwards compatible `inputmode` attribute to hint at the keyboard layout to use. These attributes combined make sure that the numerical keyboard shows instead of the normal keyboard on most mobile devices (tested on the latest versions of Android and iOS).
Possible Caveats:
- Due to the nature of the numeric keyboard on iOS it is impossible to add a decimal point.
Further Reading:
https://stackoverflow.com/questions/6178556/iphone-numeric-keyboard-for-text-input
https://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/
http://danielfriesen.name/blog/2013/09/19/input-type-number-and-ios-numeric-keypad/
2016-02-25 17:48:06 +01:00
Mike Jolley
c3282bfe42
Remove unused case
2016-02-17 11:21:44 +00:00
Dan - Lucian Ștefancu
9176861959
Result count for languages with multiple plurals
...
There are languages with two or more plural forms.
For example in Romanian plural forms can be defined like this:
`Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);`
`_n()` and `_nx()` can handle all those special cases for results count texts.
This fix will not add any extra strings in the i18n package, just allows for better translations.
2016-02-16 21:37:18 +02:00
Claudio Sanches
50d087b9ba
Do not render payment methods yet, waiting for Payment Token API
2016-02-16 14:36:52 -02:00
Claudio Sanches
c60722f65c
Updated header text of my account templates
2016-02-16 14:11:50 -02:00
Claudio Sanches
3d41a7d544
New actions for account downloads template
2016-02-16 13:57:46 -02:00
Claudio Sanches
bcc9dd4658
Introduces new actions for account orders
2016-02-16 13:57:46 -02:00
Claudio Sanches
ad16a26af5
Deprecated my-downloads
2016-02-16 13:57:46 -02:00
Claudio Sanches
2de00c61ff
Added account endpoint for customer payment methods
2016-02-16 13:57:46 -02:00
Claudio Sanches
daf2f92a8c
Added dashboard menu item and created function to get menu item classes
2016-02-16 13:50:06 -02:00
Claudio Sanches
d193caa987
Better pagination for account > orders
2016-02-16 13:50:06 -02:00
Claudio Sanches
36c0b6047a
Less "my" and more "ours"
2016-02-16 13:50:06 -02:00
Claudio Sanches
564f882fee
Fixed typos
2016-02-16 13:50:06 -02:00
Claudio Sanches
3a3380e4ab
Created account downloads endpoint
2016-02-16 13:50:06 -02:00
Claudio Sanches
08048b6d1c
Added better links for orders pagination
2016-02-16 13:50:06 -02:00
Claudio Sanches
489000a3c2
Improved variables in myaccount/orders.php template
2016-02-16 13:50:06 -02:00
Claudio Sanches
02e3c6362d
Created my account > orders template
2016-02-16 13:50:06 -02:00
Claudio Sanches
42454179b6
Deprecated my-account actions and added new dashboard action
2016-02-16 13:50:06 -02:00
Claudio Sanches
211c379af6
My account initial navigation
2016-02-16 13:50:06 -02:00
Mike Jolley
a778c0b234
Give loops names, and set class outside of template files
...
Closes #10028
2016-02-12 13:32:58 +00:00
Mike Jolley
bd4c90dbec
Docblocks
...
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley
fab8a871aa
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley
cae1fe6b85
Refactors/improvements to layered nav to support slugs
...
#7806
2016-02-09 14:41:17 +00:00
Mike Jolley
971f6a3dee
Added email for on-hold orders.
...
Closes #9792
2016-02-08 13:20:19 +00:00
djenggoat
7d3e4b1778
mismatch end tag wrapper for twentysixteen
...
mismatch end tag wrapper end for WordPress twentysixteen templates/global/wrapper-end.php
2016-02-06 20:12:05 +08:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
54260cf7a4
Merge pull request #10248 from tivnet/patch-5
...
Suggestion: before and after actions on terms.php
2016-02-05 12:23:28 +00:00
Claudio Sanches
563a557909
[2.5] Removed extra tab from plain email shipping address, closes #10253
2016-02-03 15:19:19 -02:00
Gregory Karpinsky
029217e207
Suggestion: before and after actions on terms.php
...
For example, to write an intro sentence: "Please check the box below to proceed:"
2016-02-02 16:53:14 -05:00