Add review step template for one page checkout module
- Introduced a new template file 'review copy.tpl' for the order summary step in the one page checkout process. - The template includes a loading indicator and a header for the order summary section. - Conditional rendering based on customer registration status is implemented.
This commit is contained in:
29
modules/dpdpoland/config/index.php
Normal file
29
modules/dpdpoland/config/index.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* 2019 DPD Polska Sp. z o.o.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* prestashop@dpd.com.pl so we can send you a copy immediately.
|
||||
*
|
||||
* @author DPD Polska Sp. z o.o.
|
||||
* @copyright 2019 DPD Polska Sp. z o.o.
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of DPD Polska Sp. z o.o.
|
||||
*/
|
||||
|
||||
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;
|
||||
17
modules/dpdpoland/config/routes.yml
Normal file
17
modules/dpdpoland/config/routes.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
dpdpoland_generate_shipping_list:
|
||||
path: dpdpoland/bulk/generate_shipping_list
|
||||
methods: [POST]
|
||||
defaults:
|
||||
_controller: 'DpdPoland\Controller\Admin\BulkGenerateShippingController::generate'
|
||||
|
||||
dpdpoland_generate_shipping_list_with_label:
|
||||
path: dpdpoland/bulk/dpdpoland_generate_shipping_list_with_label
|
||||
methods: [POST]
|
||||
defaults:
|
||||
_controller: 'DpdPoland\Controller\Admin\BulkGenerateShippingController::generateWithLabel'
|
||||
|
||||
dpdpoland_generate_shipping_label:
|
||||
path: dpdpoland/bulk/dpdpoland_generate_shipping_label
|
||||
methods: [POST]
|
||||
defaults:
|
||||
_controller: 'DpdPoland\Controller\Admin\BulkGenerateShippingController::generateLabel'
|
||||
Reference in New Issue
Block a user