LogoLogo
  • Magento 2 Extensions
    • SEO Extensions
      • Magento 2 Canonical Urls for Category, Product, CMS, and Other pages
      • Magento 2 Advanced SEO Suite
      • Magento 2 Cross Linking SEO
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Google Site Map Exclusion
      • Magento 2 Alternate Hreflang Tags
      • Magento 2 Google Rich Snippets
      • Magento 2 SEO Unique Catalog URLs
    • Site Speed Extensions
      • Magento 2 Full Page Cache Warmer
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Image Optimizer
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Lazy Load Image
    • Marketing Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 Free Shipping Bar
      • Magento 2 Product Scheduler
      • Magento 2 Apply Discount coupon Code Via Link
      • Magento 2 Dynamic Sale Catagory
      • Magento 2 Facebook Conversion and Audience Pixel Tracking
      • Magento 2 Google Dynamic Remarketing Tag
      • Magento 2 Perfect Audience Tracking
      • Magento 2 Product Feed
      • Magento 2 Cash Back Discount
      • Magento 2 Competition or Prize Draw with Social Booster
      • Magento2 Custom Options Discount
      • Magento 2 Product Label
    • Analytics & Tracking Extensions
      • Magento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) Enabled
      • Magento 2 Google Enhanced Ecommerce Tracking
      • Magento 2 Google Tag Manager (GTM) GA4 Ecommerce Tracking
      • Magento 2 Google Tag Manager Tracking
      • Magento 2 missing orders or transactions in Google Analytics (GA)
      • Magento 2 Consent mode's setup guide
    • Payment and Shipping Extensions
      • Magento 2 Delivery Instructions and Delivery Date
      • Magento 2 Product Handling or Additional Fee
      • Magento 2 Surcharge or Additional Fee
      • Magento 2 Shipping Carrier Tracker
    • User Experience Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 FAQ
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 VAT Exemption
      • Magento 2 Cancel Order by Customer on the Frontend
      • Magento 2 Lazy Load Image
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Previously Ordered Products
      • Magento 2 Social Login
      • Magento 2 Substitute Products
      • Magento 2 Product 360 view
      • Magento 2 Product Reviews
    • Admin Extensions
      • Magento 2 Update Order Email Address
      • Magento 2 Admin Action Log
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 Repeat Order
      • Magento 2 Associated or Linked Product Stock Update
      • Magento 2 VAT Exemption
      • Magento 2 Order Delete or Archive
      • Magento 2 Order Tagger
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Advanced Reporting Extension
      • Magento 2 Export Custom Product Attribute
      • Magento 2 Advanced Admin Login Security
      • Magento 2 Admin Security Checklist
      • Magento 2 Security Suite
      • Magento 2 AI Content Generator
      • Magento 2 Content Security Policy (CSP) Whitelist Manager
      • Magento 2 OTP Login
      • Magento 2 Admin Account Switcher
    • Data & Privacy Extensions
      • Magento 2 Not On The High Street Integration
      • Magento 2 GDPR Compliance: Anonymisation of order data
      • Magento 2 Antispam Extension
    • Integration Extensions
      • Magento 2 Diamond Search
      • Magento 2 Not On The High Street Integration
      • Magento 2 Creditsafe Integration
    • Installation Via Composer
  • Magento 1 Extension
    • SEO Extensions
      • Magento SEO Unique Catalog URLs
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
      • Canonical Urls for Category, Product and CMS pages
      • Google Site Map Exclusion with Image sitemap
      • Google Friendly SEO Layered Navigation
      • Magento Rich Snippets & Cards (schema.org)
      • Meta Information for Any Page
    • Marketing Extensions
      • Where Did You Hear About Us?
      • Google Tag Manager Tracking
      • Google AdWords Conversion Tracking
      • Order Follow Up or Review Booster
      • Competition or Prize Draw Module with Social Booster
      • Apply Discount Coupon Code via Link
      • Abandoned Basket Email Alert
      • Cash Back Discount
      • Dynamic Sale Category
    • Analytics & Tracking Extensions
      • Google AdWords Conversion Tracking
      • Google Adwords Dynamic Remarketing Tag
      • Facebook Conversion and Audience Pixel Tracking
      • Perfect Audience Tracking
      • Google Enhanced Ecommerce Tracking
      • Magento 1 / OpenMage GA4 Google Tag Manager (GTM)
      • Magento 1 Google Global Site Tag (gtag.js)
      • Magento 1 Consent mode's setup guide
      • Magento 1 Google Analytics Synchronization Extension
    • Payment and Shipping Extensions
      • Magento Delivery Instructions or Order Comments
      • Surcharge or Additional Fee
      • Magento Surcharge or Additional Fee on Payment Method or Countries
    • User Experience Extensions
      • Product Image Resize
      • Magento Delivery Instructions or Order Comments
      • Single Product Category Redirect
      • Testimonials
    • Admin Extensions
      • Admin Order Email
      • Magento Update Order Email Address
      • Product Review Administrator Notification Email
      • Automated Product Publish Date
      • Order Follow Up or Review Booster
      • Custom Variables Anywhere
      • Testimonials
    • Data & Privacy Extensions
      • EU Cookie Notification
      • Magento 1 GDPR Compliance: Anonymisation of order data
    • Site Speed Extensions
      • Product Image Resize
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
Powered by GitBook
On this page
  • Installation and User Guide for Magento 2 Surcharge or Additional Fee Extension
  • Installation
  • Configuration Settings for Surcharge
  • Front-end Site View

