projects
/
WP-Plugins
/
michsci-products.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e7cac
)
added related products output
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:31:12 +0000
(16:31 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:31:12 +0000
(16:31 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
6fd7941
..
2e26b9f
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-33,6
+33,10
@@
foreach ($tags as $tag){ ?>
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;
+ }
?>