adjusting related products output
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:32:36 +0000 (16:32 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:32:36 +0000 (16:32 -0500)
views/product_detail.php

index 2e26b9f..4eaf5ee 100644 (file)
@@ -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 . " ";
     }
    
 ?>