Extension Engine

From Znode Knowledge Base
Jump to: navigation, search
Submit a Support Ticket
Admin > Extension Engine

Within the Multifront e-commerce platform is a set of libraries we call the Extension Engine. The Extension Engine is one of the main areas for extensibility and is an important part of any customization and integration effort.

The components of the Extension Engine act on data within the shopping cart to handle the following processes and calculations:

  • Taxes
  • Shipping
  • Promotions
  • ERP Connectivity

For many people, the different Extension types found in Multifront are more than enough to use out-of-the-box. However, Mileage can vary. Others may need to create their own providers to handle other scenarios specific to their business. The Extension Engine in Multifront gives you a consistent set of classes on which to base your own custom extension implementations, making it easy to extend the platform without having to modify the Multifront codebase itself.

Ex: You can create your own custom providers with their own .NET assembly, and then deploy that assembly to your website, where it will be automatically recognized for use within Multifront.

Tax Rule Type

solid black circle

Taxes in Multifront consist of only one Taxes Extension: sales tax. However, this one extension can be used to set up and configure sales taxes for all countries, each with potentially different tax rates. Not to mention you can create different tax classes that use different rules based on things like product types and categories.

And of course, the Taxes Extensions fall in line with all of the other extension types so that creating your own custom Taxes Extension is simple and straightforward.

Ex:You server many customers in Japan and need to account for their consumption tax. You can create your own Taxes Extension, named something like “JapanConsumptionTax”, which performs the calculations necessary for all your Japanese customers.


Add Tax Rule

Admin > Extension Engine > Tax Rule-level > "Add New" button

solid black circle

Note: Disabled tax rule types will not be displayed while adding a Rule for any Tax class. Deleted Tax Rule Types must be displayed while adding a new tax rule in the 'Available Tax Rule type' drop down.

  1. Add Tax Rule Details
  2. Save progress using the "Save" button. The page will reload with action confirmation.
  3. New Tax Rule is now added.

A new Tax Rule can be added with the help of the following fields:

Detail Description
Available Tax Types Displays all Tax Rule Types for which Tax Classes have been added.
Class Name Ensure that the Class Name you enter exactly match your class.
Name Enter the Tax Rule Name.
Description Enter a description for the Tax Rule type.
Enable Select to enable this Tax Rule type

Edit Tax Rule

Admin > Extension Engine > Tax Rule-level > "Edit" action
  1. Edit Tax Rule Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. Tax Rule is now edited.


Delete Tax Rule

Admin > Extension Engine > Tax Rule-level > "Edit" action
  1. Page will reload with action confirmation.
  2. Tax Rule is now deleted.

Shipping Type

solid black circle

The multi-front comes with the following Shipping Classes and rules pre-built into the platform:

  • Four types of Shipping Classes which can be configured: Custom, FedEx, UPS, and USPS.
  • Four types of Shipping Rules which can be configured: Weight-Based Rate, Quantity-Based Rate, Flat Rate Per Item, and Fixed Rate Per Item.

But if you need to implement your own custom Shipping Rules, Calculations, and Processing, you can do that by extending the Extension Engine with your own custom Shipping provider.

Ex: You do all of your shipping through DHL. You can create your own shipping provider, named something like DHL shipping, which calls out to a DHL service to perform shipping cost calculations and retrieve estimated delivery dates.

Add Shipping Type

Admin > Extension Engine > Shipping Type-level > "Add New" button

solid black circle

Note: Disabled Shipping Type types will not be displayed while adding a Rule for any Shipping class. Deleted Shipping Type Types must be displayed while adding a new Shipping Type in the 'Available Shipping Type type' drop down.

  1. Add Shipping Type Details
  2. Save progress using the "Save" button. The page will reload with action confirmation.
  3. New Shipping Type is now added.

Edit Shipping Type

Admin > Extension Engine > Shipping Type-level > "Edit" action
  1. Edit Shipping Type Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. Shipping Type is now edited.


Delete Shipping Type

Admin > Extension Engine > Shipping Type-level > "Edit" action
  1. Page will reload with action confirmation.
  2. Shipping Type is now deleted.

Promotion Type

