E
E
Evgenia Satonina2018-12-01 10:29:00
HTML
Evgenia Satonina, 2018-12-01 10:29:00

Data submission form. How to fix or how to work with this one?

Hello.
A very important question, a real problem.
I have over a hundred items on my site. The purchase of each of them goes through the form. The algorithm is as follows:
The client enters the site - selects a product - presses the buy button - a form pops up in the popup - he enters his name, phone number and presses send. I receive a specific name of the product, the name and phone number of the client in the mail. The site is on wp, but there is no submission form. I ordered from a third party programmer. Here is the form

<div style="display: none;" id="bue_now" class="main_popap">
  <div class="popap_head">
  <p>Оставьте свои данные и мы позвоним Вам в течение 30 минут.</p>
  <span>Мы не передаем Ваши данные третьим лицам</span>
  </div>
<div class="popap_body">
<form method="post" class="fromconsul">
  <div class="owner">
    <input autocomplete="on" placeholder="Введите Ваше имя" name="name" id="name" type="text">
  </div>
  <!-- 2 поле --> 
  <div class="owner2">
    <input autocomplete="on" placeholder="Введите номер телефона" name="phone"  id="phone" type="tel">
    <input class="hidden_input" name="title_product"  id="title_product" type="title_product">
  </div>	
  <!-- Кнопка--> 
  <div class="owner3">
    <input class="submit_form" type="submit" disabled="disabled" value="Отправить" >
  </div>			

</form>
</div>
  </div>

And now I need to hang a goal with a different value for the purchase of each product. And the form is the same everywhere, and in the pop-up window... The question is how to implement it without changing the form. Or how to implement it by changing the form.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mitya ToDaSyo, 2018-12-02
@dimastik1986

I'm sorry.
what are you speaking about?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question