Commit Graph

2312 Commits

Author SHA1 Message Date
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 &ndash; 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 &darr; 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
Andrew Benbow 437b224f7b Fix variations not showing in all cases for draft products 2013-11-25 09:03:07 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard de77ec07ea esc_url() all the things. 2013-11-20 19:54:01 +01:00
Mike Jolley 12bac47f85 Ancestor check 2013-11-20 17:36:07 +00:00
Mike Jolley 3d01a288ec hook: 'data-rel', Closes #4115 2013-11-18 13:00:56 +00:00
Coen Jacobs 90008d7143 Merge remote-tracking branch 'thenbrent/new_notice_api'
Conflicts:
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-message-functions.php
	woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Coen Jacobs f0adcb65b7 Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396' 2013-11-18 12:33:23 +01:00
thenbrent 3c625eba5f Use $messages variable for all notice templates 2013-11-13 16:19:59 -08:00
thenbrent 41c1bd6b82 Use wc_print_notice() for checkout notices 2013-11-13 16:10:49 -08:00
thenbrent 41ba6578a0 Move notice templates into /notices/notice.php 2013-11-13 16:09:28 -08:00
Mike Jolley 35fc728090 Login form hooks Closes #4059 2013-11-13 12:12:27 +00:00
Mike Jolley 9c83947613 Notice on no shop page 2013-11-13 12:12:27 +00:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 30424feb30 Initial commit of notices.php template
Part of #4034
2013-11-12 20:59:04 -08:00
Mike Jolley 70e2a05bd6 wpautop when displaying values #3926 2013-11-11 13:50:36 +00:00
thenbrent e6b83b32ce Set correct version on notices.php template 2013-11-06 10:26:58 -08:00
James Koster 2ce069ea2e payment heading 2013-11-06 13:56:59 +00:00
Brent Shepherd 9de928baf5 Add new notices API for blue info message
Part of #4034
2013-11-05 16:11:50 -08:00
Brent Shepherd 4a7f207eff Use new ID for add pay method form
Part of #3396
2013-11-05 15:36:00 -08:00
Brent Shepherd b69066405b Move /add-payment-method/ endpoint to /my-account/
Part of #3396
2013-11-05 13:02:13 -08:00
Mike Jolley c530e8bfcd Schema: ProductID can now be SKU, added URL 2013-11-04 12:53:49 +00:00
thenbrent e80f71d73c Improve form-add-payment-method.php error & button
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent ca01d7b1a5 Fix up markup on form-add-payment-method.php
So that checkout.js correctly displays payment method's fields.
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent ac548d6610 Add form-add-payment-method.php 2013-11-03 16:53:30 -08:00
thenbrent 9716c985cd Fix markup on form-pay.php
Payment method fields were not displaying on the "Checkout -> Pay" page
because checkout.js was using a input#payment_method_{name} selector, which
worked fine with the payment method markup used in the review-order.php template,
but not with the markup used in the form-pay.php template.

This moves the #payment_method_{name} attribute from the <li/> elements to the
<input/> element so that checkout.js correctly display's payment method fields.
2013-11-01 11:54:29 -07:00
Mike Jolley 19fcf30a66 Option to limit reviews to purchasers. Closes #4021 2013-10-31 17:37:36 +00:00
Mike Jolley b4d1c764d5 Move average rating outside of hidden tab. Closes #3867. 2013-10-31 16:26:20 +00:00
Mike Jolley f6b317f199 Labels need to be clickable 2013-10-31 12:01:11 +00:00
Mike Jolley 95c0a67fdf Merge pull request #4017 from scottbasgaard/master
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-29 09:49:55 -07:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +00:00
James Koster 1fbb6249ff Replaced &rarr; / &larr; on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00:00
Scott Basgaard 507b7bec96 Use wp_nonce_field. $woocommerce->nonce_field is deprecated. 2013-10-26 16:39:10 +02:00
Bernard Peh 09155c490f same issue as #4005 but on different template. 2013-10-26 08:02:08 +11:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley f742a91435 Rejig login form closes #4005 2013-10-25 16:10:13 +01:00
Mike Jolley 8fcb35c5dc Merge pull request #4008 from RistoNiinemets/master
additional customer details hook
2013-10-25 07:56:04 -07:00
RistoNiinemets 388e962dc9 additional customer details hook 2013-10-25 13:54:49 +03:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley c3aba912db Merge pull request #3975 from samuelaguilera/patch-1
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:35 -07:00
Mike Jolley d41979a5d0 Merge pull request #3976 from samuelaguilera/master
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:28 -07:00
samuelaguilera 301d8e1820 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:46:00 +02:00
samuelaguilera ef452e9384 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:40:44 +02:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Mike Jolley 004e556e18 Check product var is set 2013-10-16 10:52:35 +01:00
Mike Jolley 08bfd6b4d7 woocommerce_before_single_variation and after. Removed un-needed div. Closes #3906 2013-10-16 10:41:23 +01:00
Mike Jolley 5c96af4ff9 #3921 2013-10-15 16:27:57 +01:00
James Koster 13bcae2d63 returning customer login. closes #3903 2013-10-10 10:29:16 +01:00
Mike Jolley 5c8d8bbda9 fix urls 2013-10-02 13:04:28 +01:00
Gregory K 6f43712d06 Fixed spacing in () (again) 2013-09-25 12:14:35 -04:00
Gregory K 7e76ed7205 Fixed spacing in () 2013-09-25 11:49:51 -04:00
Gregory K 93e0107aff Fix product links in Cart when no variation 2013-09-25 10:48:51 -04:00
Mike Jolley ef49977905 add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
Closes #3484 and Closes #3143. Pinging @thenbrent as the handler was
originally his idea and I've killed it.

@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley e58b101fd5 If no variations exist, show out of stock notice. Closes #3763. 2013-09-25 09:36:04 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley a5d71a8113 Fix for submitting comments 2013-09-24 11:48:42 +01:00
Mike Jolley 9b446508a7 Merge pull request #3823 from tivnet/master
Use get_the_title() instead of $post->title
2013-09-24 03:45:14 -07:00
Gregory K c401ac98e7 Use get_the_title() instead of $post->title, because there could be 'the_title' filters 2013-09-23 19:10:14 -04:00
Mike Jolley 0a3cdc43ca Include a link to admin. Closes #3796 2013-09-23 16:51:43 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley ed87e72947 Merge pull request #3815 from pmgarman/master
Don't display shipping address if shipping is disabled
2013-09-23 07:51:37 -07:00
Mike Jolley 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
Patrick Garman 87c1c46317 Hide shipping address if shipping is disabled 2013-09-21 14:52:49 -05:00
Patrick Garman 52cf2b7628 Hide shipping address if shipping is disabled 2013-09-21 14:51:06 -05:00
Patrick Garman 249380562a Don't display shipping address if shipping is disabled 2013-09-21 14:13:51 -05:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Mike Jolley 3ee6e2fa22 Validate rules, instead of doing it by key. Closes #3792. 2013-09-19 14:39:53 +01:00
Mike Jolley ee0ea942d7 Merge pull request #3676 from dominic-p/view-order-template
Add template for single order view in my account
2013-09-17 03:49:43 -07:00
Illimar Tambek c599c5ecbe Add 'woocommerce_my_account_edit_address_title' filter 2013-09-17 12:14:48 +03:00
Dominic d06a15ea72 Add a template for view order shortcode
Instead of hard coding the HTML into the shortcode definition.
2013-09-16 14:57:10 -07:00
Mike Jolley 5f741819b9 Merge pull request #3757 from ragulka/address-hooks
Allow using custom address types
2013-09-13 08:03:55 -07:00
Mike Jolley 7cf3c67c76 Wrapper for wp_get_post_terms to handle parent sorting. Closes #3762. Closes #3758
@coenjacobs for .15
2013-09-13 12:07:58 +01:00
Mike Jolley 9e30ebbaa9 Merge pull request #3741 from ragulka/security-improvements
Frontend security improvements
2013-09-13 03:33:09 -07:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Illimar Tambek c9a6907fc6 Add woocommerce_my_account_get_addrresses filter and allow getting custom address type fields. 2013-09-10 15:39:23 +03:00
Patrick Rauland b6fa3e913b fixing unescaped character in date function 2013-09-06 15:35:21 -05:00
Illimar Tambek cab01adea7 Show woocommerce messages in empty cart. Fixes issues when a message is queued to be displayed and user is redirected to cart page where he/she can not see any messages. 2013-09-06 17:31:41 +03:00
Mike Jolley a92e3b497a Missing line break in email Closes #3727 2013-09-06 10:20:26 +01:00
Mike Jolley bfc2b52d10 Ensure product image has title 2013-09-04 14:17:17 +01:00
claudiosmweb 92b8dc48fa fixed indentation 2013-08-25 16:04:16 -03:00
claudiosmweb 78504f5373 update inline documentation in content-product.php and content-single-product.php 2013-08-25 16:02:44 -03:00
Mike Jolley 64d87cbef7 Make logout an endpoint. Still hide it from menus. Fixes #3589
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley 27053e1abd escaping 2013-08-22 17:20:28 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley 5f2e489944 simpler woocommerce_get_product_schema function.
Closes #3297.
2013-08-20 13:52:06 +01:00
Mike Jolley 2e6aaa9ede Hide password protected posts from loop, prevent adding to cart, hide product content. Closes #3617. 2013-08-19 18:19:27 +01:00
Mike Jolley e01df544ec Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
@todo store shipping methods in the order
@todo test with PP shipping real world

cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley 2b31cdb360 Cart item data templates Closes #3216. 2013-08-13 14:14:24 +01:00
Mike Jolley ea7b12a366 Merge pull request #3596 from ninnypants/fix_product_result_count
Fix result count display when posts_per_page is set to -1 @coenjacobs .14
2013-08-09 03:00:47 -07:00
Mike Jolley b2b64b9d06 Let hooks know if email is plain text 2013-08-07 10:19:46 +01:00
ninnypants bae61b8e1a Fix result count display when posts_per_page is set to -1
When your posts_per_page is set to -1 the display is output as `Showing 1–-1 of 15 results` when displaying all items when it would be better to show `Showing all 15 results`
2013-08-06 16:06:18 -06:00
James Koster 719acf5104 review gravatar size filterable & added alt text 2013-08-05 13:54:27 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 9f1c14c682 Tidied comment styling and only show stars if set Closes #2906. 2013-07-31 09:44:28 +01:00
Mike Jolley 596f4d1a23 More login hooks Closes #3543. 2013-07-30 13:38:45 +01:00
Mike Jolley 55150a08d8 Notices 2013-07-30 13:03:18 +01:00
Mike Jolley 45ec540236 fix notice with sku 2013-07-30 11:39:25 +01:00
Mike Jolley 15f98496f1 Ensure sku placeholder exists for variable products Closes #1734. 2013-07-30 11:12:47 +01:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley 7221cc1a26 woocommerce_review_order_before_payment hook. #3501 2013-07-22 18:06:03 +01:00
Mike Jolley 8c57fce84d Fix rich snippets for sale prices. Closes #3470. 2013-07-19 15:28:47 +01:00
Mike Jolley 08ef109e28 Related were limited to 5. Closes #3462 2013-07-19 14:50:52 +01:00
Mike Jolley 79bdbbe4d0 Localisation Closes #3456. 2013-07-19 14:46:02 +01:00
Mike Jolley f23f536f12 Logic for additional info header 2013-07-11 16:11:28 +01:00
Mike Jolley c9f051dee2 Cart empty classes. Closes #3357. 2013-06-28 10:10:13 +01:00
Mike Jolley efb7c98067 woocommerce_product_review_list_args 2013-06-18 11:02:06 +01:00
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +01:00
Mike Jolley 1e94bbc990 Review nonce. Closes #3324. 2013-06-14 16:15:26 +01:00
Mike Jolley b38ef8efcd No add to cart redirect, and use POST for add-to-cart Closes #3200 2013-06-14 12:48:41 +01:00
Mike Jolley 0539f808bf Remove need for pre-ambles - standardize hooks. Closes #3181. 2013-06-14 12:21:38 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Coen Jacobs ef2edd5de7 Merge pull request #3288 from woothemes/core-class-refactor
Further core class refactor
2013-06-11 02:48:55 -07:00
claudiosmweb 414b971907 fixed the noreviews L10n 2013-06-10 03:51:43 -03:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Mike Jolley cea7037b56 Canonicalize Cross-Sells invokation Closes #2913 2013-06-05 17:29:10 +01:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +02:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley 820d399b2f My account registration, made registration process DRY, added notification hook for new accounts. Closes #3085 2013-06-04 16:33:05 +01:00
Mike Jolley a7ba197fb7 Generate usernames and passwords.
Closes #3085. Closes #3155. Part of #3248.
2013-06-03 17:28:32 +01:00
Mike Jolley ef49fd62df Tweak account options 2013-06-03 16:09:04 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +01:00
Coen Jacobs 6f737227ff Rename Shipping also on checkout #3160 2013-05-21 12:23:56 +02:00
valllabh 9c4326083b #3160 Fixed
#3160 Fixed

