Manos Psychogyiopoulos
1e44f0cd68
make variations script re-usable
2014-10-14 11:03:47 +03:00
shivapoudel
61430e1515
Absolute path should have curly braces - part 2
2014-09-22 22:22:57 +05:45
Mike Jolley
01b5f5afec
Sanitize taxonomy names Closes #6124
2014-08-29 10:18:36 +01:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02: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
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
splashingpixels
1e998f776e
template coding standard fixes
2014-04-07 19:29:39 -07:00
splashingpixels
b16d5195c8
coding standards fixes
2014-01-14 21:53:37 -08:00
Mike Jolley
0c9962cf93
Get correct name Fixes #4385
2013-12-24 14:28:25 +00: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
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Andrew Benbow
437b224f7b
Fix variations not showing in all cases for draft products
2013-11-25 09:03:07 +01:00
Mike Jolley
08bfd6b4d7
woocommerce_before_single_variation and after. Removed un-needed div. Closes #3906
2013-10-16 10:41:23 +01: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
e58b101fd5
If no variations exist, show out of stock notice. Closes #3763 .
2013-09-25 09:36:04 +01:00
Mike Jolley
06ef44c9df
Pass args to variation forms from cart page. Closes #3568
2013-09-23 15:47:47 +01:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +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
Coen Jacobs
74fcf1a1d4
Abstracted attribute helper to class #3282
2013-06-05 16:14:25 +02:00
Mike Jolley
003dab8525
Better workaround for #2975
2013-04-16 15:39:07 +01:00
Mike Jolley
f930ab27b6
More validation fixes. #2903 .
2013-04-08 19:35:10 +01:00
Daniel Espinoza
eb6dfe9ad4
Changes to template files that were causing validation errors.
2013-04-05 21:56:36 -05:00
Lee Willis
7a8f87428c
Add additional hook to grouped product add-to-cart template
2013-03-08 18:26:01 +00:00
Mike Jolley
5393fc7ddb
Santize custom attributes. #2587
2013-03-07 19:34:29 +00:00
Mike Jolley
089178e0e8
escape when output, not when saved. #2587
2013-03-05 21:20:00 +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
c903e47089
Improve variation form pattern and data
2013-02-07 10:12:08 +00:00
Mike Jolley
31be242a6b
Fix ordering. Closes #2229 .
2013-01-15 12:10:03 +00:00
Geert De Deckere
319c81b403
Made title attribute for product quantity inputs translatable
2013-01-03 14:18:30 +01:00
Mike Jolley
681a2a8ba5
Groups product titles. Closes #1966 .
2012-12-11 17:28:47 +00:00
Coen Jacobs
37feabd87f
WooCommerce 2.0 is coming!
2012-12-03 20:19:58 +01:00
Mike Jolley
3c66ddae42
Class tweaks, need more testing. Closes #1874 .
2012-11-29 16:48:40 +00:00
Mike Jolley
b1ec4b289a
Nuked whitespace. Closes #1846 .
2012-11-27 16:22:47 +00:00
Mike Jolley
4720628a71
Hooks galore for integers vs floats. Closes #1113 .
2012-11-19 14:05:06 +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
Mike Jolley
01e8bd6f08
Merge pull request #1604 from superjinya/patch-1
...
Update templates/single-product/add-to-cart/variable.php
2012-10-15 12:44:10 -07:00
Coen Jacobs
943091d2ca
[3.1.4] Prevent direct access to files #1575
2012-10-15 12:57:58 +02:00
superjinya
9554d3f253
Update templates/single-product/add-to-cart/variable.php
...
Variation options fixed as issues provided by ksemel. Woo Jin Koh
2012-10-15 11:01:42 +09:00
Mike Jolley
39b7567b0c
product_variations[] Closes #1581 .
2012-10-12 14:21:21 +01:00
Mike Jolley
5868b63b93
Ordering options. Closes #1166 .
2012-10-09 15:57:06 +01:00
Mike Jolley
431316dfd3
small variable naming tweak
2012-08-25 16:00:40 +01:00
Mike Jolley
40cc7b997d
Scope. Closes #1364 .
2012-08-21 16:41:18 +01:00
Mike Jolley
ef7ec98f2e
templates
2012-08-14 23:43:54 +01:00
kathy
f2415b3761
switch get_price() checks to is_purchasable() for displaying Add to Cart button
2012-08-06 19:27:24 -05:00
Mike Jolley
cedcca7fe7
is_purchasable. Closes #1331 .
2012-08-07 00:33:52 +01:00