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
James Koster
ddc856880a
shipping calculator. #6412
2014-12-09 16:20:43 +00: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
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
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
claudiosmweb
5cb26c7ae4
Added remove link in cart widget #6754
2014-11-14 10:24:51 -02:00
James Koster
ef28c43862
move proceed to checkout button. closes #5496
2014-10-06 12:33:39 +01:00
shivapoudel
fbf0314bb6
Absolute path should have curly braces - part 1
2014-09-22 22:16:03 +05:45
claudiosmweb
063d1eb349
fixed the access permissions
2014-09-01 12:44:51 -03: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
Andrew Benbow
2fcda12ea1
Update mini-cart.php
...
$_product->is_visible()
2014-06-22 13:39:10 +01:00
claudiosmweb
80f44d2d1a
defined a min value to cart quantity input
2014-05-06 21:49:30 -03:00
Mike Jolley
8c4f7dc8d1
Reverse calculator check Closes #5323
2014-04-23 14:30:45 +01:00
Mike Jolley
bfa599ef0b
More friendly/less blunt "no shipping" messages.
...
Closes #5276
2014-04-07 10:48:48 +01: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
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
Mike Jolley
256b1e011c
Tweak shipping language Closes #5030
2014-03-04 12:39:39 +00:00
Patrick Rauland
f3d1f5aa7d
correcting cart template class names
2014-02-24 16:42:40 -06: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
James Koster
a078b942e7
removed a ↓ closes #4598
2014-01-31 15:31:35 +00:00
claudiosmweb
1d332b67dd
added extra class to cart item data, fixes #4600
2014-01-30 19:02:52 -02:00
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
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
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
Roy Ho
2dcd0149db
missing ending semicolons on wp_nonce_field()
2013-12-07 10:49:53 -08: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
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
4ce301a080
Replaced templates 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
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
thenbrent
2fcd615f88
Update calls to wc_print_messages() function
...
Part of #4034
2013-11-12 20:59:40 -08:00
Mike Jolley
70e2a05bd6
wpautop when displaying values #3926
2013-11-11 13:50:36 +00:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00: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
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
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
06ef44c9df
Pass args to variation forms from cart page. Closes #3568
2013-09-23 15:47:47 +01: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
27053e1abd
escaping
2013-08-22 17:20:28 +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
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +01:00
Mike Jolley
c9f051dee2
Cart empty classes. Closes #3357 .
2013-06-28 10:10:13 +01:00
Mike Jolley
3b5d8b7d41
Futher standardisation of cart and order loops. Closes #3348 .
2013-06-17 12:21:24 +01:00