Capture Course Price in Enquiry Form

Home Forums Legacy Support Support queries How-to & Troubleshooting Capture Course Price in Enquiry Form

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #147305
    dcbytes
    Participant
    Hi guys I have added a gravity form for those looking to enquire about a course to the course menu. I am wanting to know how I can dynamically populate a text field (hidden) with the course price for pushing into my crm lead creation with a price of the course. What is the field name I should put into the parameter field? Thanks in advance.
    #147348
    Anshuman Sahu
    Keymaster
    Well you would need to ask for gravity form for this . you can fetch pricing from the product id which is connected to course . To get product id connected to course use : $product_id  = get_post_meta($course_id,'vibe_course_product',true); then from product id get price : https://stackoverflow.com/questions/30165014/how-to-display-woocommerce-product-price-by-id-number-on-a-custom-page
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Capture Course Price in Enquiry Form’ is closed to new replies.