first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,510 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<div class="row">
<div class="col-sm-5 panel" style="width:48%;">
<div class="panel-heading">
<p>{l s='Delivery Address' mod='wkonepagecheckout'}</p>
</div>
<div class="panel-body">
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='If Yes, then the invoice address will be same as delivery address' mod='wkonepagecheckout'}">{l s='Set delivery address as invoice address : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_delivery_as_invoice" id="wk_checkout_delivery_as_invoice_on" value="1"
{if isset($smarty.post.wk_checkout_delivery_as_invoice) && $smarty.post.wk_checkout_delivery_as_invoice == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_DELIVERY_AS_INVOICE == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_delivery_as_invoice)}checked="checked"{/if}>
<label for="wk_checkout_delivery_as_invoice_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_delivery_as_invoice" id="wk_checkout_delivery_as_invoice_off" value="0" {if $configValues.WK_CHECKOUT_DELIVERY_AS_INVOICE == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_guest_allow) && $smarty.post.wk_checkout_delivery_as_invoice == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_delivery_as_invoice" id="wk_checkout_delivery_as_invoice_off" value="0" {if isset($smarty.post.wk_checkout_delivery_as_invoice) && $smarty.post.wk_checkout_delivery_as_invoice == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_delivery_as_invoice_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Use delivery address as invoice address' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show company input field for delivery address' mod='wkonepagecheckout'}">{l s='Company : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_COMPANY_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_company_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_company_show"
id="wk_checkout_delivery_company_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_COMPANY_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_company_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_company_req"
id="wk_checkout_delivery_company_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show VAT number input field for delivery address' mod='wkonepagecheckout'}">{l s='VAT Number : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_VAT_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_vat_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_vat_show"
id="wk_checkout_delivery_vat_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_VAT_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_vat_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_vat_req"
id="wk_checkout_delivery_vat_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show address complement input field for delivery address' mod='wkonepagecheckout'}">{l s='Address Complement : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_ADDRESS_COMPANY_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_add_comp_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_add_comp_show"
id="wk_checkout_delivery_add_comp_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_ADDRESS_COMPANY_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_add_comp_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_add_comp_req"
id="wk_checkout_delivery_add_comp_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show phone input field for delivery address' mod='wkonepagecheckout'}">{l s='Phone : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_PHONE_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_phone_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_phone_show"
id="wk_checkout_delivery_phone_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_PHONE_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_phone_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_phone_req"
id="wk_checkout_delivery_phone_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show mobile phone input field for delivery address' mod='wkonepagecheckout'}">{l s='Mobile Phone : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_MOBILE_PHONE_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_mobile_phone_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_mobile_phone_show"
id="wk_checkout_delivery_mobile_phone_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_MOBILE_PHONE_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_mobile_phone_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_mobile_phone_req"
id="wk_checkout_delivery_mobile_phone_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show other information input field for delivery address' mod='wkonepagecheckout'}">{l s='Other Information : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_OTHER_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_other_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_other_show"
id="wk_checkout_delivery_other_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_OTHER_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_other_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_other_req"
id="wk_checkout_delivery_other_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show address alias input field for delivery address' mod='wkonepagecheckout'}">{l s='Address Alias : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_ALIAS_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_delivery_alias_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_delivery_alias_show"
id="wk_checkout_delivery_alias_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_DELIVERY_ALIAS_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_delivery_alias_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_delivery_alias_req"
id="wk_checkout_delivery_alias_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitDeliveryAddress" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>
</div>
</div>
<div class="col-sm-1" style="width:1%;"></div>
<div class="col-sm-5 panel" style="width:48%;">
<div class="panel-heading">
<p>{l s='Invoice Address' mod='wkonepagecheckout'}</p>
</div>
<div class="panel-body">
<form action="" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show company input field for invoice address' mod='wkonepagecheckout'}">{l s='Company : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_COMPANY_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_company_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_company_show"
id="wk_checkout_invoice_company_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_COMPANY_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_company_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_company_req"
id="wk_checkout_invoice_company_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show VAT number input field for invoice address' mod='wkonepagecheckout'}">{l s='VAT Number : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_VAT_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_vat_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_vat_show"
id="wk_checkout_invoice_vat_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_VAT_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_vat_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_vat_req"
id="wk_checkout_invoice_vat_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show address complement input field for invoice address' mod='wkonepagecheckout'}">{l s='Address Complement : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_ADDRESS_COMPANY_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_add_comp_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_add_comp_show"
id="wk_checkout_invoice_add_comp_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_ADDRESS_COMPANY_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_add_comp_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_add_comp_req"
id="wk_checkout_invoice_add_comp_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show phone input field for invoice address' mod='wkonepagecheckout'}">{l s='Phone : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_PHONE_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_phone_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_phone_show"
id="wk_checkout_invoice_phone_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_PHONE_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_phone_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_phone_req"
id="wk_checkout_invoice_phone_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show mobile phone input field for invoice address' mod='wkonepagecheckout'}">{l s='Mobile Phone : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_MOBILE_PHONE_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_mobile_phone_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_mobile_phone_show"
id="wk_checkout_invoice_mobile_phone_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_MOBILE_PHONE_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_mobile_phone_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_mobile_phone_req"
id="wk_checkout_invoice_mobile_phone_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show other information input field for invoice address' mod='wkonepagecheckout'}">{l s='Other Information : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_OTHER_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_other_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_other_show"
id="wk_checkout_invoice_other_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_OTHER_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_other_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_other_req"
id="wk_checkout_invoice_other_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-5">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show address alias input field for invoice address' mod='wkonepagecheckout'}">{l s='Address Alias : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-6 col-md-offset-1 checkbox">
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_ALIAS_SHOW == '1'}checked="checked"{/if}
data-required="0"
data-field-value="wk_checkout_invoice_alias_req"
class="wk_delivery_req_field"
type="checkbox"
value="1"
name="wk_checkout_invoice_alias_show"
id="wk_checkout_invoice_alias_show">
<span>{l s='Show' mod='wkonepagecheckout'}</span>
</label>
<label class="custom_checkbox">
<input
{if $configValues.WK_CHECKOUT_INVOICE_ALIAS_REQ == '1'}checked="checked"{/if}
data-required="1"
data-field-value="wk_checkout_invoice_alias_show"
class="wk_delivery_req_field"
type="checkbox"
value="2"
name="wk_checkout_invoice_alias_req"
id="wk_checkout_invoice_alias_req">
<span>{l s='Required' mod='wkonepagecheckout'}</span>
</label>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitInvoiceAddress" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,150 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Show cart details before checkout : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_cart_detail" id="wk_checkout_cart_detail_on" value="1"
{if isset($smarty.post.wk_checkout_cart_detail) && $smarty.post.wk_checkout_cart_detail == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_CART_DETAIL == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_cart_detail)}checked="checked"{/if}>
<label for="wk_checkout_cart_detail_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_cart_detail" id="wk_checkout_cart_detail_off" value="0" {if $configValues.WK_CHECKOUT_CART_DETAIL == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_cart_detail) && $smarty.post.wk_checkout_cart_detail == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_cart_detail" id="wk_checkout_cart_detail_off" value="0" {if isset($smarty.post.wk_checkout_cart_detail) && $smarty.post.wk_checkout_cart_detail == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_cart_detail_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Allow customer to save for later : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_cart_save_later" id="wk_checkout_cart_save_later_on" value="1"
{if isset($smarty.post.wk_checkout_cart_save_later) && $smarty.post.wk_checkout_cart_save_later == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_CART_SAVE_LATER == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_cart_save_later)}checked="checked"{/if}>
<label for="wk_checkout_cart_save_later_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_cart_save_later" id="wk_checkout_cart_save_later_off" value="0" {if $configValues.WK_CHECKOUT_CART_SAVE_LATER == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_cart_save_later) && $smarty.post.wk_checkout_cart_save_later == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_cart_save_later" id="wk_checkout_cart_save_later_off" value="0" {if isset($smarty.post.wk_checkout_cart_save_later) && $smarty.post.wk_checkout_cart_save_later == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_cart_save_later_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Customer can save cart product for future purchase' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Show who bought also bought feature below the checkout page : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_cart_also_bought" id="wk_checkout_cart_also_bought_on" value="1"
{if isset($smarty.post.wk_checkout_cart_also_bought) && $smarty.post.wk_checkout_cart_also_bought == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_CART_ALSO_BOUGHT == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_cart_also_bought)}checked="checked"{/if}>
<label for="wk_checkout_cart_also_bought_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_cart_also_bought" id="wk_checkout_cart_also_bought_off" value="0" {if $configValues.WK_CHECKOUT_CART_ALSO_BOUGHT == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_cart_also_bought) && $smarty.post.wk_checkout_cart_also_bought == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_cart_also_bought" id="wk_checkout_cart_also_bought_off" value="0" {if isset($smarty.post.wk_checkout_cart_also_bought) && $smarty.post.wk_checkout_cart_also_bought == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_cart_also_bought_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group wk_checkout_also_bought_number">
<label class="control-label col-lg-3 required">
{l s='Number of displayed products : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-3">
<input type="text" value="{$configValues.WK_CHECKOUT_ALSO_BOUGHT_NUMBER}" id="wk_checkout_also_bought_number" name="wk_checkout_also_bought_number">
<div class="help-block">{l s='Set the number of products displayed in this block.' mod='wkonepagecheckout'} </div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Size of Product image on cart : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-3">
<select name="wk_checkout_product_image" id="wk_checkout_product_image">
<option {if $configValues.WK_CHECKOUT_PRODUCT_IMAGE == '1'}selected="selected"{/if} value="1">{l s='50 x 50' mod='wkonepagecheckout'}</option>
<option {if $configValues.WK_CHECKOUT_PRODUCT_IMAGE == '2'}selected="selected"{/if} value="2">{l s='80 x 80' mod='wkonepagecheckout'}</option>
<option {if $configValues.WK_CHECKOUT_PRODUCT_IMAGE == '3'}selected="selected"{/if} value="3">{l s='100 x 100' mod='wkonepagecheckout'}</option>
</select>
<div class="help-block">{l s='Set width x height of product image on cart' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Terms of service : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_terms_service" id="wk_checkout_terms_service_on" value="1"
{if isset($smarty.post.wk_checkout_terms_service) && $smarty.post.wk_checkout_terms_service == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_TERMS_SERVICE == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_terms_service)}checked="checked"{/if}>
<label for="wk_checkout_terms_service_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_terms_service" id="wk_checkout_terms_service_off" value="0" {if $configValues.WK_CHECKOUT_TERMS_SERVICE == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_terms_service) && $smarty.post.wk_checkout_terms_service == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_terms_service" id="wk_checkout_terms_service_off" value="0" {if isset($smarty.post.wk_checkout_terms_service) && $smarty.post.wk_checkout_terms_service == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_terms_service_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group wk_checkout_terms_option">
<label class="control-label col-lg-3 required">
{l s='Page for Terms and Condition : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-3">
<select name="wk_checkout_terms_option" id="wk_checkout_terms_option" class="form-control">
<option value="0">--</option>
{if isset($cmsCondition) && $cmsCondition}
{foreach $cmsCondition as $condition}
<option {if $configValues.WK_CHECKOUT_TERMS_OPTION == $condition.id_cms}selected="selected"{/if} value="{$condition.id_cms}">{$condition.meta_title}</option>
{/foreach}
{/if}
</select>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitCart" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,78 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-group">
<label class="control-label col-lg-3 required">
{l s='Checkout Button Color : ' mod='wkonepagecheckout'}
</label>
<div class="input-group col-lg-3">
<input type="color" data-hex="true" class="color" name="wk_checkout_button_color" value="{$configValues.WK_CHECKOUT_BUTTON_COLOR}" />
</div>
<div class="help-block col-md-offset-3">{l s='Button color will change on one page checkout page' mod='wkonepagecheckout'}</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3 required">
{l s='Checkout Button Font size : ' mod='wkonepagecheckout'}
</label>
<div class="input-group col-lg-3">
<input type="text" class="form-control" name="wk_checkout_button_font_size" value="{$configValues.WK_CHECKOUT_BUTTON_FONT_SIZE}" maxlength="2" />
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3 required">
{l s='Checkout Button Font Color : ' mod='wkonepagecheckout'}
</label>
<div class="input-group col-lg-3">
<input type="color" data-hex="true" class="form-control" name="wk_checkout_button_font_color" value="{$configValues.WK_CHECKOUT_BUTTON_FONT_COLOR}"/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Checkout Button Font Family : ' mod='wkonepagecheckout'}
</label>
<div class="input-group col-lg-3">
<select name="wk_checkout_button_font_family">
<option value="1" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 1} selected="selected"{/if}>
Arial, Helvetica, sans-serif
</option>
<option value="2" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 2} selected="selected"{/if}>
Comic Sans MS,cursive,sans-serif
</option>
<option value="3" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 3} selected="selected"{/if}>
Lucida Sans Unicode, Lucida Grande, sans-serif
</option>
<option value="4" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 4} selected="selected"{/if}>
Courier New, Courier, monospace
</option>
<option value="5" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 5} selected="selected"{/if}>
Lucida Console, Monaco, monospace
</option>
<option value="6" {if $configValues.WK_CHECKOUT_BUTTON_FONT_FAMILY == 6} selected="selected"{/if}>
Montserrat, sans-serif
</option>
</select>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitCustomizer" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,88 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='If No, then module functionality gets disabled' mod='wkonepagecheckout'}">{l s='Enable One Page Checkout : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_mode" id="wk_checkout_mode_on" value="1"
{if isset($smarty.post.wk_checkout_mode) && $smarty.post.wk_checkout_mode == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_MODE == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_mode)}checked="checked"{/if}>
<label for="wk_checkout_mode_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_mode" id="wk_checkout_mode_off" value="0" {if $configValues.WK_CHECKOUT_MODE == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_mode) && $smarty.post.wk_checkout_mode == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_mode" id="wk_checkout_mode_off" value="0" {if isset($smarty.post.wk_checkout_mode) && $smarty.post.wk_checkout_mode == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_mode_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="wk-general-setting">
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='If enabled, then onepagecheckout will only work on specific IP Address' mod='wkonepagecheckout'}">{l s='Sandbox Mode : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_sandbox" id="wk_checkout_sandbox_on" value="1"
{if isset($smarty.post.wk_checkout_sandbox) && $smarty.post.wk_checkout_sandbox == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_SANDBOX == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_sandbox)}checked="checked"{/if}>
<label for="wk_checkout_sandbox_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_sandbox" id="wk_checkout_sandbox_off" value="0" {if $configValues.WK_CHECKOUT_SANDBOX == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_sandbox) && $smarty.post.wk_checkout_sandbox == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_sandbox" id="wk_checkout_sandbox_off" value="0" {if isset($smarty.post.wk_checkout_sandbox) && $smarty.post.wk_checkout_sandbox == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_sandbox_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Check one page checkout module on specific IP Address' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group wk-checkout-ips wkhide">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='IP addresses on which one page checkout is applicable' mod='wkonepagecheckout'}">{l s='Add IP Address : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9">
<div class="col-lg-6">
<input type="hidden" value="{if isset($ip)}{$ip}{/if}" name="wk_ip_address" id="wk_ip_address">
<input type="text" value="{$configValues.WK_CHECKOUT_IPS}" name="wk_checkout_ip_address" id="wk_checkout_ip_address">
</div>
<div class="col-lg-2">
<button onclick="addRemoteAddr();" class="btn btn-default" type="button"><i class="icon-plus"></i> {l s=' Add my IP' mod='wkonepagecheckout'}</button>
</div>
<div class="help-block col-lg-9">{l s='Add multiple IPs separated by comma(,)' mod='wkonepagecheckout'}</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitGeneralConfig" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,189 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow guest visitors to place an order without registering' mod='wkonepagecheckout'}">{l s='Enable Guest Checkout : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_guest_allow" id="wk_checkout_guest_allow_on" value="1"
{if isset($smarty.post.wk_checkout_guest_allow) && $smarty.post.wk_checkout_guest_allow == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_GUEST_ALLOW == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_guest_allow)}checked="checked"{/if}>
<label for="wk_checkout_guest_allow_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_guest_allow" id="wk_checkout_guest_allow_off" value="0" {if $configValues.WK_CHECKOUT_GUEST_ALLOW == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_guest_allow) && $smarty.post.wk_checkout_guest_allow == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_guest_allow" id="wk_checkout_guest_allow_off" value="0" {if isset($smarty.post.wk_checkout_guest_allow) && $smarty.post.wk_checkout_guest_allow == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_guest_allow_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='This group will be user\'s default group. Only the discount for the selected group will be applied to this customer' mod='wkonepagecheckout'}">{l s='Default Customer Group For New Customers : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-4">
<select name="wk_checkout_default_group" id="wk_checkout_default_group" class="form-control">
{if isset($getGroups)}
{foreach $getGroups as $group}
<option value="{$group.id_group}" {if $configValues.WK_CHECKOUT_DEFAULT_GROUP == $group.id_group}selected="selected"{/if}>{$group.name}</option>
{/foreach}
{/if}
</select>
</div>
</div>
{* <div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Show button to save address before checkout only for logged in customers' mod='wkonepagecheckout'}">{l s='Show save button for address : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_show_address_button" id="wk_checkout_show_address_button_on" value="1"
{if isset($smarty.post.wk_checkout_show_address_button) && $smarty.post.wk_checkout_show_address_button == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_SHOW_ADDRESS_BUTTON == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_show_address_button)}checked="checked"{/if}>
<label for="wk_checkout_show_address_button_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_show_address_button" id="wk_checkout_show_address_button_off" value="0" {if $configValues.WK_CHECKOUT_SHOW_ADDRESS_BUTTON == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_show_address_button) && $smarty.post.wk_checkout_show_address_button == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_show_address_button" id="wk_checkout_guest_allow_off" value="0" {if isset($smarty.post.wk_checkout_show_address_button) && $smarty.post.wk_checkout_show_address_button == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_show_address_button_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div> *}
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Inline validation will check when customer move cursor from the input field' mod='wkonepagecheckout'}">{l s='Inline validation will check immediately to the input fields of address : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_inline_validation" id="wk_checkout_inline_validation_on" value="1"
{if isset($smarty.post.wk_checkout_inline_validation) && $smarty.post.wk_checkout_inline_validation == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_INLINE_VALIDATION == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_inline_validation)}checked="checked"{/if}>
<label for="wk_checkout_inline_validation_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_inline_validation" id="wk_checkout_inline_validation_off" value="0" {if $configValues.WK_CHECKOUT_INLINE_VALIDATION == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_inline_validation) && $smarty.post.wk_checkout_inline_validation == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_inline_validation" id="wk_checkout_inline_validation_off" value="0" {if isset($smarty.post.wk_checkout_inline_validation) && $smarty.post.wk_checkout_inline_validation == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_inline_validation_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Customer can add their social title during registration' mod='wkonepagecheckout'}">{l s='Show social title : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_social_title" id="wk_checkout_social_title_on" value="1"
{if isset($smarty.post.wk_checkout_social_title) && $smarty.post.wk_checkout_social_title == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_SOCIAL_TITLE == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_social_title)}checked="checked"{/if}>
<label for="wk_checkout_social_title_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_social_title" id="wk_checkout_social_title_off" value="0" {if $configValues.WK_CHECKOUT_SOCIAL_TITLE == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_social_title) && $smarty.post.wk_checkout_social_title == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_social_title" id="wk_checkout_social_title_off" value="0" {if isset($smarty.post.wk_checkout_social_title) && $smarty.post.wk_checkout_social_title == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_social_title_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Ask date of birth from the customer' mod='wkonepagecheckout'}">{l s='Ask Date of Birth : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_dob" id="wk_checkout_dob_on" value="1"
{if isset($smarty.post.wk_checkout_dob) && $smarty.post.wk_checkout_dob == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_DOB == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_dob)}checked="checked"{/if}>
<label for="wk_checkout_dob_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_dob" id="wk_checkout_dob_off" value="0" {if $configValues.WK_CHECKOUT_DOB == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_dob) && $smarty.post.wk_checkout_dob == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_dob" id="wk_checkout_dob_off" value="0" {if isset($smarty.post.wk_checkout_dob) && $smarty.post.wk_checkout_dob == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_dob_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow customers to receive your offers' mod='wkonepagecheckout'}">{l s='Allow to opt-in option : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_optin" id="wk_checkout_optin_on" value="1"
{if isset($smarty.post.wk_checkout_optin) && $smarty.post.wk_checkout_optin == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_OPTIN == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_optin)}checked="checked"{/if}>
<label for="wk_checkout_optin_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_optin" id="wk_checkout_optin_off" value="0" {if $configValues.WK_CHECKOUT_OPTIN == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_optin) && $smarty.post.wk_checkout_optin == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_optin" id="wk_checkout_optin_off" value="0" {if isset($smarty.post.wk_checkout_optin) && $smarty.post.wk_checkout_optin == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_optin_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow customers to receive your newsletters' mod='wkonepagecheckout'}">{l s='Allow customers to receive your newsletter : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_newslatter" id="wk_checkout_newslatter_on" value="1"
{if isset($smarty.post.wk_checkout_newslatter) && $smarty.post.wk_checkout_newslatter == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_NEWSLATTER == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_newslatter)}checked="checked"{/if}>
<label for="wk_checkout_newslatter_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_newslatter" id="wk_checkout_newslatter_off" value="0" {if $configValues.WK_CHECKOUT_NEWSLATTER == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_newslatter) && $smarty.post.wk_checkout_newslatter == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_newslatter" id="wk_checkout_newslatter_off" value="0" {if isset($smarty.post.wk_checkout_newslatter) && $smarty.post.wk_checkout_newslatter == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_newslatter_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitLoginRegister" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,66 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Display Payment logo : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_payment_logo" id="wk_checkout_payment_logo_on" value="1"
{if isset($smarty.post.wk_checkout_payment_logo) && $smarty.post.wk_checkout_payment_logo == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_PAYMENT_LOGO == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_payment_logo)}checked="checked"{/if}>
<label for="wk_checkout_payment_logo_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_payment_logo" id="wk_checkout_payment_logo_off" value="0" {if $configValues.WK_CHECKOUT_PAYMENT_LOGO == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_payment_logo) && $smarty.post.wk_checkout_payment_logo == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_payment_logo" id="wk_checkout_payment_logo_off" value="0" {if isset($smarty.post.wk_checkout_payment_logo) && $smarty.post.wk_checkout_payment_logo == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_payment_logo_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Display payment logo along with payment name' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Set Default Payment Method : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-4">
<select name="wk_checkout_default_payment" id="wk_checkout_default_payment" class="form-control">
<option value="0">--</option>
{if isset($payment_method) && $payment_method}
{foreach $payment_method as $payment}
<option {if $configValues.WK_CHECKOUT_DEFAULT_PAYMENT == $payment.name}selected="selected"{/if}value="{$payment.name}">{$payment.displayName}</option>
{/foreach}
{/if}
</select>
<div class="help-block">{l s='On checkout page, it will display as selected payment method by default' mod='wkonepagecheckout'}</div>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitPayment" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,74 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Display Carrier logo : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_carrier_logo" id="wk_checkout_carrier_logo_on" value="1"
{if isset($smarty.post.wk_checkout_carrier_logo) && $smarty.post.wk_checkout_carrier_logo == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_CARRIER_LOGO == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_carrier_logo)}checked="checked"{/if}>
<label for="wk_checkout_carrier_logo_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_carrier_logo" id="wk_checkout_carrier_logo_off" value="0" {if $configValues.WK_CHECKOUT_CARRIER_LOGO == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_carrier_logo) && $smarty.post.wk_checkout_carrier_logo == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_carrier_logo" id="wk_checkout_carrier_logo_off" value="0" {if isset($smarty.post.wk_checkout_carrier_logo) && $smarty.post.wk_checkout_carrier_logo == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_carrier_logo_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Display carrier logo along with carrier name' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Display Carrier Description : ' mod='wkonepagecheckout'}
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_carrier_desc" id="wk_checkout_carrier_desc_on" value="1"
{if isset($smarty.post.wk_checkout_carrier_desc) && $smarty.post.wk_checkout_carrier_desc == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_CARRIER_DESC == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_carrier_desc)}checked="checked"{/if}>
<label for="wk_checkout_carrier_desc_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_carrier_desc" id="wk_checkout_carrier_desc_off" value="0"
{if $configValues.WK_CHECKOUT_CARRIER_DESC == '0'}checked="checked"
{else if isset($smarty.post.wk_checkout_carrier_desc) && $smarty.post.wk_checkout_carrier_desc == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_carrier_desc" id="wk_checkout_carrier_desc_off" value="0" {if isset($smarty.post.wk_checkout_carrier_desc) && $smarty.post.wk_checkout_carrier_desc == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_carrier_desc_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Display carrier description along with carrier name' mod='wkonepagecheckout'}</div>
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitShipping" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>

View File

@@ -0,0 +1,154 @@
{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
<form action="{$currentIndex}" class="defaultForm form-horizontal" method="post" enctype="multipart/form-data">
<div class="form-wrapper">
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow customers to login using social profiles' mod='wkonepagecheckout'}">{l s='Allow Social Login : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_social_login_on" value="1"
{if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_SOCIAL_LOGIN == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_social_login)}checked="checked"{/if}>
<label for="wk_checkout_social_login_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_social_login_off" value="0"
{if $configValues.WK_CHECKOUT_SOCIAL_LOGIN == '0'}checked="checked"
{else if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_social_login_off" value="0" {if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_social_login_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Allow login by social profiles' mod='wkonepagecheckout'}</div>
</div>
</div>
<div class="wk-social-login-tabs">
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow customer to login using facebook' mod='wkonepagecheckout'}">{l s='Facebook Login : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_facebook_login" id="wk_checkout_facebook_login_on" value="1"
{if isset($smarty.post.wk_checkout_facebook_login) && $smarty.post.wk_checkout_facebook_login == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_FACEBOOK_LOGIN == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_facebook_login)}checked="checked"{/if}>
<label for="wk_checkout_facebook_login_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_facebook_login" id="wk_checkout_facebook_login_off" value="0" {if $configValues.WK_CHECKOUT_FACEBOOK_LOGIN == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_facebook_login) && $smarty.post.wk_checkout_facebook_login == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_facebook_login" id="wk_checkout_facebook_login_off" value="0" {if isset($smarty.post.wk_checkout_facebook_login) && $smarty.post.wk_checkout_facebook_login == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_facebook_login_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="wk_checkout_fb_config">
<div class="form-group">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Facebook app id' mod='wkonepagecheckout'}">{l s='Facebook App ID : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-4">
<input type="text" name="wk_checkout_fb_app_id" id="wk_checkout_fb_app_id" value="{$configValues.WK_CHECKOUT_FB_APP_ID}">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Facebook secret key' mod='wkonepagecheckout'}">{l s='Facebook Secret Key : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-4">
<input type="text" name="wk_checkout_fb_secret_key" id="wk_checkout_fb_secret_key" value="{$configValues.WK_CHECKOUT_FB_SECRET_KEY}">
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow customers to login by google' mod='wkonepagecheckout'}">{l s='Google Login : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_google_login" id="wk_checkout_google_login_on" value="1"
{if isset($smarty.post.wk_checkout_google_login) && $smarty.post.wk_checkout_google_login == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_GOOGLE_LOGIN == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_google_login)}checked="checked"{/if}>
<label for="wk_checkout_google_login_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_google_login" id="wk_checkout_google_login_off" value="0" {if $configValues.WK_CHECKOUT_GOOGLE_LOGIN == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_google_login) && $smarty.post.wk_checkout_google_login == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_google_login" id="wk_checkout_google_login_off" value="0" {if isset($smarty.post.wk_checkout_google_login) && $smarty.post.wk_checkout_google_login == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_google_login_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="wk_checkout_google_config">
<div class="form-group">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Google app key' mod='wkonepagecheckout'}">{l s='Google API Key : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-4">
<input type="text" name="wk_checkout_google_app_key" id="wk_checkout_google_app_key" value="{$configValues.WK_CHECKOUT_GOOGLE_APP_KEY}">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Google secret key' mod='wkonepagecheckout'}">{l s='Google Secret Key : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-4">
<input type="text" name="wk_checkout_google_secret_key" id="wk_checkout_google_secret_key" value="{$configValues.WK_CHECKOUT_GOOGLE_SECRET_KEY}">
</div>
</div>
</div>
{*<div class="form-group">
<label class="control-label col-lg-3 required">
<span title="" data-html="true" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Allow guest to proceed cart' mod='wkonepagecheckout'}">{l s='Twitter Login : ' mod='wkonepagecheckout'}</span>
</label>
<div class="col-lg-9 ">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_social_login_on" value="1"
{if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == 1}checked="checked"
{else if isset($configValues) && $configValues.WK_CHECKOUT_SOCIAL_LOGIN == 1}checked="checked"
{else if !isset($smarty.post.wk_checkout_social_login)}checked="checked"{/if}>
<label for="wk_checkout_social_login_on">{l s='Yes' mod='wkonepagecheckout'}</label>
{if isset($configValues)}
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_social_login_off" value="0" {if $configValues.WK_CHECKOUT_SOCIAL_LOGIN == '0'}checked="checked"{else if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == '0'}checked="checked"{/if}>
{else}
<input type="radio" name="wk_checkout_social_login" id="wk_checkout_guest_allow_off" value="0" {if isset($smarty.post.wk_checkout_social_login) && $smarty.post.wk_checkout_social_login == '0'}checked="checked"{/if}>
{/if}
<label for="wk_checkout_social_login_off">{l s='No' mod='wkonepagecheckout'}</label>
<a class="slide-button btn"></a>
</span>
<div class="help-block">{l s='Allow login by social profiles' mod='wkonepagecheckout'}</div>
</div>
</div>*}
</div>
</div>
<div class="panel-footer">
<button type="submit" name="submitSocialLogin" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='wkonepagecheckout'}
</button>
</div>
</form>