Доработка формы заказа
Приветствую. Необходимо доработать форму заказа для интернет-магазина, а именно - добавить выпадающее меню или выбор галочкой формы оплаты - (при получении или банковской картой). В случае выбора - при получении - заказ передается на сайт, в случае выбора оплаты картой - заказ передается на сайт, а пользователь перенаправляется на страницу оплаты.
Как выглядит форма сейчас можно посмотреть на скриншоте.
Код формы -
{if !$notpermit}
<div class="title"><strong>{l s='Simple order in one click' mod='orderinoneclick'}</strong></div>
<div class="description">{l s='Enter your name and phone or email. Our experts will call you, and specify the details of the order!' mod='orderinoneclick'}</div>
<strong><center>{l s='I agree' mod='orderinoneclick'}<strong></center>
<center><td class="price" id="total_price">{displayPrice price=$total_price_without_tax}</center></td>
{*
* <center><a href="https://secure.wayforpay.com/button/bb28eb6d34cbc" target="_blank">
* <input type="button" value="{l s='Operation not permitted! Contact to administrator!' mod='orderinoneclick'}"
* </center></td>
*
* <p><div class="description">{l s='E-mail is invalid' mod='orderinoneclick'}</div></a></p>
*}
<form action="" method="post" id="form_id">
<div class="alarm_pore">
{if $errname}{l s='Name is invalid' mod='orderinoneclick'}{/if}
{if $errnameempty}{l s='You must specify the your name.' mod='orderinoneclick'}{/if}
</div>
<div class="divtextinput {if $errname || $errnameempty}alarm{/if}"><label>{l s='Your name:' mod='orderinoneclick'} <font color="darkred">*</font></label><input name="name" type="text" class="textinput" {if $name}value="{$name}"{/if}></div>
<div class="alarm_pore">
{if $errphoneoremail}{l s='You must specify a phone number or email:' mod='orderinoneclick'}{/if}
{if $erremail}{l s='E-mail is invalid. ' mod='orderinoneclick'}{/if}
{if $errphone}{l s='Phone number is invalid.' mod='orderinoneclick'}{/if}
</div>
<div class="divtextinput {if $errphone}alarm{/if}"><label>{l s='Phone:' mod='orderinoneclick'} </label><input name="phone" type="text" class="textinput ym-record-keys" {if $phone}value="{$phone}"{/if}></div>
<div class="divtextinput {if $errphone}alarm{/if}"><label>{l s='Adress:' mod='orderinoneclick'} </label><input name="adresdostavki" type="text" class="textinput" {if $adresdostavki}value="{$adresdostavki}"{/if}></div>
<div class="divtextinput {if $erremail}alarm{/if}"><label>{l s='E-mail:' mod='orderinoneclick'} </label><input name="email" type="text" class="textinput" {if $email}value="{$email}"{/if}></div>
{if $href_agree}
<div class="alarm_pore">{if $erragree}{l s='You must agree license.' mod='orderinoneclick'}{/if}</div>
<table>
<tr>
<td>
<input type="checkbox" name="agree" value="1" {$agree|escape:'htmlall'}>
</td>
<td>
{l s='I agree' mod='orderinoneclick'} <a href="{$href_agree|escape:'htmlall'}" target="_blank">{l s='term and condition use' mod='orderinoneclick'}.</a>
</td>
</tr>
</table>
{/if}
<div class="buttons">
<span id="ooc_cancel">{l s='Cancel' mod='orderinoneclick'}</span>
<input id="ooc" type="button" value="{l s='Confirm' mod='orderinoneclick'}" onclick="OOCFormRequest('ooc_window', 'form_id', '/modules/orderinoneclick/orderinoneclick_sendorder.php')">
</div>
</form>
{else}
<div class="notpermit">{l s='Operation not permitted! Contact to administrator!' mod='orderinoneclick'}</div>
<span id="ooc_cancel" class="ooc_notpermit_cancel">{l s='Cancel' mod='orderinoneclick'}</span>
{/if}
Applications 1
Current freelance projects in the category Web Programming
Creation of a website for an accounting firm on WordPress (using a ready-made template)
557 USD
Good day. We are an accounting firm - we want to create a website for the accounting firm on WordPress (using a ready-made template) in two languages. It should be optimized for Google and SEO. Web Programming ∙ 7 hours 9 minutes back ∙ 75 proposals |
Improvement of the time tracking system on ASP.NETNeed a .NET developer for a small project — an employee payroll system. Three tasks: Deploy the system on our subdomain (we will provide the domain and access). Audit the login form + make security improvements if necessary. Implement a closed API for data export in JSON. Stack:… Web Programming ∙ 7 hours 23 minutes back ∙ 22 proposals |
A modern website is needed for a stretch ceiling company in Poland.
635 USD
Need a modern premium design, mobile device adaptation, fast loading, SEO, animations, calculator, portfolio, application form. Experience in creating websites in Poland, landing pages for construction or renovation companies is preferred. Please be sure to send examples of your… HTML & CSS, Web Programming ∙ 9 hours 40 minutes back ∙ 117 proposals |
Looking for a Frontend Developer for an educational platformFrontend Developer https://www.figma.com/design/vXKC6kfWOeDBX2464BXqRv/%D0%A2%D0%97?node-id==0-1&p=f&t=OJxQ9DF0zXBNnBJv-0 Hello! We are looking for a frontend developer to work on a modern music platform Muse. The project already has a ready design in Figma, a… HTML & CSS, Web Programming ∙ 11 hours 28 minutes back ∙ 80 proposals |
Redesign and SEO optimization of the website on the Prom.ua platformTechnical Task Website: protone.com.uaMain Goal The website needs to be made modern, visually appealing, user-friendly, and maximally prepared for promotion in search engines and within the Prom.ua marketplace. The main focus is on improving the design, catalog structure,… Web Programming, Web Design ∙ 11 hours 58 minutes back ∙ 21 proposals |