Skip to content

Instantly share code, notes, and snippets.

breaker92 /
Created Sep 16, 2022
Sync dir via FTP from Bash
lftp -e "mirror -R localdir/ remotedir/" -u username,password
breaker92 / CartItemAddRoute.php
Created Jul 8, 2021
decorate shopware 6 CartItemAddRoute
View CartItemAddRoute.php
<?php declare(strict_types=1);
namespace <your namesapce>;
use Shopware\Core\Checkout\Cart\Cart;
use Shopware\Core\Checkout\Cart\SalesChannel\AbstractCartItemAddRoute;
use Shopware\Core\Checkout\Cart\SalesChannel\CartResponse;
use Shopware\Core\System\SalesChannel\SalesChannelContext;
use Symfony\Component\HttpFoundation\Request;
breaker92 / index.js
Created Jul 3, 2021
Add custom Fields to property options
View index.js
Component.override('sw-property-option-detail', {
data() {
return {
customFieldSets: []