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
Mike Jolley
002bfa45e4
Ensure grouped product exists
...
Fixes #9382
2015-10-22 16:35:29 +01:00
Caleb Burks
ee2757c08f
Specific template override paths
2015-10-03 02:58:08 -05:00
Mike Jolley
de4a80f950
Add disclaimer to template files
...
Closes #8942
2015-10-01 16:07:35 +02:00
Justin Shreve
5b7c51b5de
Wrap the quantity from $_POST in wc_stock_amount to cast it properly
2015-06-18 23:16:00 +00:00
Justin Shreve
eddec91b5a
If a quantity is set in the $_POST request, use that over the field default. This way, if a validation error occurs, the user's requested quantity stays the same.
2015-06-18 20:51:17 +00:00
Gabor Javorszky
72bb8fb553
New filter on grouped products' permalinks
...
Closes #8065
* adds new filter: 'woocommerce_grouped_product_list_link'
2015-04-29 03:07:47 +01:00
Gabor Javorszky
7de4d6ad49
Adds escaping to url and title in link for grouped product page
2015-04-29 03:00:01 +01:00
Mike Jolley
08e6f5acfb
Skip hidden grouped products
...
Closes #7711
2015-03-13 09:44:37 +00:00
Mike Jolley
a786fba802
Min and max for grouped products Closes #7577
2015-03-02 12:11:57 +00:00
shivapoudel
61430e1515
Absolute path should have curly braces - part 2
2014-09-22 22:22:57 +05:45
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
b1c76adb56
Send product object to woocommerce_stock_html filter. Closes #6016
2014-08-13 11:30:47 +01:00
Mike Jolley
39b1ffe01c
reset grouped products correctly to work with short codes
2014-04-08 10:29:51 +01:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Mike Jolley
ef49977905
add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
...
Closes #3484 and Closes #3143 . Pinging @thenbrent as the handler was
originally his idea and I've killed it.
@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley
b38ef8efcd
No add to cart redirect, and use POST for add-to-cart Closes #3200
2013-06-14 12:48:41 +01:00
Lee Willis
7a8f87428c
Add additional hook to grouped product add-to-cart template
2013-03-08 18:26:01 +00:00
Brent Shepherd
b0d538636a
Restore single_add_to_cart_button class
2013-03-05 14:26:59 +10:00
Brent Shepherd
3935034bc0
Fix grouped products sold individually add-to-cart
...
The add-to-cart button for products sold individually on a grouped
product page would always lead to the "Please choose a product to
add to your cart" error. This fixes that, and also restores th
'single_add_to_cart_text' filter to the button's text.
2013-03-05 14:22:54 +10:00
Mike Jolley
681a2a8ba5
Groups product titles. Closes #1966 .
2012-12-11 17:28:47 +00:00
Mike Jolley
3c66ddae42
Class tweaks, need more testing. Closes #1874 .
2012-11-29 16:48:40 +00: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
ef7ec98f2e
templates
2012-08-14 23:43:54 +01:00
Mike Jolley
a322a83a7d
analytics tracking
2012-07-30 16:01:33 +01:00
Mike Jolley
880e8b6b0f
Don't show price when variation prices don't differ. Closes #1199 .
2012-07-11 23:19:33 +01:00
Mike Jolley
b38f043fa9
use is_sold_individually in grouped template
2012-05-11 10:31:34 +01:00
Mike Jolley
c28b28e712
grouped external products
2012-03-30 16:10:14 +01:00
Mike Jolley
00aec064c5
Hooks for add to cart text (single)
2012-02-21 13:40:05 +00:00
Mike Jolley
f74e041a30
Renamed textdomain Closes #444 .
2012-01-05 11:31:22 +00:00
Mike Jolley
0205d5843b
If all grouped products are downloadable, use buttons instead of quantities. Closes #354 .
2011-12-19 18:42:21 +00:00
Mike Jolley
35d1d56329
Made product global, setup automatically, and removed the need to call the class directly in the loop
...
Themes need checking for compat, but the change makes it easier to use
2011-12-11 14:40:25 +00:00
Mike Jolley
d6d886f46d
More templates
2011-12-09 20:16:34 +00:00