How to create a mandatory fee?

How to create a mandatory fee?

If you need your customers to select an obligatory fee during checkout, you can create a mandatory fee that won't allow customers to place an order unless at least one fee option is selected. To do that, please go to Magento Admin Panel → Stores → Configuration → Amasty Extensions → Extra Fee → Fees, click Add New Fee button, and switch the Mandatory to select the option to Yes.



After that, proceed with adding fee options (at the Options tab) and other settings like scope or calculations, then the fee can be saved.

When the fee is configured and saved, you can go to the store and proceed to checkout to see how the fee works.



If you try to proceed without selecting a fee option, you'll get a message asking to select it first:


      • Related Articles

      • How to create a fee that will be applied to certain products only?

        The Extra Fee extension allows creating a fee for mixed carts that will be applied to specific products in the cart only. To create such a fee, please go to Magento Admin Panel → Amasty Extensions → Extra Fee → Fees and create a fee with the value ...
      • How to create a fee that'll be available for a certain subtotal only?

        Fees can be set to be visible once customers add some items totaling in a specific amount to the cart, or vice versa: hide the fee as soon as customers reach a certain subtotal. To do that while creating your fee at Stores → Configuration → Amasty ...
      • How to handle taxes for extra fees?

        Enabling taxes for extra fees If you'd like to apply tax to your extra charges, you'll need to prepare your settings first. It needs to be done in two separate places. Default Magento settings Step 1. Navigate to Stores → Taxes → Tax Zones and Rates ...
      • Is it possible to add a fee for certain shipping regions only?

        Fees can be configured to appear only under certain conditions, including the shipping address. When editing or creating a fee at Stores → Configuration → Amasty Extensions → Extra Fee → Fees, please navigate to the Conditions tab inside your fee. ...
      • Is it possible to combine fixed and percentage values inside one fee?

        Fees can be configured to have fixed and percentage amounts at the same time. When creating a fee at Stores → Configuration → Amasty Extensions → Extra Fee → Fees → Add New Fee, go to the Options tab and click Add Option button to have as many ...