first commit
This commit is contained in:
28
modules/codwfeeplus/views/templates/hook/confirmation.tpl
Normal file
28
modules/codwfeeplus/views/templates/hook/confirmation.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
{** Copyright 2018 Sakis Gkiokas
|
||||
*
|
||||
* This file is part of codwfeeplus module for Prestashop.
|
||||
*
|
||||
* Codwfeeplus is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Codwfeeplus is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For any recommendations and/or suggestions please contact me
|
||||
* at sakgiok@gmail.com
|
||||
*
|
||||
* @author Sakis Gkiokas <sakgiok@gmail.com>
|
||||
* @copyright 2018 Sakis Gkiokas
|
||||
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
|
||||
*}
|
||||
|
||||
<p>{l s='Your order on %s is complete.' sprintf=$shop_name mod='codwfeeplus'}
|
||||
<br /><br />
|
||||
{l s='You have chosen the cash on delivery method.' mod='codwfeeplus'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent very soon.' mod='codwfeeplus'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='codwfeeplus'} <a href="{$link->getPageLink('contact-form', true)|escape:'html'}">{l s='customer support' mod='codwfeeplus'}</a>.
|
||||
</p>
|
||||
28
modules/codwfeeplus/views/templates/hook/confirmation_17.tpl
Normal file
28
modules/codwfeeplus/views/templates/hook/confirmation_17.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
{** Copyright 2018 Sakis Gkiokas
|
||||
*
|
||||
* This file is part of codwfeeplus module for Prestashop.
|
||||
*
|
||||
* Codwfeeplus is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Codwfeeplus is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For any recommendations and/or suggestions please contact me
|
||||
* at sakgiok@gmail.com
|
||||
*
|
||||
* @author Sakis Gkiokas <sakgiok@gmail.com>
|
||||
* @copyright 2018 Sakis Gkiokas
|
||||
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
|
||||
*}
|
||||
|
||||
<p>{l s='Your order on %s is complete.' sprintf=[$shop_name] mod='codwfeeplus'}
|
||||
<br /><br />
|
||||
{l s='You have chosen the cash on delivery method.' mod='codwfeeplus'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent very soon.' mod='codwfeeplus'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='codwfeeplus'} <a href="{$link->getPageLink('contact', true)|escape:'html'}">{l s='customer support' mod='codwfeeplus'}</a>.
|
||||
</p>
|
||||
30
modules/codwfeeplus/views/templates/hook/index.php
Normal file
30
modules/codwfeeplus/views/templates/hook/index.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/** Copyright 2018 Sakis Gkiokas
|
||||
* This file is part of codwfeeplus module for Prestashop.
|
||||
*
|
||||
* Codwfeeplus is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Codwfeeplus is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For any recommendations and/or suggestions please contact me
|
||||
* at sakgiok@gmail.com
|
||||
*
|
||||
* @author Sakis Gkiokas <sakgiok@gmail.com>
|
||||
* @copyright 2018 Sakis Gkiokas
|
||||
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
|
||||
*/
|
||||
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;
|
||||
27
modules/codwfeeplus/views/templates/hook/payment.tpl
Normal file
27
modules/codwfeeplus/views/templates/hook/payment.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{** Copyright 2018 Sakis Gkiokas
|
||||
*
|
||||
* This file is part of codwfeeplus module for Prestashop.
|
||||
*
|
||||
* Codwfeeplus is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Codwfeeplus is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For any recommendations and/or suggestions please contact me
|
||||
* at sakgiok@gmail.com
|
||||
*
|
||||
* @author Sakis Gkiokas <sakgiok@gmail.com>
|
||||
* @copyright 2018 Sakis Gkiokas
|
||||
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
|
||||
*}
|
||||
|
||||
<p class="payment_module">
|
||||
<a class="codwfeeplus_payment" href="{$link->getModuleLink('codwfeeplus', 'validation', [], true)|escape:'html'}" title="{l s='Pay with cash on delivery (COD)' mod='codwfeeplus'}" rel="nofollow">
|
||||
{l s='Pay with cash on delivery (COD)' mod='codwfeeplus'}{if $fee >0 }: <span id="codwfeeplus_fee" class="price">+{convertPrice price=$fee}</span>{/if} <span>({l s='You pay for the merchandise upon delivery' mod='codwfeeplus'})</span>
|
||||
</a>
|
||||
</p>
|
||||
26
modules/codwfeeplus/views/templates/hook/payment_infos.tpl
Normal file
26
modules/codwfeeplus/views/templates/hook/payment_infos.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
{** Copyright 2018 Sakis Gkiokas
|
||||
*
|
||||
* This file is part of codwfeeplus module for Prestashop.
|
||||
*
|
||||
* Codwfeeplus is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Codwfeeplus is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For any recommendations and/or suggestions please contact me
|
||||
* at sakgiok@gmail.com
|
||||
*
|
||||
* @author Sakis Gkiokas <sakgiok@gmail.com>
|
||||
* @copyright 2018 Sakis Gkiokas
|
||||
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
|
||||
*}
|
||||
<p id="codwfeeplus_payment_infos" data-ajaxurl="{$ajax_link}">
|
||||
{l s='Pay with cash on delivery (COD)' mod='codwfeeplus'}
|
||||
{if $fee >0 }: <span id="codwfeeplus_fee" class="price">+{$fee_formatted}</span>{/if}
|
||||
<span>({l s='You pay for the merchandise upon delivery' mod='codwfeeplus'})</span>
|
||||
</p>
|
||||
Reference in New Issue
Block a user