From e7400c36c428c61fe72e12c08f90d31e23bdaef8 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 12 Apr 2021 01:31:15 +0200 Subject: [PATCH] Add global config import --- .../config/packages/flux_se_sylius_payum_stripe.yaml | 11 +++++++++++ flux-se/sylius-payum-stripe-plugin/2.0/manifest.json | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml create mode 100644 flux-se/sylius-payum-stripe-plugin/2.0/manifest.json diff --git a/flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml b/flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml new file mode 100644 index 00000000..d70b9ab2 --- /dev/null +++ b/flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml @@ -0,0 +1,11 @@ +imports: + - { resource: "@FluxSESyliusPayumStripePlugin/Resources/config/config.yaml" } + +flux_se_sylius_payum_stripe: + line_item_image: + # This is the imagine filter use to get the image displayed on Stripe Checkout Session + # (default: the filter uses into `@ShopBundle/Product/Show/_images.html.twig`) + imagine_filter: 'sylius_shop_product_original' + # Fallback image used when no image is set on a product and also when you test this plugin + # from a private web server (ex: from localhost) + fallback_image: 'https://placehold.it/400x300' diff --git a/flux-se/sylius-payum-stripe-plugin/2.0/manifest.json b/flux-se/sylius-payum-stripe-plugin/2.0/manifest.json new file mode 100644 index 00000000..3b487b82 --- /dev/null +++ b/flux-se/sylius-payum-stripe-plugin/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}