Download the PHP package actualizer/order-surcharges without Composer

On this page you can find all versions of the php package actualizer/order-surcharges. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package order-surcharges

ActOrderSurcharges - Shopware Plugin

A Shopware 6 plugin that automatically adds configurable surcharges to the shopping cart, including logistic fees and cash on delivery charges with dynamic payment method detection.

Features

Requirements

Installation

Via Composer (recommended)

Manual

  1. Download or clone this plugin into your custom/plugins/ directory
  2. Install and activate the plugin via CLI:

Configuration

  1. Go to Admin Panel → Settings → System → Plugins
  2. Find "Actualize: Order Surcharges" and click on the three dots
  3. Click "Config" to access plugin settings

Configuration Options

Logistic Surcharge

Cash on Delivery Fee

Tax Settings

How it works

Logistic Surcharge

  1. Automatic Addition: Added to cart when at least one regular product is present
  2. Cart Cleanup: Automatically removed when cart becomes empty
  3. Tax Calculation: Uses appropriate tax rate based on cart contents or configuration

Cash on Delivery Fee

  1. Payment Detection: Monitors payment method selection for COD variants
  2. Dynamic Addition: Fee added when COD payment method is selected
  3. Automatic Removal: Fee removed when different payment method is chosen
  4. Payment Method Selection: Uses the configured payment method, or falls back to name detection (Nachnahme, Cash on Delivery, COD)

Tax Handling

Technical Details

Architecture

Payment Method Detection

If a payment method is selected in the configuration, only that payment method triggers the fee.

Otherwise COD payments are detected by checking payment method names for:

Development

Building/Testing

After making changes:

Debugging

Usage Examples

Standard Shopping Cart

  1. Customer adds products to cart
  2. Logistic surcharge automatically added
  3. Total price includes surcharge + tax

Cash on Delivery Order

  1. Customer proceeds to checkout
  2. Selects COD payment method
  3. COD fee automatically added to cart
  4. Changes to different payment → COD fee removed

Empty Cart Handling

  1. Customer removes all products
  2. All surcharges automatically removed
  3. Clean cart state maintained

Compatibility

Support

For issues and feature requests, please use the GitHub issue tracker.

License

This plugin is licensed under the MIT License - see the LICENSE file for details.

Credits

Developed by Actualize


Made with ❤️ for the Shopware Community


All versions of order-surcharges with dependencies

PHP Build Version
Package Version
Requires shopware/core Version >=6.7 <6.8
php Version >=8.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package actualizer/order-surcharges contains the following files

Loading the files please wait ...