I have the woocommerce plugin and the contact form 7 plugin too.
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.
Although I am just trying to echo the product title in the form so people don't have to fill it up by themselves.
This does not seem to be working ..
<p>Your Name (required)<br />
[text* your-name] </p>
<p>Your Email (required)<br />
[email* your-email] </p>
<p>Subject<br />
</p>
<?php echo get_the_title( 'id' ); ?>
<?php echo WC_Product::get_formatted_name(); ?>
<p>Your Message<br />
[textarea your-message] </p>
<p>[submit "Send"]</p>
Does anyone have any idea ?
Thanks in advance