Renamed "Shipping" to "Shipping and Handling"
2013-05-16 18:38:34 +05:30
Mike Jolley 6fc0d27006 content-widget-product.php template for product lists inside core widgets Closes #3133 2013-05-13 15:12:12 +01:00
Coen Jacobs bb68ce7fd2 Added filter to explicitly hide terms agreement checkbox. Closes #3088 2013-05-13 13:41:52 +02:00
Tiago Noronha 9a37a01bc9 Prevents 'undifined' from showing up in Lightbox 2013-05-10 11:37:55 +01:00
ronnybjornstad 1abd5287bd Make date in Customers Order Notes localized
Added missing localization code to line 37.
2013-05-07 16:12:38 +03:00
Coen Jacobs f03735d8f6 Add 'woocommerce_create_account_default_checked' for #3098 2013-05-06 12:03:31 +02:00
Mike Jolley 91ab91cfe6 Reverse breadcrumbs Closes #3065. 2013-05-01 15:38:40 +01:00
Mike Jolley 1630a1d1af Separate with line breaks. Closes #3049 2013-04-29 16:47:33 +01:00
Mike Jolley 62c38fb7eb form-row-wide Closes #3028. 2013-04-29 15:51:17 +01:00
Mike Jolley a0a0c93fb4 Merge pull request #3037 from scarydakis/master
Fix incorrect CSS class being output in product image gallery
2013-04-29 01:50:48 -07:00
Stephan 769fada460 Update product-image.php
Fix to correctly calculate $attachment_count
2013-04-27 00:42:41 +10:00
Mike Jolley 77aa394093 Prevent empty meta queries by filtering. Closes #2978. 2013-04-17 16:29:43 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley 6a96cc5d4c Less fugly conditonal. 2013-04-16 14:47:16 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley 6924817c22 City field on shipping calc 2013-04-15 11:35:31 +01:00
claudiosmweb 6adec88c40 fixed woocommerce_my_account_my_address_formatted_address filter name 2013-04-08 17:15:51 -03:00
Mike Jolley 594bc7b383 Tweak filter name #2895 2013-04-08 20:36:36 +01:00
Mike Jolley de3cce85dc Merge pull request #2895 from claudiosmweb/address_filters
Added new filters to format the address
2013-04-08 12:35:33 -07:00
Mike Jolley b183fb2fb7 Better breadcrumbs Closes #2882 2013-04-08 20:10:55 +01:00
Mike Jolley ccf31dde34 Merge pull request #2898 from deliciousbrains/bug-query-string-in-file-name
Fixes #2897: Long query string displayed as part of download file name
2013-04-08 11:51:23 -07:00
Mike Jolley f930ab27b6 More validation fixes. #2903. 2013-04-08 19:35:10 +01:00
Mike Jolley 0b87c37c7b Merge pull request #2889 from growdev/master
Fixes to template files that were causing validation errors.
2013-04-08 10:57:02 -07:00
Mike Jolley 57054b03d5 Orders dont' need to be public, and fix for order details when product does not exist. 2013-04-08 17:54:16 +01:00
Daniel Espinoza e0f6d5dfe0 Merge branch 'master' of github.com:woothemes/woocommerce 2013-04-08 10:46:55 -05:00
James Koster b5959a5d20 filters for cross-sell display 2013-04-08 11:46:11 +01:00
Brad Touesnard f6892a676c Fixes #2897: Long query string displayed as part of download file name 2013-04-07 15:13:47 -03:00
claudiosmweb 2aa712ef4a added filters to format the address 2013-04-07 05:31:21 -03:00
Daniel Espinoza eb6dfe9ad4 Changes to template files that were causing validation errors. 2013-04-05 21:56:36 -05:00
James Koster aebcf3ded6 twentythirteen bits 2013-04-05 16:17:41 +01:00
Mike Jolley d5480ba408 woocommerce_show_page_title filter closes #2850 2013-04-05 13:02:48 +01:00
Roy Ho 83a794bb68 Added filter hook on place order button for easy 3rd party manipulation 2013-04-01 16:45:28 -07:00
Mike Jolley bb1c532218 filename, break query string off 2013-03-28 12:31:48 +00:00
Mike Jolley a9af966f59 break word 2013-03-28 12:30:21 +00:00
Mike Jolley c752ba4a9f Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes. #2815 2013-03-27 18:21:06 +00:00
Mike Jolley c227c97417 Merge pull request #2760 from Geczy/master
Tabindex -1 on anti-spam input field
2013-03-22 11:00:23 -07:00
James Koster 0e639c47fb Disabled keyboard shortcuts in prettyPhoto. Closes #2770
Not happy with this. The keyboard_shortcuts paramater doesn't seem to
work so had to disable in core which hits all instances of prettyPhoto.
Will revisit.
2013-03-22 00:24:00 +00:00
Mike Jolley 1853d639a8 Change filter name as its not neccessarily just for checkout. 2013-03-20 13:07:51 +00:00
Mike Jolley 3f7876063e Made no shipping available messages filterable via woocommerce_cart_no_shipping_available_html and woocommerce_checkout_no_shipping_available_html 2013-03-20 13:04:06 +00:00
Matt d6f0b02313 Tabindex -1 on anti-spam input field 2013-03-19 15:14:09 -04:00
Mike Jolley bb35c49c8f Merge pull request #2737 from Joris-van-der-Wel/issue2736
Fix for issue 2736.
2013-03-18 03:26:17 -07:00
Mike Jolley 41f44cac0c #2748 filters consistant with cart 2013-03-18 10:17:25 +00:00
Justin Stern f4076b888f Product Stock Filters
Added a number of filters related to product stock to allow for improved
control over the stock handling and display
2013-03-18 01:38:22 -04:00
Joris van der Wel a028cbe1be Fix for issue 2736.
Arrays in query strings are now preserved. For example ?cat[]=5&cat[]=10&cat[]=20
2013-03-16 16:05:11 +01:00
Mike Jolley 67c5fd1794 Fix reviews + use functions in reviews tab. 2013-03-15 12:59:01 +00:00
James Koster 3d3df8f70d message icon in FF & prettyPhoto nav when only one product image fix 2013-03-12 11:05:18 +00:00
Mike Jolley bc4cc8bf7e Codestyling bug with meta.php 2013-03-11 18:08:55 +00:00
Mike Jolley c247ca0bb7 Show download file names when linking. Shortens links and therefore closes #2631. cc @coenjacobs 2013-03-10 16:24:04 +00:00
Mike Jolley bfb542b930 Prepend when permalink shows shop base. Closes #2655. 2013-03-10 15:12:18 +00:00
Mike Jolley eb11384fa9 Merge pull request #2647 from leewillis77/msrp_hooks
Add additional hook to grouped product add-to-cart template
2013-03-10 06:10:44 -07:00
Mike Jolley 600f8728a0 Tweaked filter names + structure. #2659 2013-03-10 13:07:36 +00:00
Roy Ho 983f455a6d Added filters on the product image HTML and product thumbnails for 3rd party customizations 2013-03-09 13:34:52 -08:00
Lee Willis 7a8f87428c Add additional hook to grouped product add-to-cart template 2013-03-08 18:26:01 +00:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Max Rice 61bfe201d1 Add filters to allow orders with custom statuses to be paid/cancelled 2013-03-06 18:42:48 -05:00
Mike Jolley 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Brent Shepherd b0d538636a Restore single_add_to_cart_button class 2013-03-05 14:26:59 +10:00
Brent Shepherd 3935034bc0 Fix grouped products sold individually add-to-cart
The add-to-cart button for products sold individually on a grouped
product page would always lead to the "Please choose a product to
add to your cart" error. This fixes that, and also restores th
'single_add_to_cart_text' filter to the button's text.
2013-03-05 14:22:54 +10:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Brent Shepherd 4edd972644 Use handler for add-to-cart button text also
Related to SHA: bd78ca6
2013-03-01 14:52:04 +10:00
Mike Jolley 69db6a4262 Login form initial state. Closes #2505. 2013-02-25 10:17:16 +00:00
Mike Jolley aa250f35a7 Hook should be after messages. #2510 2013-02-25 10:10:11 +00:00
Ken Bass edc53f4624 Add encompassing hooks to cart and mini-cart 2013-02-22 13:14:59 -05:00
Mike Jolley c086d7236a Initial display Closes #2505. 2013-02-22 08:55:48 +00:00
James Koster 90d7e20d6e no products found class
left loop-shop as it's deprecated
2013-02-16 19:41:23 +00:00
Mike Jolley e4eb7e295c Un-needed clear 2013-02-15 10:06:41 +00:00
Mike Jolley 7cee909c70 'for' 2013-02-15 10:06:32 +00:00
Mike Jolley a98de826f0 Tidied up order display #2452 Added new line count function 2013-02-15 09:54:06 +00:00
Mike Jolley d7cda7ffd3 Merge pull request #2452 from krbvroc1/order_status_actions
Make my_order filters more flexible
2013-02-15 01:12:40 -08:00
Ken Bass 91d77c5392 Make my order filters more flexible 2013-02-14 14:33:47 -05:00
Mike Jolley 858465b991 Fix lightbox Closes #2451. 2013-02-14 17:12:21 +00:00
Mike Jolley 18ab00d10d escape for #2441 2013-02-14 16:50:45 +00:00
yitzchak 2086c66d22 Update templates/loop/add-to-cart.php
Added data-product_sku attribute to allow SKU tracking in analytics from shop loop.
2013-02-13 14:29:33 -05:00
Mike Jolley 30e6beb861 Fix buttons and externals. Closes #2437. 2013-02-13 09:29:00 +00:00
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Mike Jolley 3a43c231f5 Revert "Remove deprecated loop-shop"
This reverts commit 927229a835.
2013-02-12 10:54:40 +00:00
Mike Jolley b67492fe68 Hide thumbnails when empty. Closes #2409. 2013-02-11 14:17:57 +00:00
Mike Jolley bc51d5652b Put back coupon option. 2013-02-11 13:53:24 +00:00
Mike Jolley 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Mike Jolley be254db6f9 no products found 2013-02-10 23:01:09 +00:00
Mike Jolley b1b1afbaeb Move tabs file 2013-02-10 18:49:22 +00:00
Mike Jolley 3e5b4141f6 Refined the way in which tabs are added to products 2013-02-10 17:33:13 +00:00
Mike Jolley 55d2237d9f Rename sorting template 2013-02-10 17:32:45 +00:00
Mike Jolley bf5c90e2ba Remove pagination hook - use after loop instead. 2013-02-10 16:06:15 +00:00
Mike Jolley 45ea0fc852 Change template name 2013-02-10 16:05:40 +00:00
Mike Jolley 927229a835 Remove deprecated loop-shop 2013-02-10 11:12:34 +00:00
James Koster aa5db92a88 filterable breadcrumb home url 2013-02-08 17:45:39 +00:00
Mike Jolley c903e47089 Improve variation form pattern and data 2013-02-07 10:12:08 +00:00
Justin Stern 0c97536e96 Filter for Shipping Method Full Label
Adds a filter on the shipping method full label value in the cart
shipping methods template
2013-02-02 12:50:53 -05:00
James Koster f3b0530c05 anchor title 2013-02-01 12:44:40 +00:00
James Koster ac70b46867 more prettyPhoto 2013-01-31 14:15:55 +00:00
Mike Jolley a41d297f76 woocommerce_product_review_comment_form_args filter #2316 2013-01-31 12:28:54 +00:00
James Koster 6ae394bec0 replace the rels, minify css 2013-01-30 23:56:41 +00:00
James Koster cf00520b4c step 1 of replacing Fancybox with prettyPhoto 2013-01-30 16:18:36 +00:00
Ken Bass 20bfaea36c Issue 1950 2013-01-21 10:12:15 -05:00
Mike Jolley 44013d4480 fix undefined when switching country from select to input 2013-01-16 12:46:19 +00:00
Mike Jolley 31be242a6b Fix ordering. Closes #2229. 2013-01-15 12:10:03 +00:00
Mike Jolley 192a8c5421 star ratings without images. 2013-01-14 10:51:06 +00:00
James Koster 0fdf9032ec Revert "loop ratings an option"
This reverts commit a23fde9491.
2013-01-12 15:55:52 +00:00
Mike Jolley 813f8b8c2e Merge pull request #2221 from GeertDD/sorting-optimization
Small optimization for showing the sorting selection
2013-01-12 07:21:07 -08:00
Mike Jolley b0d22c079b Merge pull request #2220 from GeertDD/sorting
Simplified code for keeping query string vars intact
2013-01-12 07:20:53 -08:00
Geert De Deckere 74b3f4d032 Small optimization for showing the sorting selection 2013-01-12 16:12:17 +01:00
Geert De Deckere 601ca30600 Simplified code for keeping query string vars intact 2013-01-12 16:08:23 +01:00
James Koster a23fde9491 loop ratings an option 2013-01-12 14:24:22 +00:00
Mike Jolley 624e8fb59a maintain vars when sorting 2013-01-12 12:24:24 +00:00
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Mike Jolley 0caca2d401 GET vars for sorting (to work better with cache) 2013-01-12 10:53:08 +00:00
Mike Jolley 1766f07c19 Meta_queries Closes #2182. 2013-01-10 16:02:04 +00:00
James Koster cf3369b7e6 Log in language 2013-01-10 15:07:10 +00:00
Coen Jacobs f9a0eddbbf found_posts always contains total queried posts. Closes #2136
So no need to check for post_count or is_paged() function.
2013-01-10 12:07:00 +01:00
Geert De Deckere 28b0a5ba60 Moving custom product classes to the post_class filter 2013-01-09 15:15:25 +01:00
James Koster cdb98d479c changed class to avoid conflicts 2013-01-09 10:57:14 +00:00
James Koster 38e2d622ee changed class to avoid conflicts 2013-01-09 10:43:01 +00:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Mike Jolley 75e1d6a665 sorting is_paged #2136 2013-01-07 16:02:07 +00:00
Mike Jolley e48e280c7a post count check #2136 2013-01-07 14:17:41 +00:00
Mike Jolley c1004ff54d Stray quote. Closes #2142. 2013-01-07 13:21:05 +00:00
Mike Jolley 339a506112 Merge pull request #2146 from GeertDD/visibilty
Spelling fix for "visibilty"
2013-01-04 18:16:19 -08:00
Geert De Deckere f4bddb0bbc Add CSS class to featured products and products on sale 2013-01-04 17:02:29 +01:00
Geert De Deckere f684304ed3 Use post_class() in product loop 2013-01-04 16:53:43 +01:00
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Geert De Deckere 319c81b403 Made title attribute for product quantity inputs translatable 2013-01-03 14:18:30 +01:00
Mike Jolley b6387a152e New checkout field layout Closes #2120. 2013-01-03 12:37:07 +00:00
Geert De Deckere e122c78cab A few more CSS class updates #2086 2013-01-03 13:21:26 +01:00
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Mike Jolley 4f8ef0cd02 Cleaned up description hooks Closes #2125. 2013-01-03 10:19:56 +00:00
Mike Jolley 7bd2740ba2 Some code cleanup and comments #1765 2013-01-02 12:59:41 +00:00
Mike Jolley c20e332863 Merge pull request #2103 from foxrunsoftware/master
Hooks for added customization
2013-01-02 04:13:30 -08:00
James Koster 1622b7b2b7 consistent title on rating 2013-01-02 12:06:15 +00:00
Justin Stern 1bd820369c Loop 'add to cart' link customizable
added apply_filters to loop 'add to cart' link/button
2012-12-31 17:13:19 -05:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley 4988e0f444 Consistant hooks for review order/cart totals - Closes #2076. 2012-12-29 19:04:18 +00:00
Mike Jolley 2b4c428414 actions hook for buttons. Closes #2074. 2012-12-28 20:04:18 +00:00
Geert De Deckere c264829231 Made the home link optional in the breadcrumb 2012-12-28 17:18:54 +01:00
Mike Jolley 6ef1d9222c Merge pull request #2052 from GeertDD/result_count
Improved the result-count template
2012-12-27 10:36:53 -08:00
Mike Jolley 9b8084ec0a Merge pull request #2066 from daltonrooney/master
Upsells and cross sells show current product
2012-12-27 10:20:53 -08:00
Dalton Rooney 0b466952ca Related should not include current product 2012-12-27 10:27:20 -05:00
Dalton Rooney 1c01ad3f1c Upsells should not include the current product 2012-12-27 10:26:31 -05:00
Ken Bass 30f539cbde Fix spaces per WP Coding Standards 2012-12-27 08:09:01 -05:00
Geert De Deckere a0b8ee16c5 Improved the result-count template
- Coding style: mid-line indenting which should be done using spaces.
- Renamed `$max` to `$total`.
- Simplified calculation of `$last`.
- Using en dash between range of values: http://en.wikipedia.org/wiki/Dash#Ranges_of_values.
- Tweaks to the “Showing 1–10 of 12 results” result text:
  - Converted `%s` to `%d`.
  - Used numbered placeholders (like `%1$d` and `%2$d`) which allows for more flexible translations since the placeholders can be swapped and repeated now.
  - Used `_x()` with comment to clarify placeholder order.
- Added two additional texts:
  - One for showing the only single result because “Showing 1–1 of 1 results” is overly verbose.
  - One for when all results are shown on the same page because “Showing 1–8 of 8 results” is a bit too verbose too.
