Getting Started

Welcome to the Order Surcharge documentation. Whether you are a new or an advanced user, you can find some useful information here.

First of all, we recommend to check the following link:

Second of all, proceed then with Quick Start, which will guide you through creating your own Order Surcharge.

How to install the extension

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
  4. Run command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Surcharge Mirasvit_ShippingArea to enable the extensions.
  5. Run command php -f bin/magento setup:upgrade to install the extension.
  6. Run command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy

Quick Start

The Order Surcharge for Magento 2 extension is designed to help you made your prices more attractive while maintaining your profits.

For more information please visit this section Order Surcharge.

How to upgrade extension

To upgrade the extension follow these steps:

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Run command composer require mirasvit/module-surcharge:* --update-with-dependencies to update current extension with all dependencies.

    Note

    In some cases the command above is not applicable, it's not possible to update just current module, or you just need to upgrade all Mirasvit modules in a bundle. In this case command above will have no effect.

    Run instead composer update mirasvit/* command. It will update all Mirasvit modules, installed on your store.

  4. Run command php -f bin/magento setup:upgrade to install updates.
  5. Run command php -f bin/magento cache:clean to clean the cache.
  6. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy

Disabling the Extension

Temporarily Disable

To temporarily disable the extension please follow these steps:

  1. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  2. Run command php -f bin/magento module:disable Mirasvit_Surcharge Mirasvit_ShippingArea to disable the extension.
  3. Log in to the Magento backend and refresh the store cache (if enabled).

Removing the Extension

To uninstall the extension, please follow these steps:

  1. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  2. Run the command composer remove mirasvit/module-surcharge to remove the extension.
  3. Log in to the Magento backend and refresh the store cache (if enabled).

1.0.5

(2023-05-04)

Improvement

  • Added new rate "Rate per one item"

1.0.4

(2023-01-06)

Fixed

  • Error during creditmemo saving

1.0.3

(2022-12-15)

Fixed

  • Error during invoice saving

1.0.2

(2022-12-07)

Improvement

  • Added rate "Rate per applicable Product"

1.0.1

(2022-12-06)

Fixed

  • Duplicate rows in admin grid

1.0.0

(2022-08-23)

Features

  • Initial release