-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split validation template file into two files to handle 1.6 and 1.7
- Loading branch information
Showing
3 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
|
||
{capture name=path} | ||
<a href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'htmlall':'UTF-8'}" rel="nofollow" title="{l s='Go back to the Checkout' mod='InstamojoPrestaShop'}"> | ||
{l s='Checkout' mod='InstamojoPrestaShop'} | ||
{l s='Pay using Instamojo' mod='InstamojoPrestaShop'} | ||
{/capture} | ||
|
||
|
||
|
||
{assign var='current_step' value='payment'} | ||
|
||
{if isset($api_errors)} | ||
<div class="errors"> | ||
{foreach $api_errors as $error} | ||
<div class='alert alert-danger error'>{$error}</div> | ||
{/foreach} | ||
</div> | ||
{/if} | ||
|
||
<P>Selected Payment Method : <b>{$checkout_label}</b></p> | ||
|
||
<form action="{$link->getModuleLink('InstamojoPrestaShop', 'validation', [], true)|escape:'htmlall':'UTF-8'}" method="post"> | ||
{if isset($showPhoneBox)} | ||
<div style="padding:20px 0px;margin:20px 0;"> | ||
<label>Mobile No.</label> | ||
<input class='form-controls' type="text" name='mobile' value="{$mobile}"> | ||
<div> | ||
<input class='btn btn-primary' type='submit' name='updatePhone' value='Update Phone'> | ||
</div> | ||
</div> | ||
{else} | ||
<input type="hidden" name="confirm" value="1" /> | ||
|
||
<p class="cart_navigation" id="cart_navigation"> | ||
<a href="{$link->getPageLink('order', true)}?step=3" class="button_large">{l s='Other payment methods' mod='InstamojoPrestaShop'}</a> | ||
<input type="submit" value="{l s='Confirm Order' mod='InstamojoPrestaShop'}" class="exclusive_large" /> | ||
</p> | ||
{/if} | ||
</form> |
File renamed without changes.