2012-12-25 10:17:15 +01:00
Ken Bass 8debb1697c Fix reset password URL to work with non-pretty permalinks
Fix security issue where new password is being changed on non-SSL page.
2012-12-25 00:19:33 -05:00
Mike Jolley 0fb50856b9 Account page tweaks for #2027 2012-12-23 12:19:56 +00:00
Brian Richards 3b9b100356 Clean up my-account template
This patch moves Available Downloads into it's own separate template
file, and moves the titles for Recent Orders and My Addresses into
their respective templates as well. This patch also adds a couple of
new hooks and filters for making templating even easier.
2012-12-20 11:34:39 -05:00
Mike Jolley e7e12714c1 Tweak style and function names for image handling. 2012-12-20 10:53:34 +00:00
Mike Jolley c8852bcf40 Revised, roduct gallery panel, images stored in meta = more flexibility. 2012-12-20 01:13:06 +00:00
Mike Jolley 83377af6b4 Finnish translation Closes #2021. 2012-12-19 18:43:35 +00:00
James Koster e1970c497b consistent titles on star ratings 2012-12-17 14:48:19 +00:00
Mike Jolley b0c2a11c90 1 table but no colspans, qty column removed 2012-12-16 16:28:54 +00:00
grappler 786d27be88 Split review items from total
This change give the user more control and makes the page better for mobile sites. An example can be seen here.
https://www.shultzilla.com/checkout/
2012-12-15 17:29:01 +01:00
James Koster 5a8e25d743 noreviews class 2012-12-13 16:17:32 +00:00
Mike Jolley 7a0c734188 Fix prepares. Closes #1973. 2012-12-12 10:28:02 +00:00
Mike Jolley 681a2a8ba5 Groups product titles. Closes #1966. 2012-12-11 17:28:47 +00:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
James Koster 8044d8c2af verified owner class 2012-12-10 11:48:50 +00:00
Mike Jolley eb2720b04d Clearfix Closes #1952. 2012-12-10 11:11:55 +00:00
Mike Jolley 2f04ea576d Checkout form JS. Closes #1954. 2012-12-10 11:06:14 +00:00
Mike Jolley f9fabcc251 Add a class for sub cats. #1930 2012-12-06 17:29:18 +00:00
Mike Jolley 5a82480958 OR not AND for permissions checks. #1922. 2012-12-05 16:13:08 +00:00
Mike Jolley ab40f7a01f Include currency code in schema. Closes #1896. 2012-12-05 13:44:02 +00:00
Steve Wicks a1b0c2522f loop_shop_columns filter to support one column products 2012-12-05 06:31:19 +00:00
Mike Jolley 5e4222fb7f Fix for fatal error on checkout Closes #1901. 2012-12-04 20:28:17 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 60626d25f9 The display options for taxes 2012-12-03 16:37:08 +00:00
Mike Jolley 3f0a698940 Tweak tax display - zeros option removed 2012-12-03 12:41:05 +00:00
Mike Jolley 3c66ddae42 Class tweaks, need more testing. Closes #1874. 2012-11-29 16:48:40 +00:00
Mike Jolley 0dd88985d7 woocommerce_subcategory_count_html Closes #1871. 2012-11-28 17:24:17 +00:00
Mike Jolley c47d398fda Show free text. Closes #1852. 2012-11-27 16:57:35 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs 71459fe75c __x should be _x. Closes #1820
Thanks @a1ur3l, you were right!
2012-11-26 12:18:33 +01:00
Leho Kraav f6e11bdb09 add missing standard classes for .shop_table td 2012-11-24 21:50:25 +02:00
Leho Kraav eeff8ce1cf add missing standard classes for .shop_table th
this probably needs further work to also add respective classes to td's
2012-11-24 21:36:16 +02:00
Coen Jacobs ad71e7cd9d Merge pull request #1802 from woothemes/Product-Classes
IMPORTANT MERGE: Product classes (read notes!)
See notes: #1802
2012-11-22 05:33:52 -08:00
James Koster b91806b6c8 in some countries accepting the terms isn't enough. 2012-11-22 11:29:33 +00:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01:00
Coen Jacobs 3734f7addc Changed rest of #1791 translatable strings to date_format 2012-11-21 12:16:17 +01:00
Coen Jacobs 9345985666 Merge pull request #1791 from jorijnsmit/patch-1
replaced hard coded date format with get_option('date_format')
2012-11-21 03:10:32 -08:00
Mike Jolley 8b7b297b8e 3.5 checks + 2012 tweaks. Closes #1788. 2012-11-20 13:03:45 +00:00
jorijnsmit 29f8d1bee7 Update templates/emails/admin-new-order.php
Instead of the hard coded date format the date format from the admin panel is now used with get_option('date_format').

A more uniform and neater solution then via codestyling localization to my idea, I don't know how to replace all date related functions in the project in this way though...
2012-11-19 22:04:37 +01:00
jorijnsmit 02261e975c Update templates/single-product/review.php
Replaced hard coded date format with get_option('date_format') so that date format from admin panel is used instead.

(woohoo, my first Github contribution :-))
2012-11-19 21:43:11 +01:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley 2d0909d28b Update weights/dimensions for variations if they differ. Closes #1629. 2012-11-16 13:50:15 +00:00
Mike Jolley 554634dd01 1 left in stock triggers is_sold_individually(). Closes #1701. 2012-11-15 15:28:08 +00:00
Mike Jolley d804588334 Fix emails in gmail + added a function to insert inline styles. Closes #1710. 2012-11-14 17:44:58 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley 8e74d043c1 template 2012-11-09 21:17:48 +00:00
Mike Jolley 2c26f06e55 Fees api started, and playing with line items 2012-11-09 21:15:15 +00:00
kathy 3acd6f21de Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	templates/checkout/form-pay.php
	templates/checkout/review-order.php
2012-11-07 19:04:00 -06:00
Mike Jolley 9971da5f86 Fix for #1707. 2012-11-07 21:23:45 +00:00
kathy 6eb5215da0 fix for #1707 2012-11-07 14:53:23 -06:00
Mike Jolley 7becdf346c kses 2012-11-06 12:52:08 +00:00
Mike Jolley 7a055f5296 Change class handling for country. Closes #1683. 2012-11-06 11:49:49 +00:00
Mike Jolley 357e35006c Moved page title logic to a function. #1612. 2012-11-04 16:01:40 +00:00
Mike Jolley bfe5e48fd2 Merge pull request #1612 from leewillis77/master
Allow archive page title to be filtered
2012-11-04 07:44:29 -08:00
Mike Jolley 817b17caac Tweak cart thumbnail display. Closes #1668. 2012-11-04 14:15:14 +00:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Mike Jolley aef75800c9 Update/install code + revised notices. 2012-10-18 10:33:06 +01:00
Mike Jolley 0d38e61e2d Sanitize fixes. Closes #1614. 2012-10-17 12:05:54 +01:00
Lee Willis 01a1a6b6a2 Allow archive page title to be filtered 2012-10-16 21:30:50 +01:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Coen Jacobs 80fc5fc086 [3.2.3] Templates XSS #1575 2012-10-16 17:35:16 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Mike Jolley 01e8bd6f08 Merge pull request #1604 from superjinya/patch-1
Update templates/single-product/add-to-cart/variable.php
2012-10-15 12:44:10 -07:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
superjinya 9554d3f253 Update templates/single-product/add-to-cart/variable.php
Variation options fixed as issues provided by ksemel. Woo Jin Koh
2012-10-15 11:01:42 +09:00
Mike Jolley 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley ee0ff453d0 singular/plural Closes #1479. 2012-10-12 19:48:49 +01:00
Mike Jolley 39b7567b0c product_variations[] Closes #1581. 2012-10-12 14:21:21 +01:00
Mike Jolley 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Coen Jacobs 610d17405e 'their' to 'there' fix. Closes #1593 2012-10-12 11:52:53 +03:00
Mike Jolley 3367403772 tweaks to password 2012-10-10 10:32:22 +01:00
Mike Jolley 07c9537fbb Merge pull request #1568 from maxrice/lost-password
added lost password shortcode / email notification
2012-10-09 22:09:25 -07:00
Mike Jolley 5868b63b93 Ordering options. Closes #1166. 2012-10-09 15:57:06 +01:00
Mike Jolley 0d6c533484 Hooks for downloads. Closes #1536. 2012-10-09 14:00:08 +01:00
Mike Jolley 79324412d4 sku tweak. Closes #1479. 2012-10-08 13:54:31 +01:00
Max Rice 2faa4d651b added lost password shortcode / email notification
I think the current process for a customer to reset their password is
jarring, especially if the shop hasn't styled the wordpress login form
to match their branding. The form process is mainly copied from the
same process in wp-login.php and fires the same actions to maintain
compatibility.
2012-10-04 14:51:07 -04:00
Mike Jolley 2a30cfda0e loop start and end. Closes #1356. 2012-09-30 14:41:07 +01:00
Brent Shepherd 137b01c74c Show taxes if there are formatted taxes
The cart only checks if an order has tax when deciding to
display taxes. Subscriptions 1.2+ stores recurring taxes
separately, so when an order has a free trial period
and no sign-up fee, order tax will be 0 but the
recurring taxes should still be displayed.
2012-09-24 12:55:57 +10:00
Mike Jolley e61c152a7c disable ratings option. Closes #1503. 2012-09-21 21:21:50 +01:00
Mike Jolley f6d0bd2c06 Upsells
* Tweak - Removed upsell limit - show whats defined.
* Tweak - Args for upsells to control per-page and cols.
2012-09-21 16:47:57 +01:00
Mike Jolley c271590fc9 Tweak templates 2012-09-17 11:36:30 +01:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 4c4bc9f5d2 Multi download features, and added the expirey back. 2012-09-06 16:16:16 +01:00
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 43bdc4ce99 Add ID to apply_filters post_title 2012-09-05 20:40:09 +01:00
Andrew Benbow 160c3bd897 Update templates/single-product/tabs/tab-description.php
Added apply_filters to the tab title
2012-08-31 14:08:06 +02:00
Andrew Benbow ea4ffae2d6 Update templates/single-product/tabs/tab-description.php
Reverted
2012-08-31 14:07:33 +02:00
Andrew Benbow 005648f4bb Update templates/single-product/tabs/tab-reviews.php
Added apply_filters to tab title
2012-08-31 14:05:43 +02:00
Andrew Benbow 5e13086cef Update templates/single-product/tabs/tab-description.php
Added apply filters to tab title
2012-08-31 14:05:03 +02:00
Andrew Benbow d4f7427d06 Update templates/single-product/tabs/tab-attributes.php 2012-08-31 14:04:04 +02:00
kingbt 8f9f7b4dac Update templates/content-product.php
Save some output space?
2012-08-29 21:08:45 +03:00
Mike Jolley 2daa93912c hooks for meta 2012-08-29 14:08:19 +01:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Mike Jolley 431316dfd3 small variable naming tweak 2012-08-25 16:00:40 +01:00
Mike Jolley 473d5c69be well needed tidyup 2012-08-25 12:08:03 +01:00
kingbt dc814793b9 Update templates/shop/breadcrumb.php
When on Shop page, Shop is a link when is paged. I think it is useful for better navigation since the pagination is down.

It is more an idea.

