This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
namespace Swkweb\PayPalRemoveTracking\Storefront\Data; | |
use Shopware\Storefront\Pagelet\Footer\FooterPageletLoadedEvent; | |
use Swag\PayPal\Storefront\Data\FundingSubscriber; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
class PayPalRemoveTrackingSubscriber implements EventSubscriberInterface | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from 'src/core/shopware'; | |
import template from './sw-order-list.html.twig'; | |
import deDE from '../../../../snippet/de-DE.json'; | |
import enGB from '../../../../snippet/en-GB.json'; | |
Shopware.Locale.extend('de-DE', deDE); | |
Shopware.Locale.extend('en-GB', enGB); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package: %pkgname% | |
Version: %version% | |
Section: custom | |
Priority: optional | |
Architecture: all | |
Essential: no | |
Installed-Size: %size% | |
Maintainer: %maintainer% | |
Description: %description% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:latest | |
RUN apt-get update | |
RUN apt-get install -y gcc cmake libmpfr-dev libgmp-dev git build-essential autoconf | |
WORKDIR /install | |
RUN git clone https://github.com/usqcd-software/c-lime.git | |
RUN (cd c-lime && ./autogen.sh && ./configure && make && make install) | |
RUN git clone https://github.com/lehner/grid --branch feature/gpt | |
RUN apt-get install -y wget libssl-dev zlib1g-dev | |
RUN apt-get install -y rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function smarty_modifier_swkweMediaExists($mediaPath) | |
{ | |
$mediaService = Shopware()->Container()->get('shopware_media.media_service'); | |
if ($mediaService->has($mediaPath)) { | |
return $mediaPath; | |
} else { | |
return ''; |