Initial commit: is_shoppingcart out of the box. V3.0.1
This commit is contained in:
11
is_shoppingcart/config/admin/index.php
Normal file
11
is_shoppingcart/config/admin/index.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
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;
|
||||
40
is_shoppingcart/config/admin/services.yml
Normal file
40
is_shoppingcart/config/admin/services.yml
Normal file
@ -0,0 +1,40 @@
|
||||
imports:
|
||||
- { resource: ../common.yml }
|
||||
|
||||
services:
|
||||
_defaults:
|
||||
public: true
|
||||
|
||||
# Controller
|
||||
Oksydan\IsShoppingcart\Controller\IsShoppingCartController:
|
||||
public: true
|
||||
class: Oksydan\IsShoppingcart\Controller\IsShoppingCartController
|
||||
|
||||
# config form
|
||||
oksydan.is_shoppingcart.configuration:
|
||||
class: 'Oksydan\IsShoppingcart\Form\DataConfiguration\ShoppingCartDataConfiguration'
|
||||
arguments:
|
||||
- '@prestashop.adapter.legacy.configuration'
|
||||
- '@prestashop.adapter.shop.context'
|
||||
- '@prestashop.adapter.multistore_feature'
|
||||
|
||||
oksydan.is_shoppingcart.configuration.form_provider:
|
||||
class: 'Oksydan\IsShoppingcart\Form\Provider\ShoppingCartConfigurationFormDataProvider'
|
||||
arguments:
|
||||
- '@oksydan.is_shoppingcart.configuration'
|
||||
|
||||
oksydan.is_shoppingcart.configuration.form_handler:
|
||||
class: 'PrestaShop\PrestaShop\Core\Form\Handler'
|
||||
arguments:
|
||||
- '@form.factory'
|
||||
- '@prestashop.core.hook.dispatcher'
|
||||
- '@oksydan.is_shoppingcart.configuration.form_provider'
|
||||
- 'Oksydan\IsShoppingcart\Form\ImageSliderConfigurationType'
|
||||
- 'ConfigurationForm'
|
||||
|
||||
oksydan.is_shoppingcart.form.configuration_type:
|
||||
class: 'Oksydan\IsShoppingcart\Form\ImageSliderConfigurationType'
|
||||
parent: 'form.type.translatable.aware'
|
||||
public: true
|
||||
tags:
|
||||
- { name: form.type }
|
||||
Reference in New Issue
Block a user