http://i45.tinypic.com/317dr10.jpg
2012-08-25 13:39:00 +03:00
Mike Jolley 25d063a519 put breadcrumb tweak back. #1422. 2012-08-25 11:25:43 +01:00
Mike Jolley 6abcf9d2b4 Revert "Merge pull request #1422 from kingbt/patch-4"
This reverts commit 573e6907a2, reversing
changes made to b450616848.
2012-08-25 11:03:19 +01:00
kingbt da160bb21e Update templates/shop/breadcrumb.php
Last trail Home > Shop (Shop is last trail) should not have a link. Makes no sense.
2012-08-24 16:50:19 +03:00
Mike Jolley b4132a1adf Revert "Merge pull request #1414 from dasongoh/patch-1"
This reverts commit 2d8193acfd, reversing
changes made to a0217e15ed.
2012-08-23 11:43:55 +01:00
dasongoh a28d11e737 Update templates/myaccount/my-orders.php
Short of one <th> (total 4, should be 5) in <thead> for corresponding <td> (total 5). Table headers misalignment.
2012-08-23 18:41:19 +08:00
Mike Jolley 9f2a5f07e6 pebkak-proofing cart page. Closes #1375. 2012-08-21 17:23:26 +01:00
Mike Jolley 40cc7b997d Scope. Closes #1364. 2012-08-21 16:41:18 +01:00
Mike Jolley 3267de6daa Hooks for #1376. Closes #1376. 2012-08-21 13:06:54 +01:00
Adam Pickering (Mint Themes c42e0c7fcd Fixes issue with coupon field box styling
The coupon box doesn't have the correct input type so theme designers can't apply there custom style to the box field.

It doesn't have input type="text" so this commit fixes the issue.

See screen shot of issue: http://o7.no/NfKtDe
2012-08-20 17:40:05 -03:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 7c69f3a431 Fix - Missing grouped product cart buttons 2012-08-11 16:41:28 +01:00
Mike Jolley 9acb170520 Option to register using the email address as the username instead of entering a username. Closes #1027. 2012-08-10 12:15:32 +01:00
Mike Jolley cfe1d85ffb Hook 2012-08-09 11:30:37 +01:00
Mike Jolley 244e0d2b08 Archive hooks 2012-08-09 11:25:38 +01:00
Mike Jolley 1217228bda Additonal hooks 2012-08-08 16:57:36 +01:00
kathy f2415b3761 switch get_price() checks to is_purchasable() for displaying Add to Cart button 2012-08-06 19:27:24 -05:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley 2e96d554ce has_file() Closes #1275. 2012-07-31 12:58:00 +01:00
Mike Jolley a322a83a7d analytics tracking 2012-07-30 16:01:33 +01:00
Mike Jolley 6d7e06b500 Better caching support + mini-cart template 2012-07-25 18:59:12 +01:00
Mike Jolley ac5fdeb9c4 email tweaks 2012-07-25 11:28:42 +01:00
Mike Jolley ffec3a6036 Shipping calculator state box improvements 2012-07-22 14:44:01 +01:00
Mike Jolley 1f071fd8f4 selected state for variation options 2012-07-22 14:31:31 +01:00
Mike Jolley 6666af8de9 Merge pull request #1281 from maxrice/master
coupons tweaks
2012-07-22 05:53:24 -07:00
Max Rice 28f9c40700 add option to enable / disable coupon form on cart page 2012-07-20 17:19:52 -04:00
Mike Jolley 5ba8d025e6 newline 2012-07-20 13:57:18 +01:00
Mike Jolley 6e41377af1 wp_reset_postdata instead of wp_reset_query in product page loops. #1277. 2012-07-20 13:50:32 +01:00
Mike Jolley 1f61bab915 Put back deprecated loop-shop for older themes until they are updated 2012-07-19 19:34:49 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley 8fc392b34f cart titles 2012-07-17 15:16:22 +01:00
Mike Jolley 1b0a206bd9 Handling for non-JS checkout 2012-07-16 20:21:44 +01:00
Mike Jolley 880e8b6b0f Don't show price when variation prices don't differ. Closes #1199. 2012-07-11 23:19:33 +01:00
Mike Jolley 5cd01f58a0 get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059. 2012-07-11 19:32:00 +01:00
Mike Jolley 4200f43d52 woocommerce_attribute filter. Closes #768. 2012-07-11 19:11:41 +01:00
Mike Jolley 2b9a03db2c "verified owner" label for customer reviews. Closes #294. 2012-07-11 18:48:22 +01:00
Mike Jolley fac3756e65 killed query posts 2012-07-11 15:13:11 +01:00
Mike Jolley c846906064 loops template rewrite 2012-07-11 13:50:28 +01:00
Mike Jolley 12dc3c033f Template changes - for coen approval 2012-07-11 11:23:31 +01:00
Mike Jolley 54c00bd642 Changed microdata for offers/product so its picked up by google. Closes #1227. 2012-07-10 17:32:56 +01:00
Mike Jolley 183a3e096d Hooks. Closes #1224. 2012-07-10 15:39:54 +01:00
Mike Jolley 746a794f0a Check taxonomies exist. Closes #1207. 2012-07-10 14:05:44 +01:00
Mike Jolley 58f84bb2c1 incl. Closes #1184. 2012-06-29 20:45:09 +01:00
Mike Jolley d85de187f9 Variable product hooks. Closes #1201. 2012-06-29 19:52:06 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley 127a981f99 Merge pull request #1180 from franticpsyx/master
Disable cart hyperlinks of hidden products & minor cart widget tweak.
2012-06-29 10:10:37 -07:00
Mike Jolley 491c02b35d Tweaks to previous merge 2012-06-29 17:51:15 +01:00
Manos Psychogyiopoulos 123d04f0e5 More meaningful code. 2012-06-29 18:16:43 +03:00
matt 2b54280999 Modify WC_Product::get_image() for return
Function currently only echos. Commit enables function to return product
image. WCP+A replaces the product thumbnail with photo preview
thumbnail. Original function showed two thumbnails directly next to each
other.
2012-06-29 11:08:50 -04:00
Manos Psychogyiopoulos 3e97cc3ef1 Disable cart hyperlinks for hidden products. 2012-06-28 18:41:18 +03:00
Manos Psychogyiopoulos ea409a4310 Pull 2012-06-28 18:34:04 +03:00
Mike Jolley 023ee52246 Zero tax check in totals.php 2012-06-20 19:53:35 +01:00
Coen Jacobs 863918f7f4 Revert "Moved # character in translatable order strings. Closes #1161"
This reverts commit f6c83fe6aa.
2012-06-20 19:18:16 +02:00
Coen Jacobs f6c83fe6aa Moved # character in translatable order strings. Closes #1161 2012-06-20 19:14:33 +02:00
Mike Jolley fcd1dab9ef Merge pull request #1167 from GeertDD/order_details_hook
Added hook to the customer single order view
2012-06-20 07:15:47 -07:00
Mike Jolley c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Geert De Deckere 7ba4296cf0 Added hook to the customer single order view 2012-06-15 14:22:51 +02:00
Mike Jolley ca2f5ba28c hook closes #1151. 2012-06-14 00:55:42 +01:00
Mike Jolley 4d7d184698 newlines and styling tweak. Closes #1112. 2012-06-10 18:45:43 +01:00
Mike Jolley f9f1bb9ddd Ordering tweaks/improvements and variation prices. Closes #1097. 2012-06-10 18:15:02 +01:00
Mike Jolley 7036acf989 Cart widget respects cart tax settings, Exempt from VAT shows price ex VAT. Closes #1128. 2012-06-10 15:48:52 +01:00
Mike Jolley 5d9e4b9e82 Added hook for recaptcha. Closes #1136. 2012-06-10 14:26:07 +01:00
Mike Jolley 06398f4a5b Variations maintain selections after adding to cart. Closes #926. 2012-06-10 13:53:26 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley db84f5b429 refactor variation add to cart. Closes #1134. 2012-06-10 10:15:23 +01:00
Mike Jolley d80dce7a4e line endings 2012-06-10 09:20:28 +01:00
Mike Jolley dae82b1185 Merge pull request #1133 from xnuiem/master
is_sold_individually into the simple product template
2012-06-10 01:19:21 -07:00
Manos Psychogyiopoulos a64ac21fb1 Added filtered class attributes to tr table elements in cart, review-order and order-details templates.
Makes it possible to style the appearance of these tables depending on
the item's properties. E.g. smaller fonts or no borders for bundled
items.
2012-06-09 18:31:17 +03:00
Manos Psychogyiopoulos b57183f337 Add filters to get_product_subtotal in review-order & cart templates. 2012-06-09 17:39:59 +03:00
Ryan C Meinzer 222e94cf07 added is_sold_individually to qty check
With the is_sold_individually the other way of checking was deprecated.
Using this method to check allows for the use of the
'woocommerce_is_sold_individually' filter.
2012-06-08 15:40:23 -05:00
Mike Jolley 3e3698a72b Modified title hook 2012-06-08 13:41:01 +01:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Mike Jolley 28424d11af Merge pull request #1123 from albertorrent/patch-1
Update master
2012-06-06 11:25:08 -07:00
James Koster d810998980 handy class 2012-06-06 16:48:35 +01:00
albertorrent 521aa024af Update master 2012-06-06 02:40:16 +03:00
Mike Jolley 98d5f4d4a2 hide cart note if taxes are disabled 2012-06-05 14:18:17 +01:00
Mike Jolley 19be69d1d8 Line endings. Closes #1065. 2012-05-26 17:25:07 +01:00
Mike Jolley 9f32a166c0 Merge pull request #1078 from thenbrent/cart-filters
Adding WC_Cart Formatting Filters
2012-05-26 09:05:52 -07:00
Mike Jolley 7bcb3deb62 small markup tweaks 2012-05-26 15:18:44 +01:00
Brent Shepherd 808a482fed Centralising use of woocommerce_price() for cart taxes with new WC_Cart::get_formatted_taxes() function and adding new woocommerce_cart_formatted_taxes filter. 2012-05-23 15:24:04 +10:00
Mike Jolley 9096675037 fix conflicts with pagelines 2012-05-13 21:51:10 +01:00
Mike Jolley 26a8af2440 radio shipping methods 2012-05-13 21:02:07 +01:00
Mike Jolley b38f043fa9 use is_sold_individually in grouped template 2012-05-11 10:31:34 +01:00
Mike Jolley ecf2a32466 Merge pull request #1022 from GeertDD/totals-excl-tax
Don't print 'incl.' if the cart subtotal excludes tax
2012-05-10 02:36:38 -07:00
Geert De Deckere 24de04094c Don't print 'incl.' if the cart subtotal excludes tax 2012-05-10 09:42:43 +02:00
Mike Jolley 6c3bf05433 Tweak - After getting a shipping quote, use the shipping address for taxes on the cart page 2012-05-09 18:29:29 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley e5f93e448b focusin for IE Closes #866. 2012-05-08 16:41:16 +01:00
Mike Jolley 90ad5da65b Merge pull request #990 from thenbrent/new-order
New WC_Order Class Formatting Filters & Function
2012-05-01 17:07:25 -07:00
James Koster c8ff0c22d5 added classes to product tabs 2012-05-01 21:26:58 +01:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Mike Jolley 7840c79251 style rework. Shareyourcart (needs more work) 2012-04-28 18:28:18 +01:00
Brent Shepherd 0e34d66ac1 Replacing formatting code duplicated in email items template with call to WC_Order::get_formatted_line_subtotal(). 2012-04-27 17:00:47 +10:00
Brent Shepherd 6df9fff54d Adding "Replacing instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:22:19 +10:00
Mike Jolley 215119849c renamed tab 2012-04-23 17:21:51 +01:00
Mike Jolley 68586f3005 Collect shipping address even when not required 2012-04-21 19:30:37 +01:00
Mike Jolley 0769f8843f Cart/sold individually 2012-04-20 12:09:49 +01:00
Mike Jolley 392571aab0 exists function 2012-04-20 11:17:40 +01:00
Mike Jolley 46653cf957 reset image. Closes #935. 2012-04-16 18:34:58 +01:00
Brent Shepherd c516aed4a5 Only displaying "no available shipping methods" warnings if the cart actually needs shipping. 2012-04-16 10:56:20 +10:00
Brent Shepherd 0a04b9044c Fixing bug causing "Billing & Shipping" to display on checkout form even when the cart contents did not need shipping. 2012-04-16 10:45:35 +10:00
Mike Jolley 7aa97b0f38 product attributes template 2012-04-13 18:33:56 +01:00
Mike Jolley a36d0b74e7 missing semi-colon. Closes #923. 2012-04-13 12:44:10 +01:00
Mike Jolley aba42b5fc0 Small template cleanup 2012-04-12 17:22:56 +01:00
Mike Jolley c6a6949c5c filter tweaks 2012-04-12 16:11:12 +01:00
Mike Jolley 6f17cd4d4e nofollow cart buttons 2012-04-11 21:21:40 +01:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
Coen Jacobs 2369787b6b Hide shipping costs until address is entered 2012-04-11 13:01:00 +02:00
Mike Jolley 21a5829684 Outlook compat - tbody needs to be before tfoot. Wrong in html terms, but needed for outlook. 2012-04-10 18:34:45 +01:00
Mike Jolley a9a5f0ceca extra actions for checkout. @8cc310c14ab55131a79f4340a37ef392283fc3ab 2012-04-10 18:21:33 +01:00
Mike Jolley 750956ca4e Show multiple success messages/error messages if added, rather than one or the other 2012-04-10 18:06:25 +01:00
Mike Jolley 7ccefed4d7 View order tweaks
* Tweak - Changed recent order tables to make them slightly more compact
* Tweak - Moved recent order table to a template file
* Tweak - Improved default view-order page when order id is not defined
- instead of stating "invalid order" it will list recent orders
2012-04-09 23:57:57 +01:00
Mike Jolley e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +01:00
Coen Jacobs 57570b62c1 Last commit was a bit rude. Also hide panels containing the data. Closes #892 2012-04-05 10:46:39 +02:00
Coen Jacobs 2fa6a9313d Check if weight and dimension fields should be shown before checking values. Closes #892 2012-04-05 10:34:11 +02:00
Mike Jolley 4182a35ed5 Hide tabs if we have none 2012-04-03 10:34:02 +01:00
Mike Jolley c21b70e483 Hooks for short description - avoid the_content 2012-04-03 09:55:41 +01:00
Mike Jolley ab7953a646 Don't mail the password 2012-03-30 21:02:36 +01:00
Mike Jolley c28b28e712 grouped external products 2012-03-30 16:10:14 +01:00
Mike Jolley ad499d10f0 Options to enable/disable ratings. Closes #847. 2012-03-27 20:35:35 +01:00
Mike Jolley f692cf576f 'Invoice' for completed/pending emails re-sends download links etc. Closes #817. 2012-03-26 21:11:39 +01:00
Mike Jolley 740ef34492 Target blank for download links in emails. #854 2012-03-26 20:11:35 +01:00
Mike Jolley f99353a861 Merge pull request #878 from foxrunsoftware/master
Adds a Few Shipping Related Action Hooks
2012-03-26 08:17:22 -07:00
Mike Jolley 3d35e1eea4 Visual editor for except (thanks Andrew Benbow - http://www.chromeorange.co.uk/) 2012-03-26 16:12:16 +01:00
Mike Jolley 659d3ee3b4 get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Geert De Deckere 8c2169768f Added two hooks to insert content inside the cart form but outside the table. 2012-03-26 11:30:58 +02:00
Justin Stern db0eede44d Removed superfluous Actions
Removed superfluous actions from previous commit
2012-03-24 14:35:07 -04:00
Justin Stern 37efd18ffc Adds a Number of Shipping Related Action Calls
Adds a number of shipping related action calls to provide more hooks for
customizations
2012-03-24 13:00:59 -04:00
Mike Jolley 928543c35e cart and main cleanup 2012-03-20 13:22:35 +00:00
Mike Jolley eec33a58f6 order items (for emails) moved to template file and tidied 2012-03-18 14:51:21 +00:00
Mike Jolley 0b7e83ca35 Tweaks 2012-03-15 12:15:22 +00:00
Mike Jolley 8212e768f7 Option to reorder items by GeertDD
Removed the my account links because it was a bit busy there, + you
cannot see the items in the order anyway.
2012-03-15 00:25:51 +00:00
Mike Jolley 17ffe63b86 Merge pull request #809 from GeertDD/place_order_again
Place order again functionality
2012-03-14 16:21:43 -07:00
Geert De Deckere 31f0d63ade Positioned 'order again' button to the right 2012-03-14 15:37:48 +01:00
Geert De Deckere b3933a3407 Added nonce check 2012-03-14 15:00:09 +01:00
Geert De Deckere 6615ddd454 Added 'order again' button to single order view 2012-03-14 14:44:51 +01:00
Geert De Deckere 0b53bc07b0 Started building the possibility for a customer to place a previous order again 2012-03-14 13:48:49 +01:00
Mike Jolley 115229aeee no_found_rows Closes #804. 2012-03-14 11:41:32 +00:00
James Koster c6149e2756 single product title template / hook 2012-03-13 12:52:53 +00:00
Mike Jolley 8914d1856a n/a 2012-03-12 16:14:00 +00:00
Mike Jolley ec83b4d24f Merge pull request #790 from GeertDD/display_no_tax_row
Force the tax row to show up even if no taxes are applicable
2012-03-12 09:00:52 -07:00
Geert De Deckere 3d52b629c3 Added an option to force the tax row to be visible even if no taxes are applicable. 2012-03-12 13:50:38 +01:00
Geert De Deckere 3e13bd5ebf Instead of hiding the tax row if not applicable, show it explicitely as not applicable. 2012-03-12 12:26:48 +01:00
Geert De Deckere 0401e79ed4 Added option to globally enable/disable the use of coupons for clients 2012-03-12 10:25:06 +01:00
Mike Jolley 9a282ce3ab Fixes 2012-03-05 13:25:02 +00:00
Mike Jolley d7bd41febf order details shipping address 2012-03-02 12:42:57 +00:00
Geert De Deckere 1cd6ab9bf1 Fixed label for "ship to billing" checkbox 2012-03-01 14:12:56 +01:00
Mike Jolley 02fe1b5889 Default values for my account 2012-02-29 10:07:53 +00:00
Mike Jolley 59c7ca1189 My account remembers post data upon error 2012-02-27 18:47:31 +00:00
Mike Jolley a2714544a4 cart limit item. Closes #646. 2012-02-27 18:22:54 +00:00
Mike Jolley a81a9bfcb5 Purchase notes - add text to a product to include in order tables after payment 2012-02-27 17:05:26 +00:00
Mike Jolley 01bc65dc7f Minor tweaks + disable shipping option turns off shipping address display 2012-02-27 15:02:44 +00:00
Mike Jolley d5c54d686a Reset variations. Closes #705. 2012-02-27 13:14:33 +00:00
Mike Jolley 82cc872247 Missing errors 2012-02-26 11:49:43 +00:00
Mike Jolley 8560542fa4 simplified external button code 2012-02-26 11:47:49 +00:00
Mike Jolley 1eff385521 Fix make clickable. Show links to items. Closes #697. 2012-02-24 20:20:17 +00:00
Mike Jolley 9554a4c52c Admin tweaks and mixed cart handling. Closes #651. 2012-02-24 20:04:05 +00:00
Mike Jolley 0ca05faf52 localised date 2012-02-24 17:28:13 +00:00
Mike Jolley fdb1359d19 Function for getting placeholder.png - woocommerce_placeholder_img_src() with filter woocommerce_placeholder_img_src 2012-02-24 16:23:08 +00:00
Mike Jolley f0d4d8cb63 Product option for customise the button text for external products 2012-02-24 16:05:17 +00:00
Mike Jolley a86d648367 Fix order dates and track order page 2012-02-24 14:33:02 +00:00
Mike Jolley b6236998cf before/after cart totals hooks instead of do_after_cart_totals 2012-02-23 10:01:15 +00:00
Mike Jolley 0de854ae8d Merge pull request #677 from jjoeris/master
add hook after totals in cart template
2012-02-23 01:49:48 -08:00
Mike Jolley a281816807 Merge pull request #686 from piffpaffpuff/master
updated attributes screen and new hooks in cart template
2012-02-23 01:47:35 -08:00
Mike Jolley 04fde0a603 Improved edit address. Closes #689. 2012-02-22 21:06:08 +00:00
Mike Jolley 2851642b6c Hooks for quantity selectors and data-min tweaks 2012-02-22 19:45:12 +00:00
Mike Jolley 00aec064c5 Hooks for add to cart text (single) 2012-02-21 13:40:05 +00:00
Triggvy Gunderson 46a91fd8f2 before and after hooks in cart 2012-02-21 00:47:24 +01:00
Julian Jöris 896ec9c15a add hook after totals in cart template 2012-02-19 21:20:29 +01:00
Mike Jolley 054ca02937 Minor checkout fixes 2012-02-18 10:08:12 +00:00
Mike Jolley 1a06f85b6d data-min 2012-02-17 23:47:18 +00:00
Mike Jolley 316ed9901a use product id in loop instead of $post global 2012-02-17 21:08:56 +00:00
Jeroen Diderik 422cc8e2f1 fix wrong variable name 2012-02-17 09:25:44 +01:00
Mike Jolley 94028e3528 total rows + readme 2012-02-16 16:54:22 +00:00
Geert De Deckere 9a8581b3a9 Addes same classes for table header cells 2012-02-16 12:29:15 +01:00
Geert De Deckere 8bd4947006 Added classes to the table cells for order review 2012-02-16 12:25:02 +01:00
Geert De Deckere 8792c4e922 Passing along the order object to the hook now, so you know which order is being displayed 2012-02-16 10:30:34 +01:00
Mike Jolley 00b3266765 Dumped Get 2012-02-15 20:27:40 +00:00
Mike Jolley 38609b3365 woocommerce_order_items_table @644 2012-02-15 18:47:22 +00:00
Mike Jolley b18b8d4076 Merge pull request #644 from GeertDD/review_order_hook
Added action 'woocommerce_cart_contents_review' to the order review page
2012-02-15 10:46:09 -08:00
Geert De Deckere 1984cf5b85 Renamed hooks 2012-02-15 16:39:22 +01:00
Mike Jolley b946c532b2 text change 2012-02-15 15:33:36 +00:00
Geert De Deckere f97ccdbf8d Same hook for the order-details template 2012-02-15 15:01:32 +01:00
Geert De Deckere 0c8ad83c28 Added action 'woocommerce_cart_contents_review' to the order review page 2012-02-15 13:26:35 +01:00
Mike Jolley 29c29b6198 Strip tags 2012-02-14 14:45:43 +00:00
Mike Jolley 9fc2942db2 Readme. Cart quantity limit. 2012-02-14 11:16:38 +00:00
Geert De Deckere b0f4660801 Fixed HTML escaping of the method label 2012-02-13 10:16:22 +01:00
Mike Jolley 4a638b962c SKU tweakage 2012-02-13 00:34:09 +00:00
Mike Jolley af625994ba Shipping messages 2012-02-12 11:50:19 +00:00
Mike Jolley f41242a1c6 Merge pull request #618 from GeertDD/shipping_select
Don't show a select list if there's only a single shipping method to choose from.
2012-02-12 03:41:34 -08:00
Mike Jolley 9cf264504b Checkout error page 2012-02-12 11:36:33 +00:00
Geert De Deckere 08db90e9a0 Added shipping_method id which is used in the javascript file. 2012-02-11 15:17:03 +01:00
Geert De Deckere 0f59bd797d Don't show a select list if there's only a single shipping method to choose from. Closes issue #605. 2012-02-11 14:46:54 +01:00
Mike Jolley 576ec9e42d Front page look fixes 2012-02-10 22:15:29 +00:00
Andrew White da690e3bb9 Add styling hook for customer details definition list 2012-02-10 05:54:21 +00:00
Andrew White 3e134d11fe Add some more classes to Order Details table 2012-02-10 05:51:31 +00:00
Andrew White fb6e50f942 Add classes to My Orders table so table can be styled easier 2012-02-10 05:15:54 +00:00
Geert De Deckere 82f0e24204 Missing paragraph tags on the account page 2012-02-09 11:31:21 +01:00
Mike Jolley 44794833f6 Goodbye to free Closes #602. 2012-02-09 09:45:11 +00:00
Mike Jolley 797de881ec Coupon case. Closes #599. 2012-02-08 15:55:08 +00:00
Mike Jolley 1596dd1115 Messages Closes #566. 2012-02-08 15:55:08 +00:00
Mike Jolley a3eabe1c0f Fixed missing product id 2012-02-06 18:14:46 +00:00
Mike Jolley 97e89891c2 ShareDaddy. Closes #426. 2012-02-06 17:28:27 +00:00
Mike Jolley 0f736bc6e9 Fixed sharethis code 2012-02-06 13:05:50 +00:00
Mike Jolley 4b27b0be7c Clear 2012-02-03 16:42:21 +00:00
Mike Jolley 3b5272e72e Improved template loader 2012-02-03 16:42:21 +00:00
Mike Jolley 0d5bfd9ee0 Merge pull request #561 from jdiderik/patch-1
Changed order when in sub-category breadcrumb
2012-02-01 16:09:31 -08:00
lucasstark 7c54e990ad Added spacing around first / last css class names for 1 column shop pages. 2012-02-01 18:48:45 -05:00
jdiderik f451c1138d Changed order when in sub-category, now shop link is before categories as expected instead of inbetween. 2012-02-02 00:35:24 +01:00
Mike Jolley 35fadb00fe More consistent template file naming, broken checkout into templates 2012-01-29 13:36:33 +00:00
Mike Jolley 0226faa96b incl. to checkout too 2012-01-28 15:34:21 +00:00
Mike Jolley f0991548ab Merge pull request #530 from jjoeris/master
print "incl." in Cart Tax, if Tax is included in Price
2012-01-28 07:19:24 -08:00
Mike Jolley 0836ce04db Better class names (final) 2012-01-27 16:38:39 +00:00
Mike Jolley 89a226a895 Store cart + shipping tax rows instead of a combination 2012-01-27 15:00:03 +00:00
Mike Jolley 34b7f8f8b6 Product page short code
Little experiment which worked well.
2012-01-26 11:23:42 +00:00
Mike Jolley 1f89670da2 Date fixes 2012-01-25 15:23:32 +00:00
Julian Jöris b9b2498f18 add including tax to cart 2012-01-23 12:12:34 +01:00
Geert De Deckere 7b943ecfb8 Merge branch 'master' of git://github.com/woothemes/woocommerce
Conflicts:
	woocommerce-ajax.php
2012-01-22 10:18:00 +01:00
Mike Jolley ad30381ba3 Changed functions in order total rows - renamed to make more sense 2012-01-22 02:35:26 +00:00
Geert De Deckere 7706ecfe7b Starting class names with a capital. Closes #519. 2012-01-21 10:07:54 +01:00
Mike Jolley 7675fd7ab1 Removed need to mandatory exclude meta 2012-01-18 17:32:24 +00:00
Mike Jolley ef0ce00090 security fix 2012-01-18 17:19:04 +00:00
Mike Jolley ce6f77d4e0 data-max for quantity inputs 2012-01-14 17:59:47 +00:00
Mike Jolley 8410619afd Shipping API per item taxaction 2012-01-14 16:42:04 +00:00
Mike Jolley 37a334cfc6 Tweak errors 2012-01-13 12:40:34 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
James Koster c82fa1ae79 Removed incorrect capitalisation 2012-01-12 15:28:02 +00:00
Mike Jolley a2d51aa201 Github sabotages files -.- 2012-01-12 00:54:45 +00:00
Mike Jolley 1dc5a3bc0b Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD 2012-01-12 00:43:30 +00:00
Mike Jolley 136456f805 Remonde ob_start. Moved checkout processing to init hook. Fixed email bug. 2012-01-12 00:30:21 +00:00
Mike Jolley b76d8ac3c9 WPML filter 2012-01-11 15:15:16 +00:00
Mike Jolley 4fe59d979e Order fixes 2012-01-10 16:43:06 +00:00
Mike Jolley 2b09e9160c Show tab if weight/dimensions are set and being shown. Closes #467. 2012-01-10 15:36:14 +00:00
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
Mike Jolley 55222422c6 Option to hide tax on cart page. Closes #469. 2012-01-09 18:00:52 +00:00
Mike Jolley babe65bb19 Wrapped prices in 'mark' so we can change through JS. Closes #456. 2012-01-09 16:39:48 +00:00
Mike Jolley 48d1fac0d4 Support GET for ordering. Closes #269. 2012-01-07 17:36:32 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley 2f76238cd5 Not needed 2012-01-06 14:02:39 +00:00
Mike Jolley 6650434c3f Theming improvement 2012-01-06 14:02:34 +00:00
Mike Jolley 40010ad60a Fix login and logout urls 2012-01-05 14:55:09 +00:00
Mike Jolley 24332672ad Payment method. Closes #449. 2012-01-05 12:11:34 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley a3f633e3a3 Fixes, subtotals, some backwards compat 2012-01-04 23:01:47 +00:00
Mike Jolley fb5bb626e8 Shipping tax calc + rows, fixed up write panel 2012-01-04 16:24:26 +00:00
Mike Jolley 28922bb4ef Shipping method tweaks/api to add multiple rates easily. 2012-01-03 19:07:32 +00:00
Mike Jolley 8733821091 Email totals, interface for local tax rates 2012-01-02 17:45:26 +00:00
Mike Jolley cc7e560a14 Bug fixes 2012-01-02 12:48:56 +00:00
Mike Jolley ec7135ebb4 Taxes rounding + shipping, started email totals 2012-01-02 00:49:00 +00:00
Mike Jolley 115e3bee18 Checkout and cart totals 2011-12-30 21:11:18 +00:00
Mike Jolley c4231910b5 Order totals + shipping tax (draft) 2011-12-30 19:36:44 +00:00
Mike Jolley 1de85e5d19 More taxes + totals work. Line item tweaks.
Next step; shipping.
2011-12-30 14:00:41 +00:00
Mike Jolley a28d758a90 Calculations for tax rates 2011-12-29 01:18:59 +00:00
Mike Jolley 90a257b4fa Tax rows and compound taxes on cart page 2011-12-28 23:59:33 +00:00
Mike Jolley 364c0bd54c Renamed all product data meta keys
This is so they are hidden (_). Should have done this long ago. Few
extensions will need updating when 1.4 goes out to reflect these
changes, mainly importers.
2011-12-24 16:57:36 +00:00
Mike Jolley f28e4866e0 Shipping calc fix + markup change 2011-12-23 20:29:10 +00:00
Mike Jolley 3a63feca07 Merge pull request #410 from spencerfinnell/master
Allow email subjects to be filtered.
2011-12-22 12:33:14 -08:00
Mike Jolley b133d41849 few hooks 2011-12-22 20:30:12 +00:00
Spencer Finnell 092fe416ba Allow email subjects to be filtered. 2011-12-22 14:59:59 -05:00
Mike Jolley 74bb271e96 Filter checkout fields..
.. you can pretty much turn off all fields now - although, you'll need
to turn off tax + shipping calcs too since they rely on addresses to
function.
2011-12-21 21:56:01 +00:00
Mike Jolley 3fe3fffe90 Address. Closes #301. Closes #395.
Improved checkout processing.
Made edit-address use the locale specific address fields.
2011-12-21 16:03:45 +00:00
Mike Jolley 57494f93d4 Put button back 2011-12-21 11:21:25 +00:00
Mike Jolley 9b36aac151 Merge pull request #403 from dasllama/master
function payment_fields() should be as prototype in gateway.class.php
2011-12-21 03:16:42 -08:00
Mike Jolley edb03258c6 Thumbnail total 2011-12-21 00:44:26 +00:00
Julian Jöris c07d56f5d0 Merge remote-tracking branch 'upstream/master' 2011-12-20 11:00:46 +01:00
Mike Jolley b8eeda72bd Show variable sku. Closes #350. 2011-12-19 19:10:59 +00:00
Mike Jolley 0205d5843b If all grouped products are downloadable, use buttons instead of quantities. Closes #354. 2011-12-19 18:42:21 +00:00
Mike Jolley 9c80356589 Download links. Closes #375. Closes #349. 2011-12-19 17:50:41 +00:00
Mike Jolley c4625ad91e Coupon on checkout. Closes #379. 2011-12-19 17:11:19 +00:00
Julian Jöris b36b21390b Merge remote-tracking branch 'upstream/master' 2011-12-19 15:53:50 +01:00
lucasstark c76a57fe28 Added woocommerce_cart_item_price_html filter 2011-12-19 07:53:07 -05:00
Mike Jolley 4117d53f28 Cleaned up addresses 2011-12-19 00:17:44 +00:00
Mike Jolley 17a59bf3ec Formatted address function + added to my account 2011-12-18 01:29:10 +00:00
Brent Shepherd 74fc1d8caa Merge branch 'master' of git://github.com/woothemes/woocommerce 2011-12-17 15:04:31 +10:00
Brent Shepherd 1b22a18c2a Including $woocommerce global on login-form template to fix "Undefined variable: woocommerce" and "Call to a member function nonce_field() on a non-object" errors when checking-out without being logged in. 2011-12-17 15:03:31 +10:00
curtismchale 8a9b488f80 adding matching hook before the shipping calculator
After thought last night we really should have a hook before the shipping calculator if we're going to include one before just to meet expectations of the the theme dev.
2011-12-15 11:01:05 -08:00
curtismchale bcfc125531 adding action after shipping calculator
Adding an action after the shipping calculator so that it's less likely a theme dev needs to directly edit template files.
2011-12-14 15:32:45 -08:00
Julian Jöris 8af8e6af41 Merge remote-tracking branch 'upstream/master' 2011-12-12 17:46:07 +01:00
Mike Jolley 0dc662a16e Templates 2011-12-12 12:28:07 +00:00
Mike Jolley 3cfe43a80e Templates 2011-12-12 11:35:54 +00:00
Mike Jolley f211aac406 More templates 2011-12-11 23:16:34 +00:00
Mike Jolley 35d1d56329 Made product global, setup automatically, and removed the need to call the class directly in the loop
Themes need checking for compat, but the change makes it easier to use
2011-12-11 14:40:25 +00:00
Mike Jolley ae1419c8b2 Quantity fix 2011-12-11 12:39:35 +00:00
Mike Jolley 58572bf97e Sorting 2011-12-11 01:10:24 +00:00
Mike Jolley d4452dcb18 Template files 2011-12-11 01:08:33 +00:00
Mike Jolley 6dff689cb9 Fixes 2011-12-10 18:40:51 +00:00
Mike Jolley 733b51401c Moved email functions to classes, and made posts only save once (faster) 2011-12-10 17:28:32 +00:00
Mike Jolley 2f1eb1e975 Tabs 2011-12-09 22:44:03 +00:00
Mike Jolley 5e7444c04c Product cat template 2011-12-09 22:07:43 +00:00
Mike Jolley dae7cf35a2 Optimisations + order details template 2011-12-09 21:47:12 +00:00
Mike Jolley 111f444da7 Shipping calc + totals templates 2011-12-09 20:29:43 +00:00
Mike Jolley d6d886f46d More templates 2011-12-09 20:16:34 +00:00
Mike Jolley 033735bf8f New structure + started moving template code to files 2011-12-09 19:55:09 +00:00
Mike Jolley f778c4f3ec Started new structure, moved short codes into template files, moved main class into main file 2011-12-09 17:01:56 +00:00
Mike Jolley 83df25bb68 Genesis compat 2011-12-08 14:53:14 +00:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Julian Jöris 11511a48b8 Merge remote-tracking branch 'upstream/master' 2011-12-08 10:08:46 +01:00
Mike Jolley 10d2431dc6 Missing localisation's. Closes #335. 2011-12-06 17:04:50 +00:00
Mike Jolley 5f5eb20335 Sort gateways and set a default 2011-12-06 16:45:08 +00:00
Mike Jolley c8de45d773 Email table borders 2011-12-02 14:04:26 +00:00
Mike Jolley 9eb7b4dd13 Tidied up script loaders 2011-12-02 11:11:33 +00:00
Julian Jöris 67b8243bc9 Merge remote-tracking branch 'upstream/master' 2011-12-01 11:58:07 +01:00
Mike Jolley 0d3485c0f1 Localisation 2011-11-30 16:43:16 +00:00
Julian Jöris 07c7c0b59f Merge remote-tracking branch 'upstream/master' 2011-11-29 10:16:10 +01:00
Mike Jolley 3bf4f98b47 Shipping inc tax label 2011-11-29 00:30:49 +00:00
Julian Jöris 6a637bfbf5 Merge remote-tracking branch 'upstream/master' 2011-11-28 08:19:11 +01:00
Mike Jolley d33c81f34a updated email templates with new fields 2011-11-26 23:33:57 +00:00
Mike Jolley f7b4bebacc Final tax rounding issues 2011-11-26 16:15:25 +00:00
Julian Jöris df3e13867a Merge remote-tracking branch 'upstream/master' 2011-11-23 12:03:51 +01:00
Mike Jolley 1f31333d1c Term description div. Closes #248. 2011-11-22 16:26:08 +00:00
Julian Jöris ebd83bdd10 Merge remote-tracking branch 'upstream/master' 2011-11-22 16:42:27 +01:00
Mike Jolley 61136d0a9e More cart and coupon logic fixes. + renamed cart totals 2011-11-22 13:18:33 +00:00
Julian Jöris 7d7fa33d70 Merge remote-tracking branch 'upstream/master' 2011-11-22 14:06:48 +01:00
Mike Jolley 53ccc12361 Country outside base/different rate tax tweaks 2011-11-21 16:26:06 +00:00
Julian Jöris fb5df55da5 merge 2011-11-21 11:38:14 +01:00
Mike Jolley fe5651fff5 Tax rewrite to deal with coupons before tax calculations
Needs a lot of testing - esp to detect rounding errors.
2011-11-19 20:59:16 +00:00
Mike Jolley c1c9358d3b Added microdata to products page + reviews 2011-11-19 02:25:15 +00:00
Mike Jolley 3276263736 After checkout validation hook + place order filter 2011-11-18 17:39:56 +00:00
Julian Jöris b818f95cdd hooks needed for the german Version 2011-11-18 17:26:27 +01:00
Mike Jolley 87f74cd1a9 Added customer note email notifications. Closes #187. 2011-11-17 01:06:39 +00:00
Mike Jolley b23338c2b0 Prevent checkout being submitted twice 2011-11-16 09:38:04 +00:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley 046e51b70e Email invoice tweak 2011-11-13 12:35:30 +00:00
Mike Jolley e678fb50f6 Pay email changes 2011-11-11 14:30:32 +00:00
Mike Jolley ecbd0accda template check 2011-11-11 12:07:27 +00:00
Mike Jolley 4bd2f287f0 new account emails 2011-11-08 13:47:49 +00:00
Mike Jolley 101fcd9b3f Order meta saves + displays 2011-11-06 15:45:22 +00:00
Mike Jolley 869f413e9b New cart code adapted from Lucas Starks pull request.
Cart items are indexed by an md5 hash rather than numeric keys so we
can add custom data to cart items.

Plugins can hook in and add meta data, load it, and display it. The
adjust_price() function lets you adjust a products price too since its
loaded and stored in the cart on page load.

All works like a dream, all thats left is to show the values on the
cart page, and store them in the order item meta. Order item meta does
need a slight change though, to allow data with the same keys. Working
on that next.
2011-11-06 13:45:18 +00:00
Mike Jolley 297ffd7af0 Paypal fix, and Signup/login can be turned off for checkout. Closes #125. 2011-11-04 17:48:04 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley 7891105ce1 Added ability to show order meta in emails - shows coupons by default. Closes #96. 2011-11-01 14:12:18 +00:00
Mike Jolley b2ccf3b700 Conditional tax/vat 2011-10-31 10:54:49 +00:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 3a6ae6de92 Image option for emails 2011-10-26 18:13:29 +01:00
Mike Jolley 2d89a8d23f Loop changes ro remove output buffering + filter for thumbnail columns 2011-10-26 17:19:17 +01:00
Mike Jolley 9638a07a1d Shop Manager fixes 2011-10-26 14:11:20 +01:00
Mike Jolley a66c84497c Better checks for shipping 2011-10-26 10:40:26 +01:00
Mike Jolley 34d509bb12 Ability to style emails from settings 2011-10-25 13:54:16 +01:00
Mike Jolley 1d5e52c5a6 Option to hide products when sub-cats are shown, and empty cats are shown 2011-10-22 20:20:39 +01:00
Mike Jolley b0e4757337 Renamed $columns global for compatibility 2011-10-22 16:22:51 +01:00
Mike Jolley 9a1aec5c90 Shop page title option 2011-10-12 12:17:06 +01:00
Mike Jolley 1ae669f73d Shop page title 2011-10-09 14:49:56 +01:00
Mike Jolley 58fd7f890e Show subcategories 2011-10-07 20:27:10 +01:00
Mike Jolley 01ffcd7518 Checkout mods 2011-10-05 21:08:37 +01:00
Mike Jolley cb8641c24c JS fix 2011-09-30 15:13:34 +01:00
Mike Jolley f46bc5ed9b esc_html/esc_attribute in review-order.php 2011-09-30 09:48:43 +01:00
Mike Jolley 80b092f865 Javascript error 2011-09-29 16:07:13 +01:00
Mike Jolley fea14650a2 Filters renamed 2011-09-21 17:58:05 +01:00
Mike Jolley bbb02b616b Few hook changes 2011-09-21 16:13:53 +01:00
Mark Jaquith 7674bbe60e esc_url() run 2011-09-21 14:51:46 +08:00
Mike Jolley 420bbfa2b9 cache *seems* to be working (no cache on widgets) 2011-09-20 13:00:37 +01:00
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
James Koster f9209dd2fa Should have fixed line-height (headings) issue in email template 2011-09-13 16:04:40 +01:00
James Koster a0502b1d82 more % layout stuff and changed email header colour to woo blue 2011-09-13 13:42:10 +01:00
Mike Jolley 0e41df2068 Caching - attempted to make sidebar uncached
Plugin must still be configured to exlcude: cart, checkout, my-account,
and order-tracking
2011-09-11 16:24:13 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 63ec2b001f New shipping system to delete with multiple rates per gateway 2011-09-02 15:42:17 +01:00
Mike Jolley 4e6dfccc45 Lots of minor fixes 2011-09-01 10:08:33 +01:00
Mike Jolley fbfab77f22 More query optimisations 2011-09-01 09:33:22 +01:00
Mike Jolley 369fad9eab Query changes/tweaks 2011-08-31 01:29:02 +01:00
Mike Jolley 8c4e69f707 order meta, loop visibility 2011-08-19 21:11:04 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley d7b8cf624e Settings re-work 2011-08-13 17:07:10 +01:00
Mike Jolley c2163dfabb paging fix 2011-08-10 19:40:47 +01:00
Mike Jolley b4d2023f54 h3 in loop, renamed widgets 2011-08-10 18:30:58 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00
Mike Jolley 8e8613b116 First Commit - from Jigoshop Source 2011-08-09 16:16:18 +01:00