Support » Plugin: Contact Form 7 Dynamic Text Extension » Woocommerce current price product in Contact from 7

  • senseart

    (@senseart)


    Hi,
    I have a form in the product sidebar. I want the form to automatically send me the name and current price of the product when a customer make a requests.
    I get the name of the product, but I can’t the price.
    For the name of the product i used CF7_get_post_var key=’title’
    But, I don’t know how to get the price.
    I do not know how to get the result of this:
    <?php echo $product->get_price_html(); ?>
    in the form itself through a shortcode of your plugin.

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce current price product in Contact from 7’ is closed to new replies.