Passing parameters to contact form 7 from pricing page (Order button)

Posted in: Newspaper
Post count: 36

Hello Support,

I have a pricing page that includes an “Order” button for each item. When a user clicks the Order button, it redirects to a form page that uses Contact Form 7. I would like to pass parameters (such as the selected product or pricing option) from the pricing page to the form, so that these values can be pre-filled or processed within the form.
Could you please advise on the best way to implement this with the Newspaper theme? For example:
– How to pass URL parameters from the button to the form page
– How to retrieve those parameters and populate them into Contact Form 7 fields
Thank you for your assistance!
Best regards,
Vunt

Post count: 35449

Hi Vunt,

Unfortunately, this request falls outside the scope of our support, and I’m not able to provide a detailed step-by-step solution. It’s likely that you’ll need assistance from a developer. However, I did some research online and found that you might need to do something like this:

You’ll need to have parameters un url (e.g: Order Now)
Then you need to use the contact form 7 to read the url parameters (something like this:
[hidden product default:get]
[hidden price default:get]
or
[text* product default:get]
[text* price default:get] )

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.