tinect/media-staging

Some plugin description

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 1

Open Issues: 0

Type:shopware-platform-plugin

1.0.0 2021-12-08 12:12 UTC

This package is auto-updated.

Last update: 2023-11-18 14:42:41 UTC


README

This plugin for shopware 6 introduced a own controller for requesting images from production shop without having to download them into the staging system

or just add this to your .htaccess in public-folder and replace MY_CDN_ADDRESS:

  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} ^/media/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ https://MY_CDN_ADDRESS/$1 [QSA,L]
  </IfModule>