B
B
brar2018-05-20 14:59:01
CMS
brar, 2018-05-20 14:59:01

Put a Function on a WordPress Button?

Hello.
Installed the pricing table plugin. I configured pricing plans for myself. Each plan has a button. On these buttons, you can hang the address of any page. And here's how to make it so that when you click on the button, something like adding to the cart to place an order and sending a notification to the mail about it happens. Or a feedback form was opened, but information about the selected plan was added to the sent letter. That is, I would have any way in which information with the contacts of a potential client and his chosen plan will be sent to the mail.
In WordPress itself, the second day of everything, but I did not find any built-in tools.
PS I'm not a programmer from the word at all, so I'm suffering like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-05-20
@brar

Hello! It is unlikely that you will be able to solve the issue without knowing php & js. So I would recommend you go freelancing.
And so - install the popup maker plugin (to create a modal window), install the Contact Form 7 plugin (to create a contact form). Explore the pricing table plugin API and find a function that can be used to add the selected product/plan to the feedback form. Something like this ....
You are unlikely to find a ready-made solution. You can either write JS that, when clicked, will take the title of the selected plan and add it to the feedback form automatically.
Or you can do it as follows - when you click on each of the plans, the same feedback form is opened, but in the contact form there is a dropdown list with services that the user MANUALLY selects

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question