added features section
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 29 Dec 2015 14:36:54 +0000 (09:36 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 29 Dec 2015 14:36:54 +0000 (09:36 -0500)
views/product_detail.php

index 2144834..c69e17d 100644 (file)
@@ -13,15 +13,22 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
 <?php echo $product->post_title . "<br>"; ?>
 
 <h2><?php echo $product->post_title; ?></h2>
+<?php 
+   
+  $key_value = get_post_custom_values('miproduct_features', $product->ID); 
+  foreach($key_value as $key=>$value){
+      echo $value;
+  } ?>
+
     <?php
     setup_postdata( $product );
     the_content(); ?>
 <?php 
    
-//    $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;
+  } ?>
 
 <div class='row'>
      <div id="tagList" class="small-12 medium-6 columns">