How to submit custom post type front end form when a user buy specific product

Question

Hi there i want to achieve this functionality and i want ideas. I have one custom form in front end and a user can fill this form and upload a custom post type but i want this steps.

User select a specific product i change the buy button with a button to send it in my custom form when user fill the form i want to send it in the checkout to buy the product and submit my custom form?

is it possible to succeed in such an operation?

in progress 0
Tsourou Nas 2 months 2021-10-10T13:15:46-05:00 0 Answer 0 views 0

Answer ( 1 )

    0
    2021-10-12T13:48:47-05:00

    What about transient api? I store the form values in set_transient and when button complete checkout clicked get_transient and in thank you page delete transient?

Leave an answer

Browse
Browse