title: Product Name WooCommerce in Contact Form 7
body: <p>I have the woocommerce plugin and the contact form 7 plugin too.</p>
  
  <p>On the product detail page, in the tabs at the bottom I have a custom tab called enquire. I am embedding one of the forms I created.</p>
  
  <p>Although I am just trying to echo the product title in the form so people don't have to fill it up by themselves.</p>
  
  <p>This does not seem to be working ..</p>
  
  <pre><code>    &lt;p&gt;Your Name (required)&lt;br /&gt;
      [text* your-name] &lt;/p&gt;
  
  &lt;p&gt;Your Email (required)&lt;br /&gt;
      [email* your-email] &lt;/p&gt;
  
  &lt;p&gt;Subject&lt;br /&gt;
    &lt;/p&gt;
  
  &lt;?php echo get_the_title( 'id' ); ?&gt;
  
  &lt;?php echo WC_Product::get_formatted_name(); ?&gt;
  
  
  &lt;p&gt;Your Message&lt;br /&gt;
      [textarea your-message] &lt;/p&gt;
  
  &lt;p&gt;[submit "Send"]&lt;/p&gt;
  </code></pre>
  
  <p>Does anyone have any idea ?</p>
  
  <p>Thanks in advance</p>