opportus
1db3a1c97e
Merge remote-tracking branch 'upstream/master' into archive-product-header
2016-07-15 22:07:52 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Claudio Sanches
1fe6e70586
Fixed where the global $product is load in the products reviews template
2016-07-08 23:57:45 -03:00
Claudio Sanches
f128ef1329
Only make customer new account urls clickable
2016-07-07 18:03:34 -03:00
Claudio Sanches
2493cb995a
Include link in new customer account email, closes #11379
2016-07-07 17:54:49 -03:00
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
Claudio Sanches
12cd0d824a
[2.5] Pass $category to wc_product_cat_class() in content-product_cat.php
2016-02-01 13:36:52 -02:00
Mike Jolley
e49c288e8f
[2.5] false to add_args
...
Fixes #10231
2016-02-01 12:19:11 +00:00
Mike Jolley
25e02ac6f1
Alt text is set by WP
...
Fixes #10215
2016-01-29 11:25:43 +00:00
Mike Jolley
2a6ea6e137
[2.5] Fix passed image_size variable
2016-01-27 15:29:27 +00:00
Gregory Karpinsky
17b16b4dd2
Omit closing PHP tag to avoid "Headers already sent" issues.
2016-01-26 18:35:24 -05:00
Mike Jolley
a2fbfec5bf
[2.5] Show user country rather than base country in "estimated for" messages
...
#10148
2016-01-25 10:16:39 +00:00
sergeyrozenblat
31948045f8
Removed extra space
...
Removed extra space from 'a href' tag which in some cases may influence proper styling of elements
2016-01-25 00:03:55 +06:00
Claudio Sanches
4f3ef79b8c
Added password strength meter to my account > edit account page
...
Closes #10103
2016-01-22 17:33:35 -02:00
Mike Jolley
8093194a44
[2.5] Qty button can be hidden for variables sold individually
2016-01-22 17:53:12 +00:00
Mike Jolley
4cfd8ff214
[2.5] Don't show downloads in admin email
2016-01-20 16:58:58 +00:00
Mike Jolley
f5e2717b6f
[2.5] Show sku in admin emails
...
Closes #10107
2016-01-20 11:05:10 +00:00
Mike Jolley
b5d7f1de10
[2.5] Only show payment method button when needed, and check for required fields
...
Fixes #10112
@thenbrent @claudiosmweb
2016-01-20 10:47:36 +00:00
Mike Jolley
0049415797
[2.5] get_currentuserinfo() is deprecated in WP 4.5
2016-01-18 14:42:01 +00:00
Mike Jolley
b76813d369
Add ID to search field
...
Fixes #10090
2016-01-18 09:47:12 +00:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Kathy Darling
67c06f313e
add filter for reset variations link html
2016-01-07 09:43:34 -05:00
Mike Jolley
1093d2f64c
Check passed in variables are set
...
#9983
2016-01-06 11:52:18 +00:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Mike Jolley
89ede21ff2
Terms before button
...
@jameskoster any problem using that float?
Closes #9880
2015-12-18 22:11:45 +00:00
Mike Jolley
90d472a0fe
set $method
2015-12-17 10:15:58 +00:00
roykho
0825b5001e
Fix undefined variable when there is only one available method
2015-12-16 18:23:56 -08:00
Andrew Minion
b296962ca8
update grammar
2015-12-16 13:14:18 -06:00
Mike Jolley
8aec02f625
Remove shipping select box option, tidy up logic and add filters from #9797
...
closes #9797
2015-12-16 13:00:16 +00:00
Mike Jolley
0ebba8b0be
flip desc and price
2015-12-04 13:34:38 +00:00
Mike Jolley
b7d8091a44
pass full variation object into script instead of parts
2015-12-04 13:31:36 +00:00
Mike Jolley
2c023a2847
Pass the wp.template to the script and append so its added to the page once when needed
2015-12-04 13:26:44 +00:00
Mike Jolley
948a8f5c47
Filters for loop add to cart
...
Closes #9753
2015-12-04 11:50:37 +00:00
Mike Jolley
dcef386d6c
form pay hooks before and after button Closes #9746
2015-12-03 12:06:14 +00:00
Mike Jolley
86c9d7c4b8
Changed terms alignment and added *
...
Fixes #9650
2015-12-03 09:49:36 +00:00
Mike Jolley
b5a2c2a9d5
Unify all order email tables to use a single template
...
Closes #9587
@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Mike Jolley
ec01c3d76f
Made "my orders" columns fully customisable for filters.
...
woocommerce_my_account_my_orders_columns filter used to define columns
and woocommerce_my_account_my_orders_column_ID to add content to said
column.
Removes the need for and thus Closes #9634 and closes #9633
@claudiosmweb
2015-11-27 12:54:28 +00:00
Mike Jolley
4b47f98132
Merge pull request #9682 from iamtakashi/twentysixteen
...
[2.4] Edit for Twnety Sixteen
2015-11-23 18:50:45 +00:00
Mike Jolley
31a7c7df99
Show meta data on form-pay
...
Fixes #9674
2015-11-23 18:22:31 +00:00
Takashi Irie
d88ba80f84
Edits for Twnety Sixteen
2015-11-23 11:55:50 +00:00
mitogh
f902b1fc8e
Break large lines into more manable and indent lines
2015-11-20 20:46:55 -06:00
mitogh
d4c3710994
Separate HTML from PHP for easier update of the button template
2015-11-20 20:45:19 -06:00
roykho
9078e30ea4
Fix acronym zip to be all capitals fixes #9641
2015-11-18 15:32:23 -08:00
Mike Jolley
e94c2b86ca
Remove shipping/tax estimation notice and show in context when needed.
...
Avoids needing complex logic for something which could easily be typed
onto the page by store owner if needed.
Also adjusts line height and padding in cart collaterals
Closes #9578
2015-11-16 15:59:47 +00:00
Nicola Mustone
ef3410ea2e
format text for better understanding
2015-11-16 12:39:44 +01:00
mitogh
f8f70f294a
Update strict comparission and update to Yoda condition
...
In order to follow one of the best practices from the Wordpress
handbook:
- https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
2015-11-14 20:35:29 -06:00
mitogh
4d86d8a6ad
Add strict comparission on another templates
2015-11-14 20:35:00 -06:00
mitogh
d3804dc16c
Forece strict comparisons on single products template
2015-11-14 20:31:23 -06:00
Claudio Sanches
1f24a22de6
Escape price.php template
2015-11-09 00:57:36 -02:00
Mike Jolley
1b38f380af
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Claudio Sanches
a0d266640a
Looks better with single quotes, closes #9493
2015-11-03 13:58:05 -02:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
48b93b937f
Added admin order/payment failed notification
...
Closes #8617
2015-11-02 14:45:24 +00:00
James Koster
1d0f52f6db
revert order pay responsive table. #9015
...
Would require a conditional colspan for handheld. Not worth the
overhead for this small table which should perform adequately already.
2015-11-02 13:59:07 +00:00
James Koster
2b39c78ce8
No need for customer details table to be responsive. #9015
...
Like several other tables, it’s small enough to degrade gracefully on
handheld devices
2015-11-02 13:59:07 +00:00
James Koster
2b05a493f6
Makes the order payment table responsive. #9015
2015-11-02 13:59:07 +00:00
James Koster
c114489d5b
Responsive cart and cart totals tables. #9015
2015-11-02 13:59:07 +00:00
Mike Jolley
798cf9a50b
Merge pull request #9485 from helgatheviking/email-ids-on-hooks
...
pass email object to email templates and template hooks
2015-11-02 13:02:04 +00:00
Mike Jolley
7fdb93329c
Merge branch 'revised-single-variation-cart-template'
...
Conflicts:
includes/admin/views/html-admin-page-status-report.php
2015-11-02 11:26:49 +00:00
Mike Jolley
c29517e87e
Merge branch 'pr/9471'
2015-11-02 11:24:01 +00:00
Mike Jolley
aec0e0e327
supports() method which mirrors gateways
...
Closes #9471
2015-11-02 11:23:50 +00:00
Mike Jolley
3ca5022649
Added template files for the customer details list in emails. emails/email-customer-details.php
...
Closes #9253
2015-11-02 10:41:05 +00:00
Kathy Darling
f893d73af6
pass email object to email templates and template hooks
2015-10-31 23:04:59 -05:00
Kathy Darling
856d192bff
Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax.
2015-10-30 12:54:49 -05:00
Mike Jolley
77054e11fa
Improve appearance when only 1 gateway is active.
...
Closes #8982
2015-10-30 15:23:16 +00:00
Claudio Sanches
0ff88deb98
Improved wc_coupons_enabled() name and description
2015-10-29 17:23:10 -02:00
Mike Jolley
d1d9ff1b59
Adjust how the 'clear' link appears
2015-10-29 16:51:05 +00:00
Claudio Sanches
f64ea948f1
Replaced WC()->cart->ship_to_billing_address_only() to wc_ship_to_billing_address_only()
2015-10-28 16:03:24 -02:00
Claudio Sanches
e61b162355
Escaped urls in templates/cart/mini-cart.php when mini cart is empty
2015-10-28 15:58:40 -02:00
Claudio Sanches
245c36e9eb
Removed duplicated woocommerce_get_checkout_url filter on form-checkout.php
2015-10-28 15:56:58 -02:00
Claudio Sanches
3ab4e76cd0
Replaed old WC_Cart methods to the new functions
2015-10-28 15:56:31 -02:00
Mike Jolley
edd2e4f2cb
wp.template is not required for cart button
2015-10-28 14:59:40 +00:00
Mike Jolley
6a64f3ba7a
Remove global
2015-10-28 14:19:44 +00:00
Mike Jolley
1ff6a27951
Split button from variation display
2015-10-28 13:09:34 +00:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Claudio Sanches
ad29047d3c
Created woocommerce_review_before_comment_text hook on templates/single-product/review.php #9432
2015-10-27 11:13:22 -02:00
Claudio Sanches
e9fb395471
Introduce two new actions on templates/single-product/review.php
...
New actions:
- woocommerce_review_before_comment_meta
- woocommerce_review_after_comment_text
Closes #9432
2015-10-26 13:36:02 -02:00
Mike Jolley
22890c4f94
Thanks page classes
...
Closes #9398
2015-10-23 12:42:17 +01:00
Claudio Sanches
ddc6baf07d
Use curly bracket when don't have any HTML around
...
Ref: #9411
2015-10-22 14:43:34 -02:00
Claudio Sanches
bf61ed004b
Merge pull request #9411 from JeroenSormani/shipping-package-name
...
Filter the shipping name in the totals table
2015-10-22 14:42:06 -02:00
JeroenSormani
ebb65c23ff
Filter the shipping name in the totals table
2015-10-22 18:22:03 +02:00
Mike Jolley
002bfa45e4
Ensure grouped product exists
...
Fixes #9382
2015-10-22 16:35:29 +01:00
Mike Jolley
d46e57d9d6
Merge pull request #9318 from woothemes/issue/8458-refactor-verified-purchase-review-meta
...
Refactor "verified owner" logic to reduce queries and transients.
2015-10-22 09:00:38 -06:00
Brad Parbs
d7d306432b
Fix spacing of do_action in customer-processing-order.php
2015-10-21 14:47:08 -05:00
Jeff Stieler
58ec17f76d
Use new review verification status retrieval method on single review template and in APIs.
2015-10-20 22:05:17 -06:00
Jeff Stieler
cfdef778bf
Use review comment meta to determine if the customer bought the product.
2015-10-20 22:03:29 -06:00
Claudio Sanches
fe95c2f8a1
Merge pull request #9343 from brenoalvs/master
...
Fixed order review heading when have no checkout fields
2015-10-17 00:06:11 -06:00
Mike Jolley
da8cae596b
Simplify cart shipping template + text
...
Also prevents calculate shipping showing multiple times when multiple
packages are present.
@jameskoster @claudiosmweb
2015-10-13 15:41:21 -06:00
Breno Alvs
eda81121b4
Fixed order review heading when have no checkout fields
2015-10-11 15:37:28 -03:00
Claudio Sanches
455c076788
Removed extra more spaces #9319
2015-10-09 11:16:25 -03:00
Claudio Sanches
2942ae41e6
Removed extra spaces from templates/checkout/form-billing.php #9319
2015-10-09 11:15:26 -03:00
Claudio Sanches
c4bd6b25c1
Merge pull request #9319 from nishitlangaliya/Issue-8938
...
Issue 8938
2015-10-09 11:12:56 -03:00
James Koster
a2ab735cda
add `data-title` attribute to cart table. #9015
2015-10-08 16:56:04 +01:00
nishitlangaliya
a45ef9f814
fixes: done changes using dom operation. ref #8938
2015-10-08 20:14:53 +05:30
nishitlangaliya
2dcd391c21
fixes: If password field is enabled, enforce strong passwords ref #8938
2015-10-07 16:47:13 +05:30
Mike Jolley
cf54ea8fc0
esc_attr does not double encode
...
fixes #9287
2015-10-07 12:03:10 +01:00
Mike Jolley
277dbeb029
Merge branch 'WPprodigy-patch-2'
2015-10-06 12:33:55 +01:00
Mike Jolley
5ec400e514
Validate terms and conditions and improve templates
2015-10-06 12:33:45 +01:00
Caleb Burks
ee2757c08f
Specific template override paths
2015-10-03 02:58:08 -05:00
James Koster
2c00927c0b
Remove the product loop title template
...
Provides consistency with the product category template. This template
was really too simple to require it’s own file. It can be plugged or
unhooked to edit.
2015-10-01 17:58:33 +01:00
Claudio Sanches
3a536ac8b7
Sanitize shipping method label/title, closes #9159
2015-10-01 17:17:45 +02:00
James Koster
b8d6ee4928
only display the coupon form on the checkout if a coupon hasn't been input already. closes #9099
2015-10-01 16:14:10 +01:00
James Koster
018bcc9d2d
hook the product category links in, instead of hard coding into the template. #8575
2015-10-01 15:28:57 +01:00
James Koster
fe689d3d24
Let's not create template files for such simple code. #8575
...
Also removes pluggability of code that simply shouldn’t have any need
to be overwritten.
2015-10-01 15:20:05 +01:00
James Koster
9de9f87c17
product category title is now hooked in rather than hard-coded into template
2015-10-01 15:12:56 +01:00
Mike Jolley
de4a80f950
Add disclaimer to template files
...
Closes #8942
2015-10-01 16:07:35 +02:00
James Koster
02ddb7fc4d
product archive anchors are now hooked into templates rather than hard coded. #8575
2015-10-01 14:49:40 +01:00
Claudio Sanches
0dfa047f93
Added template head and version for templates/product-searchform.php
2015-09-23 17:14:56 -03:00
Claudio Sanches
dfd7a0493a
Added version and improved the templates/content-widget-product.php
2015-09-23 17:13:26 -03:00
WPExplorer
b2d1964b5a
Update content-widget-product.php
...
- Add version number so its part of the "system status".
- Exit if accessed directly since we are calling the global product
2015-09-23 12:39:11 -07:00
Claudio Sanches
ad80f2188b
Updated the /single-product/add-to-cart/variable.php version
2015-09-22 13:53:19 -03:00
Claudio Sanches
605db1cf3a
hijax for variations on frontend
2015-09-22 13:22:12 -03:00
Mike Jolley
d754ad79c8
Merge pull request #9082 from bekarice/purchase-note-improvements
...
[2.5] Filter when purchase note is showed
2015-09-15 16:21:49 +01:00
Mike Jolley
8e19abe368
Check if $breadcrumb is empty
2015-09-14 15:56:58 +01:00
Beka Rice
bef88f2e82
[2.5] Filter when purchase note is showed
...
For WooCommerce 2.5: adds `woocommerce_purchase_note_order_statuses`
filter and pulls purchase note logic up from
/order/order-details-item.php
2015-09-08 14:01:49 -04:00
Caleb Burks
84f8d606b3
Add Terms and Conditions checkbox
2015-09-07 10:10:28 -05:00
Kevin Hagerty
e419d073d5
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:11:15 -04:00
James Koster
d86b64a61a
changelog update and template bump.
...
Updated the template version due to
https://github.com/woothemes/woocommerce/pull/9045
2015-09-04 13:49:14 +01:00
Shiva Poudel
47b440fcc6
Remove the unnecessary clear to payment section
...
CC @jameskoster
2015-09-04 17:32:20 +05:45
James Koster
69d151ab2a
Remove the unnecessary clear and update changelog
2015-09-04 11:06:19 +01:00
Shiva Poudel
1e8460fa34
Payment heading tag removed in pay for order form
2015-09-03 18:41:26 +05:45
Claudio Sanches
0c82d431df
Fixed method returning value in write context
2015-08-20 14:20:20 -03:00
Mike Jolley
d493e0fafa
Merge pull request #8870 from JeroenSormani/no-shipping-message-fix
...
Show the right 'no shipping availalbe' message when a country doesn't…
2015-08-18 14:55:11 +01:00
JeroenSormani
922226e280
Show the right 'no shipping availalbe' message when a country doesn't have a state.
2015-08-18 07:37:46 +02:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Mike Jolley
1999dbe92d
Improve display_item_downloads numbering and use same function in emails.
2015-08-17 12:17:56 +01:00
Mike Jolley
a3eec05b0c
Remove strip tags from invoice template
...
#8793
2015-08-12 18:31:21 +01:00
Mike Jolley
318f399081
Small tidy for scruitinizer
2015-08-10 14:56:02 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Mike Jolley
1b45bcde0b
URL encode to preserve text attributes in permalinks
2015-07-28 10:37:24 +01:00
Mike Jolley
808c01cb90
Added woocommerce_single_variation hook for variation data and cart button to reduce code in template file and used hooks. @claudiosmweb
...
Removed woocommerce_before_variations_button @Ninos. Use
woocommerce_single_variation
2015-07-28 10:32:28 +01:00
Mike Jolley
15327ef268
Fix borders by limiting length of the styles per line
...
Closes #8655
2015-07-27 18:34:51 +01:00
Mike Jolley
9a7893ba23
Moved variation dropdowns logic into wc_dropdown_variation_attribute_options()
2015-07-27 16:42:22 +01:00
Mike Jolley
2ea6a2efab
Merge branch 'pr/8607'
2015-07-27 13:17:27 +01:00
Andrew Minion
4155c34794
fix case to match other titles on my-account.php
2015-07-21 10:56:18 -04:00
Claudio Sanches
f0b3d2fd9b
Code tweaks for #8620
2015-07-20 14:36:12 -03:00
Jodi Warren
2d63d4fc94
fix version number
2015-07-20 18:12:41 +01:00
Jodi Warren
2fb5f5bf78
Change product title to a hooked function. Fixes #8601
2015-07-20 18:10:56 +01:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Claudio Sanches
066aff5222
Escape checkout cart-errors.php
2015-07-14 11:20:48 -03:00
Vignesh
e702d47a17
get_permalink to wc_get_page_permalink Updated
2015-07-14 17:51:40 +05:30
Claudio Sanches
2cc7fcfa3f
Fixed missing textdomains
2015-07-13 11:03:03 -03:00
James Koster
043294b5ed
template versions
2015-07-13 11:44:18 +01:00
thenbrent
571b4a5238
Use wc_cart_totals_taxes_total_html()
...
The order-review.php template was printing the tax total directly, which
meant extensions could not filter the tax total. This changes the tax total
to use the wc_cart_totals_taxes_total_html() similar to the cart-totals.php
template, which applies the 'woocommerce_cart_totals_taxes_total_html' filter.
2015-07-10 18:10:19 -07:00
Claudio Sanches
c63faa76a8
Escape proceed-to-checkout-button.php template
2015-07-10 16:42:33 -03:00
Ninos Ego
147c589bda
Add hook e.g. for wgm
2015-07-10 16:37:52 +02:00
Mike Jolley
eaed944048
Tweak template logic to load variations when needed
2015-07-09 15:58:58 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Mike Jolley
45d89438c7
Ensure cart item key is set
2015-07-04 15:25:08 +01:00
Justin Shreve
48a89c83c3
For the remove links (in both the dedicated cart page and the mini cart widget), add ID and SKU as data attributes.
2015-06-30 19:56:36 +00:00
Mike Jolley
049c95e724
Filter all item data
...
Closes #8361
2015-06-30 13:40:32 +01:00
Claudio Sanches
af3dfce73f
Escape tabs key and title, closes #8449
...
@mikejolley
2015-06-26 13:21:26 -03:00
Claudio Sanches
ec0783f382
Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php
...
ref #8459
2015-06-25 15:17:06 -03:00
Justin Shreve
d383e3bfd0
Use wp_lostpassword_url instead wc_lostpassword_url. The WC function is just meant to be a filter.
2015-06-25 16:54:36 +00:00
Mike Jolley
8dbd30e76b
Merge branch 'add-email-notification-for-partial-refunds-issue-8278'
2015-06-22 15:01:17 +01:00
Claudio Sanches
80e8bd94ad
Escape return to shop url
2015-06-19 17:29:37 -03:00
Mike Jolley
c136d4ffd8
Merge branch 'master' into add-email-notification-for-partial-refunds-issue-8278
2015-06-19 13:05:52 +01:00
Justin Shreve
5b7c51b5de
Wrap the quantity from $_POST in wc_stock_amount to cast it properly
2015-06-18 23:16:00 +00:00
Justin Shreve
eddec91b5a
If a quantity is set in the $_POST request, use that over the field default. This way, if a validation error occurs, the user's requested quantity stays the same.
2015-06-18 20:51:17 +00:00
James Koster
92c048c9ff
totals / addresses. #7841
2015-06-18 15:56:51 +01:00
James Koster
5836370a38
font family. #7841
2015-06-18 14:58:42 +01:00
James Koster
82df867276
text color. #7841
2015-06-18 14:46:25 +01:00
James Koster
fd18b129e4
border colors. #7841
2015-06-18 14:22:40 +01:00
James Koster
7dbdbdaf13
td colors. #7841
2015-06-18 14:14:26 +01:00
James Koster
3292cdfc55
link colors. #7841
2015-06-18 13:35:28 +01:00
James Koster
df51bb3a97
product image/title. #7841
2015-06-18 13:30:08 +01:00
James Koster
370ae8e94b
table colors. #7841
2015-06-18 13:02:43 +01:00
James Koster
2dbb7e9478
table fonts. #7841
2015-06-18 12:54:18 +01:00
James Koster
e09f5e35db
header padding. #7841
2015-06-18 12:39:12 +01:00
davidlenehan
718d550252
Merging refund email template files
...
Changing previous commit to merge templates for partial and full
refunds to cut down on files.
2015-06-18 11:34:21 +01:00
davidlenehan
8b02b02145
Add email notification for partial refunds
...
fixes #8278
Emails are now sent to the customer when a partial refund is issued. I
referenced #7785 when doing this.
When a full refund happens the email the customer receives is clear
enough that they are getting a full refund. However I thought it would
be useful to add a new line in these new partial refund emails that
states exactly the value of the partial refund as it may not be that
clear.
2015-06-17 15:35:54 +01:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
Claudio Sanches
fa026ea49d
Normalize the "Order #" #8305
2015-06-10 12:09:18 -03:00
Claudio Sanches
12c81120ca
Merge pull request #8305 from WPprodigy/patch-3
...
Make the hash translatable/filterable
2015-06-10 11:45:36 -03:00
Jason Conroy
1061487d7c
Incorrectly nested p tag within ul
2015-06-10 19:33:07 +10:00
Justin Shreve
54586115b7
Add a line break after every download file link is outputed in the email order items template.
2015-06-09 15:38:21 +00:00
Caleb Burks
b54ee1efb2
Make the hash translatable/filterable
2015-06-05 12:25:18 -05:00
Ben Bidner
c8dd2b6268
fixes usage of void return value from `wc_cart_totals_taxes_total_html()`
2015-06-01 12:54:07 +01:00
Claudio Sanches
b2a612dba2
[2.3] Revert some changes from a65616c
2015-05-29 12:27:38 -03:00
James Koster
8c1e452514
proceed to checkout button template. closes #7507
2015-05-28 11:48:37 +01:00
Claudio Sanches
169e72b824
Added extra arg to all woocommerce_order_item_name filters #8159
2015-05-27 13:29:15 -03:00
Mike Jolley
5920b88d5d
Add classes to tax and shipping labels/notices
...
Closes #8189
2015-05-27 16:17:36 +01:00
Claudio Sanches
a1717372aa
Added $is_visible arg to woocommerce_order_item_name filter, closes #8159
2015-05-27 12:11:53 -03:00
Claudio Sanches
7a24f7d482
Updated template version for #8232
2015-05-27 12:02:38 -03:00
Nicola Mustone
2c940e2299
Fix fatal error
2015-05-27 16:35:16 +02:00
Mike Jolley
10e8210871
Link to account page to login to make reviews
...
Closes #8155
2015-05-26 17:49:08 +01:00
Mike Jolley
ffab4feb0c
Remove #reset anchor. Unused.
...
Closes #8134
2015-05-26 17:45:19 +01:00
Claudio Sanches
baf020c68a
Updated email-header.php template version to 2.4.0 #8200
2015-05-21 17:05:11 -03:00
Louy Alakkad
dec30bd456
Add direction to emails.
...
Fixes an issue where emails in RTL languages were rendered as LTR.
2015-05-21 23:01:52 +03:00
Claudio Sanches
b06428a63a
Updated some templates versions to 2.4.0
2015-05-21 14:26:15 -03:00
Claudio Sanches
e559452c28
[2.3] Escape product titles, closes #8197
2015-05-21 14:20:37 -03:00
Mike Jolley
0b58a840e2
Merge pull request #8168 from Nikker/master
...
Added method to check if cart is empty
2015-05-19 11:41:48 -04:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Claudio Sanches
b305c34c64
Merge pull request #8178 from helgatheviking/issue_8176_email_template_versions
...
update template version numbers to 2.3.0. closes #8176
2015-05-17 12:31:21 -03:00
Kathy Darling
e1c471b9c4
update template version numbers to 2.3.0. closes #8176
2015-05-17 17:17:16 +02:00
Mike Jolley
0dcadc668e
Hide tax totals based on wc_tax_enabled()
2015-05-15 14:04:13 +01:00
Nikki DelRosso
940c2369b0
Added method to check if cart is empty
2015-05-14 14:18:53 -07:00
Mike Jolley
d53f78ed56
Styled auth and login endpoints
2015-05-14 16:58:34 +01:00
Mike Jolley
1a9336a4dc
[2.3] Remove email alt text from get_avatar
...
Closes #8152
2015-05-13 13:46:03 +01:00
Mike Jolley
3b3845872f
Change deprecated args
...
Closes #7210
2015-05-01 14:52:51 +01:00
Mike Jolley
d6604cb668
Split order details into customer + item templates. Tidied up codebase/template based logic.
...
cc @jameskoster
2015-05-01 14:50:18 +01:00
Mike Jolley
77941a57c5
New way to gather item meta with bw compatibility on item meta class
...
#7210
This also includes a new template file for order item details.
@jameskoster Version bumping the order details template. Splitting it
up some more in next commit.
2015-05-01 12:42:29 +01:00
Gabor Javorszky
72bb8fb553
New filter on grouped products' permalinks
...
Closes #8065
* adds new filter: 'woocommerce_grouped_product_list_link'
2015-04-29 03:07:47 +01:00
Gabor Javorszky
7de4d6ad49
Adds escaping to url and title in link for grouped product page
2015-04-29 03:00:01 +01:00
Claudio Sanches
3df93e7004
Created final authentication flow
2015-04-23 16:37:59 -03:00
Mike Jolley
4997ed0efb
Cleaned up tabs JS and fixed conflicts with bootstrap
...
Fixes #8000
2015-04-23 12:24:15 +01:00
Claudio Sanches
e4445cc082
Added noindex and nofollow for auth endpoint
2015-04-22 18:24:33 -03:00
Claudio Sanches
0bb3f1066c
Show authentication data in templates/auth/form-grant-access.php
2015-04-22 17:48:18 -03:00
Claudio Sanches
a6afac4516
Added content to grant access template
2015-04-22 17:21:42 -03:00
Claudio Sanches
8cfa3eed75
Added validation for the auth params
2015-04-22 17:02:15 -03:00
Claudio Sanches
a989184135
Created initial auth templates
2015-04-22 12:27:12 -03:00
roykho
202f4c7045
added id to addresses email template to allow 3rd party plugins to override easier
2015-04-20 09:21:00 -07:00
Manos Psychogyiopoulos
2053a83399
woocommerce_email_order_item_quantity filter
2015-04-20 00:22:42 +03:00
James Koster
11313fe229
[2.3] template version
2015-04-17 14:30:30 +01:00
Benedict
5fc10ad757
Update cart.php
...
In the `woocommerce_cart_item_quantity` filter the `$cart_item_key` is useless without the `$cart_item`, which is included in all the other relevant filters in this file. NB. Added here as last argument so not to break existing code.
2015-04-16 15:11:30 +02:00
Claudio Sanches
b2eb52298e
Updated the template version for #7962
2015-04-15 10:39:14 -03:00
Nicola Mustone
c8f8ee33be
Action woocommerce_before_variations_form
...
Added action `woocommerce_before_variations_form` to hook before the variations dropdowns
2015-04-15 15:26:46 +02:00
Nicola Mustone
94fa49655f
using wc_date_format
2015-04-13 17:58:03 +02:00
Nicola Mustone
cf89d78b7d
removing localization
2015-04-13 17:56:41 +02:00
Mike Jolley
f9d1da2081
Merge pull request #7854 from franticpsyx/mini_cart_item_class
...
Filterable mini cart item class for consistency with cart/order templates
2015-04-13 10:54:35 +01:00
Mike Jolley
12dde04e16
wc_product_cat_class functions
...
Closes #7923
2015-04-10 13:17:30 +01:00
James Koster
aad06e7f1c
[2.3] cart totals hooked into action
2015-04-09 15:15:37 +01:00
James Koster
5b1411c771
gallery img title/caption. closes #7857
2015-04-02 18:55:12 +01:00
Manos Psychogyiopoulos
96208eac73
mini cart item class
2015-03-31 11:40:26 +03:00
Manos Psychogyiopoulos
3ac13562f5
typo
2015-03-30 16:15:23 +03:00
Mike Jolley
3b547c4218
sanitize coupon class names
...
Closes #7802
2015-03-27 15:38:57 +00:00
Mike Jolley
e0bc770ef4
Merge pull request #7805 from helgatheviking/email-table-row-classes
...
apply order item classes to table rows in emails
2015-03-26 10:34:42 +00:00
Kathy Darling
53554e6a95
apply order item classes to table rows in emails
2015-03-24 16:36:51 +01:00
Mike Jolley
074729138f
Merge pull request #7786 from mcguffin/master
...
add action hook for lostpassword_form
2015-03-23 13:18:42 +00:00
Mike Jolley
d24f847119
Merge pull request #7795 from Almaz/patch-3
...
Remove dots after SKU, Categories and Tags
2015-03-23 13:09:03 +00:00
Almaz Mannanov
169f4cefe6
Remove dots after SKU, Categories and Tags
...
Some people think that the dots should not be there. If we want to keep them we can include them to localization file.
2015-03-22 13:02:53 +03:00
Nicola Mustone
00d8b11a3f
version 2.4.0
2015-03-20 17:55:50 +01:00
Jörn Lund
b774e46659
add action hook for lostpassword_form
...
Similar to registration form. see file `templates/myaccount/form-login.php`. Will allow additional captcha testing for example.
2015-03-20 17:44:11 +01:00
Nicola Mustone
c593e4ca50
added customer order refunded email
2015-03-20 16:31:31 +01:00
Nicola Mustone
21f63d56aa
hook comments
2015-03-18 11:03:52 +01:00
Mike Jolley
08e6f5acfb
Skip hidden grouped products
...
Closes #7711
2015-03-13 09:44:37 +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
Tamara Zuk
0259a30212
Use `$order->get_order_number()` in Cancel Order email header
2015-03-12 00:55:03 -04: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
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
James Koster
c9fff65365
shipping costs. #7650
2015-03-06 13:23:18 +00:00
Mike Jolley
66e6366be0
Shipping calculator - Made state/postcode respect country locale like checkout.
...
Fixes #7637
2015-03-06 12:37:21 +00:00
James Koster
0973dec1e3
lightbox uses image title / caption correctly.
2015-03-02 12:15:10 +00:00
Mike Jolley
a786fba802
Min and max for grouped products Closes #7577
2015-03-02 12:11:57 +00:00
Mike Jolley
560a6bec87
Correct review itemprop Closes #7587
2015-03-02 10:34:23 +00:00
Risto Niinemets
798c1a9933
fix email img border style typo
2015-02-26 16:40:26 +02:00
Mike Jolley
7c279f278b
Add space after item name
2015-02-26 11:59:50 +00:00
Remi Corson
329240e4f3
Fixed email style color var
2015-02-23 17:47:57 +01:00
Mike Jolley
09676934d6
Fix address formatting and improve email appearance
...
Fixes #7484
2015-02-19 13:57:22 +00:00
Mike Jolley
b75034ae38
Tweak language based on feedback in #7462
...
Closes #7462
2015-02-19 10:45:20 +00:00
John Clause
6c9f863c04
replaced get_bloginfo('name') with get_bloginfo('name','display')
2015-02-17 20:56:18 -07:00
Mike Jolley
bd11f51d04
Double shop page in breadcrumb and white space issues.
...
Fixes #7432
2015-02-16 16:21:48 +00:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Claudio Sanches
5772356eb2
Re-added the woocommerce_breadcrumb_home_url filter
2015-02-12 18:34:40 -02:00
Mike Jolley
30abed2f9e
Merge pull request #7375 from tamarazuk/rating-count-fix
...
Fix average product rating when ratings are not required
2015-02-12 00:04:26 +00:00
Mike Jolley
d2040eca4d
When updating shipping in cart, keep shipping calculator in DOM.
2015-02-11 23:25:31 +00:00
Tamara Zuk
7eaae2d561
Fix average product rating when ratings are not required
...
If ratings are not required, the total rating count was counting all
reviews which skewed the average rating. In other words, reviews with
no rating were counted as a “zero” rating in the average rating
calculation. This bug was introduced in
83a457b29c
which provided a fix for #6839 .
This change introduces a new product method `get_review_count()` which
can be used to accurately calculate the total number of reviews for a
product. Some instances of `get_rating_count()` were replaced with
`get_review_count()` where appropriate. Additionally, the
`single-product/rating.php` template was adjusted to display the
correct number of customer reviews and ratings in rich snippets. I’ve
also included the `bestRating` rich snippet detailed
[here](http://schema.org/AggregateRating ). The version number was
adjusted to 2.3.2 on that template as I think this is a larger change.
2015-02-11 17:55:16 -05:00
Claudio Sanches
a92156337b
Fixed the textdoamin in searchform
2015-02-10 10:41:38 -02:00
Michael Tieso
4750b68c01
Remove "any"
...
Sorry for the second PR. "any" is unnecessary.
Also corrected version number.
2015-02-02 20:54:20 -08:00
Michael Tieso
b4a83c471f
Fix grammer issue
...
doesn't= singular
don't= plural
2015-02-02 20:41:08 -08:00
Claudio Sanches
84edb9d8c6
Fixed admin cancelled order emails
2015-01-30 12:11:32 -02:00
Claudio Sanches
def250e912
Display taxes labels in order totals when order has refunded, closes #7229
2015-01-29 18:50:08 -02:00
Claudio Sanches
d0f4b43c96
Fixed payment actions executing multiple times, closes #7226
2015-01-29 16:36:05 -02:00
Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
Mike Jolley
f3cc45cfa9
Grammar corrections
...
Closes #7216
2015-01-28 17:15:48 +00:00
Mike Jolley
7f2a6b5e41
Fix pagination by preventing old query args from being re-added to the link
...
Fixes #7164
2015-01-20 09:43:56 +00:00
splashingpixels
244bd18d6c
changed order total to net total after refund to be consistent with backend order details ref #7138
2015-01-17 19:13:24 -08:00
splashingpixels
980695e7f0
added refund amount to order details template file closes #7138
2015-01-17 14:21:11 -08:00
James Koster
8a28054130
order review hooks
2015-01-06 15:01:24 +00:00
Mike Jolley
ca3d3f7f33
Fix logout endpoint
2015-01-06 14:07:26 +00:00
James Koster
f15a9ec10c
email padding
2015-01-02 13:16:15 +00:00
Claudio Sanches
a8f9392c43
Merge pull request #7031 from splashingpixels/pagination
...
fixes the encoding issue with pagination on default permalinks setting c...
2015-01-02 09:20:02 -02:00
James Koster
501923f01e
css coding standards
2015-01-02 09:28:25 +00:00
James Koster
ea7ef0bea0
email font family.
2015-01-02 09:26:45 +00:00
splashingpixels
08703842ee
fixes the encoding issue with pagination on default permalinks setting closes #7011
2015-01-01 14:15:47 -08:00
James Koster
c476f4ac9f
h1 spacing. #6358
2014-12-23 11:52:22 +00:00
James Koster
b58f669582
padding. #6358
2014-12-23 11:42:11 +00:00
James Koster
3abbeb4dae
paddings / margins. #6358
2014-12-23 11:37:14 +00:00
James Koster
9fd865351b
shadow. #6358
2014-12-23 11:33:30 +00:00
James Koster
e42c1d3d33
padding. #6358
2014-12-23 11:28:28 +00:00
James Koster
6f37b3f46d
radius. #6358
2014-12-23 11:25:31 +00:00
James Koster
3b2cbfee81
font family. #6358
2014-12-23 11:24:56 +00:00
Claudio Sanches
55258fc426
Fixed variable fields on frontend, closes #6868
2014-12-22 13:29:13 -02:00
Claudio Sanches
9d7f14b2a4
Merge branch 'master' of github.com:woothemes/woocommerce
2014-12-19 10:14:03 -02:00
Claudio Sanches
88d5997cda
Moved the "cart notes" before the "proceed to checkout" button, closes #6935
2014-12-19 10:12:31 -02:00
boohoogal
380769808a
Changes as proposed in #6949 .
2014-12-17 19:02:23 +00:00
Claudio Sanches
7450828304
Show the shipping calculator only in cart page
2014-12-10 15:40:18 -02:00
James Koster
ddc856880a
shipping calculator. #6412
2014-12-09 16:20:43 +00:00
Nicola Mustone
7aeb9d27bb
Retrive reviewers avatar using the email
...
Using the email will fix the wrong avatar issue occurring while creating manually the review from the admin panel.
2014-12-08 12:07:22 +01:00
Mike Jolley
72f41440dd
Fix purchase note output
...
Fixes #6835
2014-12-05 14:54:12 +00:00
Mike Jolley
fffc1c772b
Correctly show terms when attribute has outfit chars Closes #6872
2014-12-05 14:44:48 +00:00
Mike Jolley
25b1f03179
Merge pull request #6908 from franticpsyx/order_item_visible_filter
...
[2.3] Add order_item_visible_filter
2014-12-05 14:03:34 +00:00
Mike Jolley
508bfd5c06
Merge branch 'breadcrumbs-class'
...
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
Manos Psychogyiopoulos
df96a33f20
add order_item_visible_filter
...
In line with the existing 'cart_item_visible' filter.
2014-12-05 09:22:09 +02:00
MindyPostoff
fcad417762
Update form-tracking.php
2014-12-03 14:05:08 -05:00
MindyPostoff
76061f1676
Update form-tracking.php
2014-12-03 13:30:13 -05:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Bryce
cb7e06ba8b
Change structure of check to appease claudio
2014-12-01 01:42:28 +07:00
Bryce
df95a6f016
check if offset exists in breadcrumb.php
...
Closes #6878
2014-12-01 01:21:42 +07:00
Mike Jolley
3415b5d7c0
In the cart, add variation selected data to the permalink.
...
Closes #6060
2014-11-27 15:04:24 +00:00
Mike Jolley
2cfaead676
Added numeric sort for attributes. Closes #5978
2014-11-27 14:49:02 +00:00
Mike Jolley
2e398a3a79
Decoupled the order summary and payments area. Both are updated independently via ajax fragments and can be moved around via actions. TEMPLATES OVERRIDING THESE TEMPLATES WILL NEED TO UPDATE THEIR FILES.
...
Closes #5781
Closes #6570
2014-11-26 14:19:53 +00:00
Mike Jolley
c3fb83d443
Append query string when removing item from cart to bust cache
...
Closes #6544
2014-11-26 10:56:51 +00:00
Mike Jolley
549d7ab2c0
Removed 'apply before tax' options for coupons - this should be the default core behaviour
2014-11-24 17:24:25 +00:00
Gregory Karpinsky
975795119b
wc_get_endpoint_url instead of wp_logout_url
2014-11-23 13:42:38 -05:00
James Koster
01a1a8f1df
twentyfifteen styles. #6797
2014-11-21 10:29:47 +00:00
James Koster
b9a4989357
twentyfifteen wrappers. #6797
2014-11-21 10:26:58 +00:00
claudiosmweb
744f80e0c6
Fixed password reset handler
2014-11-19 16:57:26 -02:00
James Koster
299858764b
gallery column css. closes #6767
2014-11-17 15:41:27 +00:00
claudiosmweb
5cb26c7ae4
Added remove link in cart widget #6754
2014-11-14 10:24:51 -02:00
James Koster
a7350cfd6b
twentyeleven pagination. #6737
2014-11-13 14:06:52 +00:00
Kathy Darling
cfeeb7e9c6
Merge branch 'email_customer_details_hook_backup' into email_customer_details_hook_2
...
Conflicts:
includes/class-wc-emails.php
2014-11-13 00:32:15 +01:00
claudiosmweb
c4ae4e6931
Added template docs for order-again.php
2014-11-12 14:17:53 -02:00
Mike Jolley
4b2ab00be3
Order again button template file
...
Closes #6664
2014-11-12 15:33:00 +00:00
Mike Jolley
6a54a7b928
Tweak intro text #6648
2014-11-11 10:57:53 +00:00
Mike Jolley
7490438da7
Merge pull request #6648 from SiR-DanieL/cancelled-order-email
...
Added cancelled order admin email
2014-11-11 02:53:35 -08:00
Yakir Gottesman
34554f98fb
minor rtl support for email header
2014-11-08 00:30:35 +02:00
Nicola Mustone
011bb0a784
Added cancelled order admin email
2014-10-29 15:05:43 +01:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley
997e7e7910
extra sanitisation for product data
2014-10-22 12:12:25 +01:00
Mike Jolley
986afea224
Merge pull request #6531 from franticpsyx/variations_script_reusable
...
Make variations script re-usable
2014-10-21 23:36:00 +01:00
claudiosmweb
8a9e3d7e4f
[2.2] fixed edit account page fields, closes #6577
2014-10-21 11:31:17 -02:00
Mike Jolley
40bd9bc974
Merge pull request #6587 from rhyswynne/master
...
Added DocBlock to woocommerce_after_shop_loop_item
2014-10-21 13:25:40 +01:00
Mike Jolley
b09f1062da
Merge pull request #6579 from woothemes/hotfix-unqiue-nonce-edit-details
...
[2.2] Make edit account details nonce unique to customer.
2014-10-21 13:17:36 +01:00
Rhys
981883d7a4
Added DocBlock to woocommerce_after_shop_loop_item documenting the hooked functions added to it.
2014-10-21 11:54:34 +01:00
Barry Kooij
f26df90a25
Added wp_kses_post to purchase note
2014-10-21 09:09:20 +02:00
Gerhard
9645519f0f
Bump template version for nonce name change.
2014-10-21 09:03:17 +02:00
Gerhard
1c46b7324a
Register nonce used same name as register form button.
2014-10-21 08:50:23 +02:00
Gerhard
22cffec564
Revert nonce fieldname to original.
2014-10-21 08:30:30 +02:00
Gerhard
3b1ccbc23b
Added var to wrong funciton :|
2014-10-20 09:41:28 +02:00
Gerhard
1fdff91114
Make edit account details nonce unique to customer.
2014-10-20 09:35:54 +02:00
Mike Jolley
ba5032fac3
Email RTL styles Closes #5945
2014-10-17 16:11:08 +01:00
Mike Jolley
d079a7a1a6
Merge pull request #6557 from SiR-DanieL/lost-psw
...
Fix lost password submitting twice
2014-10-17 11:54:46 +01:00
Nicola Mustone
6e9176a5bf
Fix disable password submitting twice
2014-10-16 21:59:45 +02:00
Nicola Mustone
09737a0ef2
wrong spacing
2014-10-16 21:41:09 +02:00
Nicola Mustone
df13e6068f
Ratings hidden when reviews are disabled
2014-10-16 21:38:04 +02:00
James Koster
1a5b9aced3
customer details. closes #6470
2014-10-16 17:01:00 +01:00
Mike Jolley
185021408d
Merge pull request #6532 from woothemes/enhancement/6502
...
Added customer note to order details screen.
2014-10-14 14:40:08 +01:00
Mike Jolley
32c6ae37ed
Fix $base notice in email template
2014-10-14 11:54:30 +01:00
Mike Jolley
f2d668a6b6
Allow a delimiter to be set in $item_meta->display()
...
Fixes #6526
2014-10-14 11:54:20 +01:00
Barry Kooij
08f35b0e2f
Added customer note to order details screen.
...
Fixes #6502
2014-10-14 11:13:24 +02:00
Manos Psychogyiopoulos
1e44f0cd68
make variations script re-usable
2014-10-14 11:03:47 +03:00
Mike Jolley
bf885f846e
Refactor - get_product_search_form().
...
Also removed < 2.1 deprecated filter mapping.
Closes #4444
2014-10-10 12:48:05 +01:00
Patrick Rauland
24551df08f
removing straggler CSS styles from email header template
2014-10-08 15:56:03 -06:00
Patrick Rauland
e1f0b406f7
updating email header version number
2014-10-08 15:54:28 -06:00
Kathy Darling
a13218eba2
add customer details and addresses to emails via `woocommerce_email_customer_details` hook
2014-10-08 23:47:50 +02:00
Patrick Rauland
fc630ca203
replacing old email style inliner with emogrifier inliner
2014-10-08 15:33:45 -06:00
Mike Jolley
ca8feecdde
Merge pull request #6463 from tivnet/patch-2
...
Adding "global" docblock for proper code validation
2014-10-06 14:27:47 +01:00
James Koster
ef28c43862
move proceed to checkout button. closes #5496
2014-10-06 12:33:39 +01:00
Gregory Karpinsky
511e8b1b5b
get_page() is deprecated since 3.5.0
2014-10-05 18:27:52 -04:00
Gregory Karpinsky
e86c8ec81c
Adding @global docblock for proper code validation
2014-10-04 09:30:42 -04:00
Mike Jolley
1c51ff6ec4
get_pagenum_link is wrapped in an escape
...
Closes #6407
2014-10-03 16:54:56 +01:00
James Koster
0fa63d6da0
responsive orders table and adds .shop_table_responsive. closes #5121
2014-10-02 20:44:38 +01:00
Mike Jolley
448337386f
Fix item_id notice
2014-09-23 15:53:20 +01:00
Mike Jolley
1c6ed3dd2d
Merge pull request #6362 from axisthemes/ABSPATH-3
...
Absolute path should have curly braces - Final
2014-09-23 09:53:59 +01:00
shivapoudel
61430e1515
Absolute path should have curly braces - part 2
2014-09-22 22:22:57 +05:45
shivapoudel
fbf0314bb6
Absolute path should have curly braces - part 1
2014-09-22 22:16:03 +05:45
Loushou
d729faeb4d
renaming and adding more new filters for custom metalike fields
...
changing order of existing display items to meta then downloads
loushou
2014-09-22 07:37:31 -07:00
Loushou
ed603eef42
filters for custom order item information on oi display tables
...
loushou
2014-09-18 09:10:56 -07:00
Mike Jolley
0bcdc97d63
Update template version in form-shipping
...
#6225
2014-09-12 14:28:57 +01:00
claudiosmweb
066eb3c5b0
fixed wc_get_order_status_name() appear as wc 2.1 order status
2014-09-12 10:01:49 -03:00
Mike Jolley
22788e505d
Encoding of pagination link when using default permalinks.
...
Fixes #6220
2014-09-11 15:00:44 +01:00
Remi Corson
b126cc1c63
fixed order status translation
2014-09-11 08:39:00 +02:00
Ninos Ego
cc6cf6a881
Template breadcrumb - only remove last seperator
...
We should use ``rtrim()`` instead of ``trim()``, because otherwise
(depending to the $delimiter/$before/$after) it's possible to remove
also something from the beginning of the $parents variable.
2014-09-10 01:09:40 +02:00
Mike Jolley
20407c8cc0
Fix extra delimiter in breadcrumbs Closes #6153
2014-09-04 10:17:19 +01:00
splashingpixels
91768526de
reverted rich snippet currency to priceCurrency due to a typo in Googles Rich Snippets docs
2014-09-03 19:06:44 -07:00
claudiosmweb
063d1eb349
fixed the access permissions
2014-09-01 12:44:51 -03:00
Mike Jolley
01b5f5afec
Sanitize taxonomy names Closes #6124
2014-08-29 10:18:36 +01:00
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
Roy Ho
2dcd0149db
missing ending semicolons on wp_nonce_field()
2013-12-07 10:49:53 -08:00
Coen Jacobs
1f5f163916
Added option to hide Returning customer message. Closes #4220
2013-12-05 10:43:46 +01:00
Coen Jacobs
a3200c062e
Made #4284 added filter a little more descriptive
2013-12-05 09:43:57 +01:00
Patrick Rauland
453dc5a645
adding woocommerce_terms_is_checked filter
2013-12-04 10:56:31 -06:00
James Koster
b69c8da6a5
twenty fourteen compat. closes #4272
2013-12-03 16:53:47 +00:00
Mike Jolley
3c537d8373
Show names and urls for emails in plain text Closes #4259
2013-12-03 16:50:19 +00:00
Mike Jolley
b467bca6f3
Merge pull request #4242 from ragulka/pay-order-button-filter
...
Allow filtering Pay for order button text and html
2013-12-03 08:24:58 -08:00
Mike Jolley
8ad1232d93
Use function for lost password url
2013-12-03 16:00:26 +00:00
Mike Jolley
e0779b0f06
Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210
2013-11-28 17:23:45 +00:00
Illimar Tambek
82a130e23d
Introduce woocommerce_pay_order_button_text and woocommerce_pay_order_button_html filters
2013-11-28 18:10:50 +02:00
Mike Jolley
2bd40b29b2
Humanize order number/status string Closes #4225
2013-11-27 15:53:57 +00:00
Mike Jolley
1f7c249429
Grammar of no products found message Closes #4217
2013-11-27 15:14:47 +00:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Mike Jolley
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
1663eafb68
Customer functions woocommerce to wc refactor
2013-11-25 13:52:53 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Coen Jacobs
a44702163f
Remove deprecated loop-shop.php. Closes #4194
2013-11-25 12:11:59 +01:00