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:
8c6dde2
)
Trying to add the SKU
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 19 Apr 2016 19:32:36 +0000
(15:32 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 19 Apr 2016 19:32:36 +0000
(15:32 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
298dae9
..
9bf4c40
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-92,7
+92,7
@@
function woo_product_inquiry_tab( $tabs ) {
}
function woo_product_inquiry_content() {
global $product;
- echo do_shortcode('[gravityform id="2" title="true" description="true" values="
product_sku
='.$product->get_sku().'"]');
+ echo do_shortcode('[gravityform id="2" title="true" description="true" values="
Product SKU
='.$product->get_sku().'"]');
}
add_filter( 'gform_field_value_product_name', 'gform_add_product_name_field' );
function gform_add_product_name_field( $value ) {