Mike Jolley
bc65d87fce
[2.6] Fixes add to cart message for IDs and allows the message to be returned
...
Fixes #11563
2016-08-01 11:41:52 +01:00
Stratos Vetsos
f4f3b5e364
closes #11448
2016-07-18 20:52:26 +03:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Mike Jolley
92c670acde
Fix - woocommerce_local_pickup_methods comparison by stripping instance IDs before the check.
...
@claudiosmweb Seems that local_pickup in zones did not get base tax
applied due to method id mismatch.
2016-06-29 15:23:42 +01:00
Mike Jolley
0f714a13a4
wc_add_to_cart_message() when non-array is passed.
2016-06-16 22:32:06 +01:00
Claudio Sanches
b0e2a981d6
[2.6] Fallback for wp_get_raw_referer() in WP 4.4, closes #11149
2016-06-15 16:34:05 -03:00
Mike Jolley
980a726984
Fix grouped add to cart notice
...
Closes #10974
2016-05-23 13:39:26 +01:00
Caleb Burks
3968b0488e
Redirect to the shop page as a fallback
2016-05-17 16:50:46 -05:00
Claudio Sanches
96f5b85aed
Fixed "Continue Shopping" url when added products from the single product page, closes #10930
2016-05-17 18:32:16 -03:00
Mike Jolley
eefbc053c9
escape data-title
...
Fixes #10490
2016-03-08 13:41:34 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
5ca53d3449
[2.5] Combine includes string
2016-01-28 13:21:03 +00:00
Mike Jolley
7fb7120d8e
[2.5] Move URL functions to core-functions file.
...
Closes #10170
2016-01-27 11:53:19 +00:00
Mike Jolley
a2fbfec5bf
[2.5] Show user country rather than base country in "estimated for" messages
...
#10148
2016-01-25 10:16:39 +00:00
Mike Jolley
6050b204fc
Support qty display in cart messages
...
Closes #10114
2016-01-20 11:32:49 +00:00
Mike Jolley
734bde83f9
Strip tags in cart messages and breadcrumbs
...
Fixes #10074
2016-01-15 09:59:04 +00:00
Mike Jolley
62ca37f651
Merge branch 'master' into shipping-zones
...
# Conflicts:
# includes/admin/class-wc-admin-assets.php
# includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley
901db7b0f8
zone tweaks
2015-12-18 17:10:58 +00:00
Mike Jolley
8aec02f625
Remove shipping select box option, tidy up logic and add filters from #9797
...
closes #9797
2015-12-16 13:00:16 +00:00
Mike Jolley
a0e0bb1e55
Load instance methods for calculations
2015-12-15 15:00:45 +00:00
Mike Jolley
091a8a7641
Zone matching functions
2015-12-15 12:39:52 +00:00
mitogh
52a37b3a1f
Update conditionals to follow Yoda style
2015-11-30 22:18:58 -06:00
Mike Jolley
e94c2b86ca
Remove shipping/tax estimation notice and show in context when needed.
...
Avoids needing complex logic for something which could easily be typed
onto the page by store owner if needed.
Also adjusts line height and padding in cart collaterals
Closes #9578
2015-11-16 15:59:47 +00:00
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
Claudio Sanches
1caaea7b33
Moved methods from WC_Cart to single functions
...
Changes:
- WC_Cart::coupons_enabled() to wc_is_coupons_enabled()
- WC_Cart::get_cart_url() to wc_get_cart_url()
- WC_Cart::get_checkout_url() to wc_get_checkout_url()
This methods can be used in any place, but WC_Cart() is present only on
the frontend.
2015-10-28 15:43:31 -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
Claudio Sanches
3a536ac8b7
Sanitize shipping method label/title, closes #9159
2015-10-01 17:17:45 +02:00
Mike Jolley
a27aeaaa6f
Escape add to cart messages to stop translations from breaking cart events.
2015-09-02 10:59:17 +01:00
Lee Hopkins
9632077c7e
Wrap product name in correct double quotes in wc_format_list_of_items()
2015-08-14 09:57:35 -07:00
Claudio Sanches
7b6680f4ef
Just ignore round more if have a old version of PHP, closes #8629
2015-07-21 19:57:52 -03:00
Claudio Sanches
050d073678
Removed double ;; #8629
2015-07-21 19:49:05 -03:00
Claudio Sanches
70efb53934
Introduces the wc_cart_round_discount() function #8629
2015-07-21 19:45:13 -03:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
2cc7fcfa3f
Fixed missing textdomains
2015-07-13 11:03:03 -03:00
Mike Jolley
5920b88d5d
Add classes to tax and shipping labels/notices
...
Closes #8189
2015-05-27 16:17:36 +01:00
Mike Jolley
4119ae0d7f
Tweak wc_add_to_cart_message #7976
2015-04-20 12:29:04 +01:00
Mike Jolley
31104f6903
Change how wc_format_list_of_items is translated and contructed
...
Closes #7976
2015-04-20 12:29:04 +01: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
Mike Jolley
5cbd02fef2
Improved message when variation attributes are missing.
...
Closes #7670
2015-03-09 13:14:05 +00:00
James Koster
c9fff65365
shipping costs. #7650
2015-03-06 13:23:18 +00:00
Mike Jolley
9f269f765d
Load persistent cart when empty, and Prevent cart being cleared when accessing the login page.
...
Closes #7636
2015-03-06 12:02:02 +00:00
Mike Jolley
9865e5f11e
urlencode coupon Closes #7572
2015-03-02 12:03:31 +00:00
Mike Jolley
d435eedbef
woocommerce_cart_totals_order_total_html
...
Closes #7544
2015-02-24 12:05:32 +00:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
splashingpixels
25b6377298
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-07 22:15:03 -08:00
Mike Jolley
3c82331a8b
Store discount 'tax' to show discounts on prices including tax more accuratly
...
Also deprecated some functions named after having 2 levels of discounts.
2014-11-25 13:05:03 +00:00
claudiosmweb
8eeb6fc204
Removed more some unused code
2014-11-19 22:43:09 -02:00