solid black circle Promotions in Multifront are handled by the promotions providers, several of which come pre-packaged with Multifront:

  • Amount or percent off brand
  • Amount or percent off catalog
  • Amount or percent off category
  • Amount or percent off an order
  • Amount or percent off product
  • Amount or percent off shipping
  • Amount or percent off X if Y purchased
  • Call for pricing


While the out-of-box Promotions in Multifront handle 80% of customer needs, you might have specific business scenarios that require you to build your own custom promotion types. This is easily accomplished by extending any of the existing promotion types and implementing your own promotion rules.

Ex: You need a promotion that limits the quantity someone can purchase in a specified timeframe. You can create your own promotion type, named something like "VariableHourPromotion", that check’s the User’s previous Order history and determines if they are over the specified limit.

Promotion Type Details

Admin > Extension Engine > Promotion Type-level

solid black circle

A new Promotion Type can be added with the help of the following fields:

Detail Description
Available Promotion Types Displays all Promotion Type Types for which Promotion Classes has been added.
Class Name Ensure that the Class Name you enter exactly match your class.
Name Enter the Promotion Type Name.
Description Enter a description for the Promotion Type type.
Enable Select to enable this Promotion Type type


Add Promotion Type

Admin > Extension Engine > Promotion Type-level > "Add New" button

Note: Disabled Promotion Type types will not be displayed while adding a Rule for any Promotion class. Deleted Promotion Type Types must be displayed while adding a new Promotion Type in the 'Available Promotion Type type' drop down.

  1. Add Promotion Type Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. New Promotion Type is now added.

Edit Promotion Type

Admin > Extension Engine > Promotion Type-level > "Edit" action
  1. Edit Promotion Type Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. Promotion Type is now edited.


Delete Promotion Type

Admin > Extension Engine > Promotion Type-level > "Edit" action
  1. Page will reload with action confirmation.
  2. Promotion Type is now deleted.

ERP Connector

solid black circle

The ERP Connector is a tool of integrating separate, stovepipe ERP systems with each other or with other enterprise information resources, to meet various B2B demands. Fresh out-the-box Multifront supports ERP systems such as:

  • SAP
  • Epicor
  • Infor
  • JDE
  • MSDynamics
  • SAGE
  • ABS
  • Mock ERP
  • QuickBooks

The ERP Connector in Multifront is essentially notification processes to let Vendors know details about an Order. For example, Multifront supports the following Vendor Notification Types:

  • Emails: Used to send emails to particular suppliers during the checkout process.
  • Web services: Used to invoke any kind of web service for particular suppliers during the checkout process.

These pre-built extensions may work for some customer, however, your business needs might be different. and require custom Extension

Creating your own custom ERP Connector is easy, yet very powerful because it allows you to integrate your Checkout and Order fulfillment process with any Vendor you have in your supply chain.

Ex: You have a vendor who needs to know the quantity ordered every time their products have been ordered. You can create your own supplier web service type, named something like “VendorSupplierService”, which invokes a remote web service at the vendor to pass them the product and quantity information.

ERP Connector Details

Admin > Extension Engine > ERP Connector-level

solid black circle

A new ERP Connector can be added with the help of the following fields:

Detail Description
Package Name Displays all ERP Connector Types for which Promotion Classes has been added.
ERP Name Enter the ERP Connector Name.
Description Enter a description for this rule
Status Toggle to Activate ERP Connector
Email Address Enter Email Addresses for ERP Connector.


Add ERP Connector

Admin > Extension Engine > ERP Connector-level > "Add New" button

Note: Disabled ERP Connector types will not be displayed while adding a Rule for any Promotion class. Deleted ERP Connector Types must be displayed while adding a new ERP Connector in the 'Available ERP Connector type' drop down.

  1. Add ERP Connector Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. New ERP Connector is now added.


Edit ERP Connector

Admin > Extension Engine > ERP Connector-level > "Edit" action
  1. Edit ERP Connector Details
  2. Save progress using the "Save" button. Page will reload with action confirmation.
  3. ERP Connector is now edited.


Delete ERP Connector

Admin > Extension Engine > ERP Connector-level > "Edit" action
  1. Page will reload with action confirmation.
  2. ERP Connector is now deleted.

Related Links