Commit Graph

138 Commits

Author SHA1 Message Date
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
Claudio Sanches b2a612dba2 [2.3] Revert some changes from a65616c 2015-05-29 12:27:38 -03: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
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
James Koster aad06e7f1c [2.3] cart totals hooked into action 2015-04-09 15:15:37 +01:00
Mike Jolley 7c279f278b Add space after item name 2015-02-26 11:59:50 +00:00
James Koster ddc856880a shipping calculator. #6412 2014-12-09 16:20:43 +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
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
claudiosmweb 80f44d2d1a defined a min value to cart quantity input 2014-05-06 21:49:30 -03:00
Nathan c1f7706d44 Added the type attribute to the coupon input on the cart page 2014-02-20 09:22:55 -05: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
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
Mike Jolley b774e84e29 Revert "Replaced templates functions"
This reverts commit 4ce301a080.
2013-11-25 14:16:26 +00: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
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
James Koster 1fbb6249ff Replaced → / ← on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00: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 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
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 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02: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
Geert De Deckere 319c81b403 Made title attribute for product quantity inputs translatable 2013-01-03 14:18:30 +01:00
Mike Jolley 60626d25f9 The display options for taxes 2012-12-03 16:37:08 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00: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 817b17caac Tweak cart thumbnail display. Closes #1668. 2012-11-04 14:15:14 +00: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 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
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 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 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 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
Mike Jolley c6a6949c5c filter tweaks 2012-04-12 16:11:12 +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
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 9fc2942db2 Readme. Cart quantity limit. 2012-02-14 11:16:38 +00:00
Mike Jolley b76d8ac3c9 WPML filter 2012-01-11 15:15:16 +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
lucasstark c76a57fe28 Added woocommerce_cart_item_price_html filter 2011-12-19 07:53:07 -05: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