From dc97f1c51db7431544f9d003d8702d2173cb3d81 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 28 Dec 2015 16:32:36 -0500 Subject: [PATCH] adjusting related products output --- views/product_detail.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/views/product_detail.php b/views/product_detail.php index 2e26b9f..4eaf5ee 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -29,13 +29,13 @@ foreach ($tags as $tag){ ?> setup_postdata( $product ); the_content(); - $key_value = get_post_custom_values('miproduct_features', $product->ID); - foreach($key_value as $key=>$value){ - echo $value; - } +// $key_value = get_post_custom_values('miproduct_features', $product->ID); +// foreach($key_value as $key=>$value){ +// echo $value; +// } $key_value = get_post_custom_values('miproduct_related_products', $product->ID); foreach($key_value as $key=>$value){ - echo $value; + echo "Related Products: " . $value . " "; } ?> -- 2.17.1