From: Anthony Talarico Date: Fri, 24 Jun 2016 15:54:42 +0000 (-0400) Subject: used get_title function for product to fix 500 error X-Git-Tag: v1.0.0^2~144 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=193fed04ad9606d3f3d353880e2fa42ebbb6eadf;p=WP-Themes%2Ffrancejourneys.git used get_title function for product to fix 500 error --- diff --git a/sidebar.php b/sidebar.php index a1fcdc8..d3a227b 100644 --- a/sidebar.php +++ b/sidebar.php @@ -2,7 +2,7 @@ $id = $post->ID; $product_meta = new WC_Product($id); $sku = $product_meta->get_sku(); - $title = $product; + $title = $product_meta->get_title(); ?>