Commit Graph

245 Commits

Author SHA1 Message Date
James Koster 2b05a493f6 Makes the order payment table responsive. #9015 2015-11-02 13:59:07 +00:00
James Koster c114489d5b Responsive cart and cart totals tables. #9015 2015-11-02 13:59:07 +00:00
Claudio Sanches 0ff88deb98 Improved wc_coupons_enabled() name and description 2015-10-29 17:23:10 -02:00
Claudio Sanches e61b162355 Escaped urls in templates/cart/mini-cart.php when mini cart is empty 2015-10-28 15:58:40 -02:00
Claudio Sanches 3ab4e76cd0 Replaed old WC_Cart methods to the new functions 2015-10-28 15:56:31 -02:00
Claudio Sanches ddc6baf07d Use curly bracket when don't have any HTML around
Ref: #9411
2015-10-22 14:43:34 -02:00
JeroenSormani ebb65c23ff Filter the shipping name in the totals table 2015-10-22 18:22:03 +02:00
Mike Jolley da8cae596b Simplify cart shipping template + text
Also prevents calculate shipping showing multiple times when multiple
packages are present.

@jameskoster @claudiosmweb
2015-10-13 15:41:21 -06:00
James Koster a2ab735cda add `data-title` attribute to cart table. #9015 2015-10-08 16:56:04 +01:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Claudio Sanches 3a536ac8b7 Sanitize shipping method label/title, closes #9159 2015-10-01 17:17:45 +02:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
Claudio Sanches 0c82d431df Fixed method returning value in write context 2015-08-20 14:20:20 -03:00
JeroenSormani 922226e280 Show the right 'no shipping availalbe' message when a country doesn't have a state. 2015-08-18 07:37:46 +02:00
George Stephanis 95e6b84fbb Make sure we esc_attr translation results
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches c63faa76a8 Escape proceed-to-checkout-button.php template 2015-07-10 16:42:33 -03:00
Mike Jolley 45d89438c7 Ensure cart item key is set 2015-07-04 15:25:08 +01:00
Justin Shreve 48a89c83c3 For the remove links (in both the dedicated cart page and the mini cart widget), add ID and SKU as data attributes. 2015-06-30 19:56:36 +00:00
Mike Jolley 049c95e724 Filter all item data
Closes #8361
2015-06-30 13:40:32 +01:00
Claudio Sanches 80e8bd94ad Escape return to shop url 2015-06-19 17:29:37 -03:00
Ben Bidner c8dd2b6268 fixes usage of void return value from `wc_cart_totals_taxes_total_html()` 2015-06-01 12:54:07 +01:00
Claudio Sanches b2a612dba2 [2.3] Revert some changes from a65616c 2015-05-29 12:27:38 -03:00
James Koster 8c1e452514 proceed to checkout button template. closes #7507 2015-05-28 11:48:37 +01:00
Mike Jolley 5920b88d5d Add classes to tax and shipping labels/notices
Closes #8189
2015-05-27 16:17:36 +01:00
Claudio Sanches b06428a63a Updated some templates versions to 2.4.0 2015-05-21 14:26:15 -03:00
Claudio Sanches e559452c28 [2.3] Escape product titles, closes #8197 2015-05-21 14:20:37 -03:00
Mike Jolley 0b58a840e2 Merge pull request #8168 from Nikker/master
Added method to check if cart is empty
2015-05-19 11:41:48 -04:00
Mike Jolley 0dcadc668e Hide tax totals based on wc_tax_enabled() 2015-05-15 14:04:13 +01:00
Nikki DelRosso 940c2369b0 Added method to check if cart is empty 2015-05-14 14:18:53 -07:00
James Koster 11313fe229 [2.3] template version 2015-04-17 14:30:30 +01:00
Benedict 5fc10ad757 Update cart.php
In the `woocommerce_cart_item_quantity` filter the `$cart_item_key` is useless without the `$cart_item`, which is included in all the other relevant filters in this file. NB. Added here as last argument so not to break existing code.
2015-04-16 15:11:30 +02:00
Mike Jolley f9d1da2081 Merge pull request #7854 from franticpsyx/mini_cart_item_class
Filterable mini cart item class for consistency with cart/order templates
2015-04-13 10:54:35 +01:00
James Koster aad06e7f1c [2.3] cart totals hooked into action 2015-04-09 15:15:37 +01:00
Manos Psychogyiopoulos 96208eac73 mini cart item class 2015-03-31 11:40:26 +03:00
Mike Jolley 3b547c4218 sanitize coupon class names
Closes #7802
2015-03-27 15:38:57 +00: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
Mike Jolley 7c279f278b Add space after item name 2015-02-26 11:59:50 +00:00
Mike Jolley b75034ae38 Tweak language based on feedback in #7462
Closes #7462
2015-02-19 10:45:20 +00:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Mike Jolley d2040eca4d When updating shipping in cart, keep shipping calculator in DOM. 2015-02-11 23:25:31 +00: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 88d5997cda Moved the "cart notes" before the "proceed to checkout" button, closes #6935 2014-12-19 10:12:31 -02:00
Claudio Sanches 7450828304 Show the shipping calculator only in cart page 2014-12-10 15:40:18 -02:00