From a7e915cdd077a84682408e1deb8abea20f9d2ceb Mon Sep 17 00:00:00 2001 From: lucasstark Date: Sat, 26 Nov 2011 06:17:09 -0500 Subject: [PATCH] Modified forms to include the enctype='multipart/form-data' to allow for upload fields on product forms. --- woocommerce_template_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/woocommerce_template_functions.php b/woocommerce_template_functions.php index 4453db56979..4cd675c8e1b 100644 --- a/woocommerce_template_functions.php +++ b/woocommerce_template_functions.php @@ -300,7 +300,7 @@ if (!function_exists('woocommerce_simple_add_to_cart')) { do_action('woocommerce_before_add_to_cart_form'); ?> -
+ @@ -327,7 +327,7 @@ if (!function_exists('woocommerce_grouped_add_to_cart')) { ?> - + get_children() as $child_id) : $child_product = $_product->get_child( $child_id ); $cavailability = $child_product->get_availability(); ?> @@ -409,7 +409,7 @@ if (!function_exists('woocommerce_variable_add_to_cart')) { - +
$options) : ?>