How to use url parameter?
-
Hello,
we have a site where you reach the booking form with a link like
mysite.com/bookingform?product=67
because someone is interested in Product 67 (for example).Now I’d like to access this variable and place it in the phone or the details element of your booking form. I can get the variable with PHP and a shortcode function and extract the name from it (product_id 67 >= product name ‘MYPRODUCT’).
How can I auto-fill the phone or details element with a text like “I am interested in MYPRODUCT”?
I have looked at https://wpbookingcalendar.com/faq/, some solutions there are very close…but not for my problem :-/. Maybe you can help me.
Thanks a lot!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How to use url parameter?’ is closed to new replies.