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 Extensions → Extra Fee → Fees → Add New Fee, please navigate to the Conditions tab, add Subtotal condition and define its value. In this example, the fee is visible for orders with subtotal less than 100:
Let's test the fee after saving it. It's displayed for orders with $45 subtotal:
But disappears as soon as subtotal reaches the defined level:
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 ...
Extra Fee API
1. Amasty\Extrafee\Api\TotalsInformationManagementInterface - class for managing cart totals for logged-in users: POST /V1/amasty_extrafee/carts/:cartId/totals-information, method="calculate" - calculate totals of a specific cart; POST ...
Extra Fee | GraphQL methods
Queries getListFeeItems description: get a list of created fees getFeeItemsForQuote(cart_id: String!) description: get a list of fees available in the current cart getFeeOptions(fee_id: Int!, store_id: Int!) description: get a list of fee options ...
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 → ...
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. ...