From a3eabe1c0ff7d88c4b7b5c803261171f618da829 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 6 Feb 2012 18:14:46 +0000 Subject: [PATCH] Fixed missing product id --- templates/single-product/add-to-cart/variable.php | 2 +- woocommerce-functions.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/single-product/add-to-cart/variable.php b/templates/single-product/add-to-cart/variable.php index a8e699b686b..98cfb2cc57e 100644 --- a/templates/single-product/add-to-cart/variable.php +++ b/templates/single-product/add-to-cart/variable.php @@ -3,7 +3,7 @@ * Variable Product Add to Cart */ -global $woocommerce, $product; +global $woocommerce, $product, $post; ?>