Commit Graph

51 Commits

Author SHA1 Message Date
Claudio Sanches 0e80bd4573 Introduced woocommerce_shipping_not_enabled_on_cart_html filter 2019-10-27 14:38:47 -03:00
Dhaval Shah 0fb01e6886 Rework confusing shipping message on cart page when calculator is disabled and no methods are available. (#24807)
* Check if shipping calculator is enabled before showing related message in cart totals.

Fixes #24674

* Check if on cart then is shipping calculator is enabled before showing related message. Fixes #24674

* Update no shipping available on cart message

Fix #24674
2019-10-27 14:36:41 -03:00
Mike Jolley ff61a4ab73 __ -> esc_html__ 2019-04-23 16:15:05 +01:00
Mike Jolley 753410bddf methods->options, estimate->shipping 2019-01-15 17:14:23 +00:00
Rodrigo Primo b4db23a4fc Bump template version after change in #22078 2019-01-09 17:39:02 -02:00
Rodrigo Primo edd8f14e40 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-01-09 17:38:32 -02:00
Rodrigo Primo 7daf97d1f8 phpcs fixes
this indentation change is a bit odd but makes phpcs happy
2019-01-09 17:32:27 -02:00
Fulvio Notarstefano 3c4f0db9cc Make shipping may estimate text filterable 2018-11-29 17:16:22 +08:00
Fulvio Notarstefano 1d2700e42f Make shipping may be available text filterable 2018-11-29 14:19:20 +08:00
Mike Jolley a1f927d4f7 Include detination in shipping template 2018-06-01 21:30:01 +01:00
Mike Jolley 06ef8c8589 Hook doc update 2018-05-02 14:28:53 +01:00
claudiulodro b083b3608d Bump template version 2017-09-08 09:41:46 -07:00
Mike Jolley a7b2ae8661 Update shipping code to see if full address has been entered before showing no shipping notice
Fixes #16757
2017-09-08 14:54:15 +01:00
Mike Jolley cffe326e0e Add variable so shipping calculator is shown on first row
Ref: #14461
2017-04-17 16:35:33 +01:00
Mike Jolley 047242515d Make API and CRUD use consistent keys and make use of data 2016-08-30 17:50:35 +01:00
Mike Jolley 1bc9da3e91 Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Mike Jolley 78142a8ebb Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-checkout.php
#	includes/class-wc-coupon.php
#	includes/class-wc-customer.php
#	tests/unit-tests/cart/cart.php
#	tests/unit-tests/cart/functions.php
#	tests/unit-tests/coupon/coupon.php
#	woocommerce.php
2016-06-13 15:01:58 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Justin Shreve ffc80ccd15 Start updating some usage, and start implementing the actual CRUD functions, and some new get/setters for username, email, etc. 2016-03-17 09:41:12 -07:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley 90d472a0fe set $method 2015-12-17 10:15:58 +00:00
roykho 0825b5001e Fix undefined variable when there is only one available method 2015-12-16 18:23:56 -08:00
Mike Jolley 8aec02f625 Remove shipping select box option, tidy up logic and add filters from #9797
closes #9797
2015-12-16 13:00:16 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
James Koster c114489d5b Responsive cart and cart totals tables. #9015 2015-11-02 13:59:07 +00: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
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
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
James Koster c9fff65365 shipping costs. #7650 2015-03-06 13:23:18 +00:00
Mike Jolley b75034ae38 Tweak language based on feedback in #7462
Closes #7462
2015-02-19 10:45:20 +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 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
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
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
Mike Jolley 256b1e011c Tweak shipping language Closes #5030 2014-03-04 12:39:39 +00:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -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