Skip to content

Commit

Permalink
Push code + readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MelvinAchterhuis committed May 28, 2021
1 parent 9990825 commit 0450ebc
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 0 deletions.
33 changes: 33 additions & 0 deletions composer.json
@@ -0,0 +1,33 @@
{
"name": "melvinachterhuis/checkout-header-footer-shopware6-plugin",
"description": "Full header and footer in the checkout",
"version": "1.0.0",
"license": "MIT",
"authors": [
{
"name": "Melvin Achterhuis"
}
],
"require": {
"shopware/core": "6.4.*",
"shopware/storefront": "6.4.*",
"shopware/administration": "6.4.*"
},
"type": "shopware-platform-plugin",
"autoload": {
"psr-4": {
"Melv\\CheckoutHeaderFooter\\": "src/"
}
},
"extra": {
"shopware-plugin-class": "Melv\\CheckoutHeaderFooter\\MelvCheckoutHeaderFooter",
"label": {
"de-DE": "Kasse - Kopf- und Fußzeile",
"en-GB": "Checkout - Header & Footer"
},
"description": {
"de-DE": "Vollständige Kopf- und Fußzeile im Checkout",
"en-GB": "Full header and footer in the checkout"
}
}
}
9 changes: 9 additions & 0 deletions src/MelvCheckoutHeaderFooter.php
@@ -0,0 +1,9 @@
<?php declare(strict_types=1);

namespace Melv\CheckoutHeaderFooter;

use Shopware\Core\Framework\Plugin;

class MelvCheckoutHeaderFooter extends Plugin
{
}
Binary file added src/Resources/config/plugin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/Resources/config/services.xml
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>

</services>
</container>
@@ -0,0 +1,9 @@
{% sw_extends '@Storefront/storefront/page/account/order/index.html.twig' %}

{% block base_header %}
{{ block('base_header', '@Storefront/storefront/base.html.twig') }}
{% endblock %}

{% block base_footer %}
{{ block('base_footer', '@Storefront/storefront/base.html.twig') }}
{% endblock %}
@@ -0,0 +1,9 @@
{% sw_extends '@Storefront/storefront/page/checkout/address/index.html.twig' %}

{% block base_header %}
{{ block('base_header', '@Storefront/storefront/base.html.twig') }}
{% endblock %}

{% block base_footer %}
{{ block('base_footer', '@Storefront/storefront/base.html.twig') }}
{% endblock %}
@@ -0,0 +1,9 @@
{% sw_extends '@Storefront/storefront/page/checkout/confirm/index.html.twig' %}

{% block base_header %}
{{ block('base_header', '@Storefront/storefront/base.html.twig') }}
{% endblock %}

{% block base_footer %}
{{ block('base_footer', '@Storefront/storefront/base.html.twig') }}
{% endblock %}
@@ -0,0 +1,9 @@
{% sw_extends '@Storefront/storefront/page/checkout/finish/index.html.twig' %}

{% block base_header %}
{{ block('base_header', '@Storefront/storefront/base.html.twig') }}
{% endblock %}

{% block base_footer %}
{{ block('base_footer', '@Storefront/storefront/base.html.twig') }}
{% endblock %}

0 comments on commit 0450ebc

Please sign in to comment.