Download the PHP package joseph-leedy/module-custom-fees without Composer

On this page you can find all versions of the php package joseph-leedy/module-custom-fees. 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 module-custom-fees

Latest Stable Version Integration Test Status PHP Version Required Magento Version Required Hyvä Compatibility Total Downloads GitHub Sponsors

Custom Fees for Magento 2

by Joseph Leedy

Custom Fees allows merchants to configure additional fees to be charged to customers when orders are placed.

Features

Requirements

Note: Mage-OS compatibility has not been tested, but it is functionally equivalent to Magento Open Source 2.4.6 or greater.

Installation

This extension can be installed via Composer from Packagist by running these commands from a terminal on a Web server or in the desired installation location:

cd /path/to/your/store
composer require joseph-leedy/module-custom-fees
php bin/magento module:enable JosephLeedy_CustomFees
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Updating

This extension can be updated via Composer from Packagist by running these commands from a terminal on a Web server or in the desired installation location:

cd /path/to/your/store
composer update joseph-leedy/module-custom-fees
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Usage

Configuration

Custom Fees can be added from the Magento Admin panel by going to Stores > Settings > Configuration > Sales > Sales > Custom Order Fees. The overall display order of the Custom Fees block in relation to other totals shown in the cart and checkout can be configured at Stores > Settings > Configuration > Sales > Sales > Checkout Totals Sort Order. All settings for this extension can be configured in the Global (Default), Website or Store scope.

Importing Custom Fees

The Custom Fees configuration page allows fees to imported from a CSV spreadsheet containing the following columns:

Column Description Example
code A unique code identifying the custom fee (allowed characters: "A-Z", "a-z", "0-9", "_") example_fee
title A short label describing the custom fee "Example Fee"
type The type of custom fee ("fixed" or "percent" [of order subtotal]) "fixed"
show_percentage Optional - Whether or not to show the percentage next to the fee name ("0", "n", "no", "1", "y", "yes") "yes"
value The amount of the custom fee, in the store's default currency 5.00
Example CSV Import Spreadsheet

Configuring Adavanced Settings

Additional settings for a Custom Fee, including Conditions, can be found in the Advanced Settings dialog by clicking on the cog icon "⚙️."

Reporting

To view a report of the collected custom order fees, go to Reports > Sales > Custom Order Fees in the Magento Admin panel.

Note: For performance reasons, the report generation process makes use of special database functions that are only available in MySQL 8.0.4+ or MariaDB 10.6.0+. Errors or unexpected behavior may occur when using incompatible database server software versions.

Support

If you experience any issues or errors while using this extension, please open an issue in the GitHub repository. Be sure to include all relevant information, including a description of the issue or error, what you were doing when it occurred, what versions of Magento Open Source or Adobe Commerce and PHP are installed and any other pertinent details. I will do my best to respond to your request in a timely manner.

License

The source code contained in this extension is licensed under the Open Software License version 3.0 (OSL-3.0) license. A copy of this license can be found in the LICENSE file included with the source code or online at https://opensource.org/licenses/OSL-3.0.

Copyright for the included source code is exclusively held by Joseph Leedy, all rights reserved.

History

A full history of the extension can be found in the CHANGELOG.md file.

Contributing

We welcome and value your contribution. For more details on how you can help us improve and maintain this tool, please see the CONTRIBUTING.md file.

Shout-Outs

Contributors

These wonderful people have helped this extension become what it is today, and I am truly grateful to them for their contributions:

Supporters

I owe the following fine folks a debt of gratitude for their continuing support:


All versions of module-custom-fees with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-pcre Version *
magento/framework Version ~103.0.4
magento/module-backend Version ~102.0.4
magento/module-catalog Version ~104.0.4
magento/module-checkout Version ~100.4.4
magento/module-config Version ~101.2.4
magento/module-directory Version ~100.4.4
magento/module-quote Version ~101.2.4
magento/module-media-storage Version ~100.4.3
magento/module-reports Version ~100.4.4
magento/module-rule Version ~100.4.3
magento/module-sales Version ~103.0.4
magento/module-shipping Version ~100.4.4
magento/module-store Version ~101.1.4
magento/module-tax Version ~100.4.4
magento/module-ui Version ~101.2.4
psr/log Version >= 1.0
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 joseph-leedy/module-custom-fees contains the following files

Loading the files please wait ....