Putting this back to the way it was develop
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jul 2016 19:10:00 +0000 (15:10 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jul 2016 19:10:00 +0000 (15:10 -0400)
Still working out somethings with the permalinks

index.php

index fedfda6..d7d4a71 100644 (file)
--- a/index.php
+++ b/index.php
@@ -598,7 +598,7 @@ function michsci_list_products($text_query)
         $product->href = $current_url
             . ( ( strpos( $current_url, '?' ) ) ? '&' : '?' )
             . "product=" . $product->ID;
-        $product->href = get_permalink( $product->ID );
+        //$product->href = get_permalink( $product->ID );
         ++$iterator;
     }
     //echo '<pre>' . print_r($products, true) . '</pre>';