Was this helpful?

Export as PDF
  1. Magento 2 Extensions
  2. Payment and Shipping Extensions

Magento 2 Surcharge or Additional Fee

PreviousMagento 2 Product Handling or Additional FeeNextMagento 2 Shipping Carrier Tracker

Last updated 8 months ago

Was this helpful?

Installation and User Guide for Magento 2 Surcharge or Additional Fee Extension

Table of Contents

    • Installation via app/code

    • Installation via Composer

    • General Settings

    • Surcharge for Multiple countries/Multiple payment methods

    • View Surcharge on the Order Details View Page

    • Surcharge for Admin Orders

    • Surcharge Percentage/Fixed Amount Per Payment Method and Country

    • View Surcharge on the Checkout Page

    • Surcharge with the Free Shipping

Installation

  • Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

Configuration Settings for Surcharge

Go to Admin > Stores > Configuration > Scommerce Configuration > Surcharge

General Settings

  • Enabled – Select “Yes” or “No” to enable or disable the module.

  • Surcharge Label – This label text gets used in the frontend of the website which will be shown on basket, review, invoice, order, shipment, email confirmation and refund.

  • Surcharge Amount Type – This option allows you to choose fixed amount or percentage value. Percentage value gets calculated based on the grand total or subtotal attribute been selected.

  • Surcharge Percentage or Fixed Amount – This is the surcharge or additional fee which will be shown to the customer based on surcharge amount type (fixed to percentage)

  • Surcharge Percentage or Fixed Amount per payment method or payment method and country - Fixed or Percentage amount, additional fee will be applied based on grand or subtotal attribute been selected per payment method or payment method and country. Example checkmo:3;cashondelivery:2 or checkmo:3:FR;checkmo:5:GB

  • Grand or Subtotal Attribute – This option allows you to choose whether you want to apply percentage additional fee on grand or subtotal. This will also apply on Minimum Order Total.

  • Minimum Order Total – This value will be checked / validated based on the

Grand or Subtotal Attribute value been selected.

  • Skip with Free Shipping – This option can be used if you don’t want to charge additional fee when the shipping price is zero. This is useful when you are charging additional fee based on the shipping country but when the shipping is free then you might not want to charge additional fee.

  • Tax Class - Please select the tax class from the drop-down list.

  • Shipping Countries – The additional fee will be applied only to the specific shipping country(s). Please select all if you want to charge additional fee for all shipping countries.

  • Payment Method – The additional fee will be applied only to the specific payment method (s). Please select all if you want to charge additional fee for all payment methods.

Please select the Payment Method, surcharge will be applied only for the selected payment method

  • Surcharge for Multiple countries/Multiple payment methods - You can set surcharge for multiple countries by selecting countries from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > General Settings > Shipping Countries, and multiple payment methods from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > General Settings > Payment Method.

  • View Surcharge on the Order Details View Page - You can see the applied surcharge on the order details view page from Admin > Sales > Orders > Select Order > Edit , under "Order Totals" section.

  • Surcharge for Admin Orders - In the below image you can see the added surcharge value for the order placed from the admin panel, Admin > Sales > Orders > Create New Order > Select User > Select Product > Add Product.

Front-end Site View

  • Surcharge Percentage/Fixed Amount Per Payment Method and Country When you set "Surcharge Percentage or Fixed Amount per payment method and country" to "checkmo:3:FR" from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > Surcharge Percentage or Fixed Amount per payment method, then the fixed or Percentage amount, additional fee will be applied based on grand or subtotal attribute been selected per payment method or payment method and country.

  • checkmo:3:FR - It will add 3% additional fee on "Subtotal Including Tax" , will be applied for shipping country France and payment method Check Money order.

  • checkmo:5:GB - It will add 5% additional fee on "Subtotal Including Tax" , will be applied for shipping country UK and payment method Check Money order.

  • checkmo:3 - It will add 3% additional fee on "Subtotal Including Tax", and will be applied only for Check Money Order payment method and shipping countries selected from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > Shipping Countries .

  • Set Different Surcharge for Countries - You can set different surcharge for countries from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > Surcharge Percentage or Fixed Amount per payment method - checkmo:3:FR;checkmo:5:GB.

  • View Surcharge on the Checkout Page - When you select "Surcharge Amount Type" to "Percentage" , " Surcharge Percentage or Fixed Amount " to "10" and " Payment Method " to "Cash On Delivery"/"Check Money order" from Admin > Stores > Configuration > Scommerce Configuration > Surcharge, then it adds 10 % additional fee on "Subtotal Including Tax" based on selected payment method and shipping countries. To add shipping countries go to Admin > Stores > Configuration > Scommerce Configuration > Surcharge > Shipping Countries - Select Shipping Countries from the drop-down list.

  • Surcharge with the Free Shipping - You can skip surcharge for the free shipping orders from Admin > Stores > Configuration > Scommerce Configuration > Surcharge > Skip with Free Shipping - "Yes". This option can be used if you don’t want to charge additional fee when the shipping price is zero.

License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at .

If you have a question related to this extension please check out our first. If you can't find the answer you are looking for then please contact .

Installation Via Composer
support@scommerce-mage.com
FAQ Section
support@scommerce-mage.com
Installation
Configuration Settings for Surcharge
Front-end Site View