projects
/
WP-Themes
/
jollylama.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52249ac
)
Title and SKU added
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 12 Apr 2016 17:21:58 +0000
(13:21 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 12 Apr 2016 17:21:58 +0000
(13:21 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
45a1e8f
..
c558ca0
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-91,7
+91,10
@@
function woo_product_inquiry_tab( $tabs ) {
}
function woo_product_inquiry_content() {
+ global $product;
echo do_shortcode('[gravityform id="2" title="true" description="true"]');
+ echo "<p>Product name: " . $product->get_title() ."</p>";
+ echo "<p>Product SKU: " . $product->get_sku() . "</p>";
}
/* Header for posts*/