Commit Graph

290 Commits

Author SHA1 Message Date
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +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 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 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
valllabh 9c4326083b #3160 Fixed
#3160 Fixed

Renamed "Shipping" to "Shipping and Handling"
2013-05-16 18:38:34 +05:30
Mike Jolley 77aa394093 Prevent empty meta queries by filtering. Closes #2978. 2013-04-17 16:29:43 +01:00
Mike Jolley 6924817c22 City field on shipping calc 2013-04-15 11:35:31 +01:00
James Koster b5959a5d20 filters for cross-sell display 2013-04-08 11:46:11 +01: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 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
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
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 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 45ea0fc852 Change template name 2013-02-10 16:05:40 +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
Mike Jolley 44013d4480 fix undefined when switching country from select to input 2013-01-16 12:46:19 +00:00
Mike Jolley 1766f07c19 Meta_queries Closes #2182. 2013-01-10 16:02:04 +00: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
Mike Jolley 4988e0f444 Consistant hooks for review order/cart totals - Closes #2076. 2012-12-29 19:04:18 +00:00
Mike Jolley b0c2a11c90 1 table but no colspans, qty column removed 2012-12-16 16:28:54 +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 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
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +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 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley 2c26f06e55 Fees api started, and playing with line items 2012-11-09 21:15:15 +00:00
Mike Jolley 7becdf346c kses 2012-11-06 12:52:08 +00:00
Mike Jolley 817b17caac Tweak cart thumbnail display. Closes #1668. 2012-11-04 14:15:14 +00:00
Mike Jolley 0d38e61e2d Sanitize fixes. Closes #1614. 2012-10-17 12:05:54 +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
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02: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 2a30cfda0e loop start and end. Closes #1356. 2012-09-30 14:41:07 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 9f2a5f07e6 pebkak-proofing cart page. Closes #1375. 2012-08-21 17:23:26 +01:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 6d7e06b500 Better caching support + mini-cart template 2012-07-25 18:59:12 +01:00
Mike Jolley ffec3a6036 Shipping calculator state box improvements 2012-07-22 14:44:01 +01:00
Max Rice 28f9c40700 add option to enable / disable coupon form on cart page 2012-07-20 17:19:52 -04: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 fac3756e65 killed query posts 2012-07-11 15:13:11 +01:00
Mike Jolley 58f84bb2c1 incl. Closes #1184. 2012-06-29 20:45:09 +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
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 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 c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01: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
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 98d5f4d4a2 hide cart note if taxes are disabled 2012-06-05 14:18:17 +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 26a8af2440 radio shipping methods 2012-05-13 21:02:07 +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 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Mike Jolley 215119849c renamed tab 2012-04-23 17:21:51 +01:00
Mike Jolley 0769f8843f Cart/sold individually 2012-04-20 12:09:49 +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
Mike Jolley c6a6949c5c filter tweaks 2012-04-12 16:11:12 +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 e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +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
Mike Jolley 115229aeee no_found_rows Closes #804. 2012-03-14 11:41:32 +00:00
Mike Jolley 8914d1856a n/a 2012-03-12 16:14:00 +00: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 a2714544a4 cart limit item. Closes #646. 2012-02-27 18:22:54 +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 2851642b6c Hooks for quantity selectors and data-min tweaks 2012-02-22 19:45:12 +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 b946c532b2 text change 2012-02-15 15:33:36 +00: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 af625994ba Shipping messages 2012-02-12 11:50:19 +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 44794833f6 Goodbye to free Closes #602. 2012-02-09 09:45:11 +00:00
Mike Jolley 4b27b0be7c Clear 2012-02-03 16:42:21 +00: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 89a226a895 Store cart + shipping tax rows instead of a combination 2012-01-27 15:00:03 +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
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 b76d8ac3c9 WPML filter 2012-01-11 15:15:16 +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 aba310f321 WPML filters #244 2012-01-06 17:14:31 +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 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 f28e4866e0 Shipping calc fix + markup change 2011-12-23 20:29:10 +00:00
lucasstark c76a57fe28 Added woocommerce_cart_item_price_html filter 2011-12-19 07:53:07 -05: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
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 111f444da7 Shipping calc + totals templates 2011-12-09 20:29:43 +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