No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
eemzet Update Readme
Add documentation for the reset tool.
Latest commit 0a20b67 Jun 30, 2018

README.MD

Maintenance Plugin

Join the chat at https://gitter.im/FriendsOfShopware/Lobby

This plugin adds several tools to simplifiy the maintenance of your shopware shop. Obviously it is highly recommended to not permanently deploy this plugin to a production environment. The tools are combined in the backend under the configuration / maintenance entry.

Installation

  • Clone this repository into a folder FroshMaintenance within the custom/plugins directory of the Shopware installation.
  • Install the plugin through the Plugin-Manager within the Shopware backend.

Install with composer

  • Change to your root installation of shopware
  • Run command composer require frosh/frosh-maintenance and install and activate plugin with Plugin Manager

Requirements

  • Shopware 5.3.4 or higher
  • PHP 7.0

Tool: Command Line in Shopware

This tool adds command line window (semi-interactive web shell) to the Shopware backend.

Bash

It's based on phpbash by Arrexel

Changes to phpbash:

  • Integration and refactoring of the JavaScript/CSS into ExtJS Components
  • Rewritten parts of the PHP code for use in Shopware Controllers and CS reformatting.

Why?

Because we can.

This is ment to be a temporary maintenance tool in cases where, for whatever reason, there is no access to the actual bash.

Custom Commands

  • cd Return to default shell directory
  • cd <path> Change directory
  • cd - Return to previous directory
  • clear Clears all output
  • upload Opens the file browser and uploads selected file

Tool: Database Reset

This tool simplifies the reset process of the database for specified modules and deletes all data of the module including the related ones.

Reset Overview

Modules

  • Customers
  • Orders
  • Products
  • Number ranges
  • Statistics
  • Categories
  • Emotion worlds

Why?

Sometimes you need to delete all data, because an import is not working correctly. Please consider that all data is deleted and gone forever.

The tool is based on the SQL Queries of Shopware SQL Reset Queries