moved related products and gallery
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 19:51:21 +0000 (14:51 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 19:51:21 +0000 (14:51 -0500)
views/product_detail.php

index 5d747fb..435447f 100644 (file)
@@ -28,18 +28,10 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
                 $shortcode_output = do_shortcode($value);
                 print $shortcode_output;
         }?>
-        
-    </div>
-    <div class="description small-12 medium-7 columns">
-        <?php
-            setup_postdata( $product );
-            the_content(); 
-        ?>
-    </div>
-    <div class="gallery small-12 medium-4 columns">
-          <?php echo '<a href="#glm_gallery"> Gallery </a>'; ?>
+         <div class="gallery small-12 medium-4 columns">
+          <?php echo '<a href="#glm_gallery"> Product Gallery </a>'; ?>
           <div id="tags">
-          <?php echo "<h2 id='tagsTitle'> Tags </h2><br>"; 
+          <?php echo "<h2 id='tagsTitle'> Related Products </h2><br>"; 
                 $args = array(
                 "hide_empty"=>false
             );
@@ -51,5 +43,13 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
 </div>
         
     </div>
+    <div class="description small-12 medium-7 columns">
+        <?php
+            setup_postdata( $product );
+            the_content(); 
+        ?>
+    </div>
+        
+    </div>
 
 </div>