Quotation Request Add-on

About Add-on

The Installation of Spurtcommerce Quotation request addon will enable the feature of accepting quotation requests from the end customer. When the plugin is installed, the multi-Vendor eCommerce site becomes ready for the admin to enable quotation requests for each product separately. On enabling the quotation request, the customer in the storefront can raise quotation request for a particular product.

Features:

• The quotation request can be enabled or configured for each product separately from the product list page.

• On enabling the toggle, the product detail page will have the option of 'Request a Quote'.

• The Customer can click on the 'Request a Quote'and fill in the form and submit to request for a quotation.

• On submission, the admin and both admin and vendor in Multi vendor platform will receive a the quotation request, which they can view from the quotation requests list.

Frontend Setup - Seller Panel:

Follow these steps to set up the front end for the Quotation addon in Spurtcommerce Seller Panel.

Step 1: Install the Addon:

Locate the Spurtcommerce addon package, typically named seller.addOns.zip.

Extract the zip file and copy the Quotation folder into the addOns folder in your project.

projectFolder -> addOns

After this step, the structure should look like:

projectFolder -> addOns ->catalog -> Quotation

Once completed, proceed to update the configuration.

Step 2: Update the Configuration

After installing the addon, update the add-ons.constant.ts file to include the necessary plugins:

// ----------------------Quotation--------------------------
import * as Quotation from './Quotation/QuotationModule.contant'
// components paths
export const QuotationComponents = Quotation.componentLists;
// route paths
export const QuotationComponentRoutes = Quotation.routePath;

If you wish to uninstall or remove the Quotation addon, replace the component paths and route paths with an empty array.

// ----------------------Quotation--------------------------
import * as Quotation from './Quotation/QuotationModule.contant'
// components paths
export const QuotationComponents =[];
// route paths
export const QuotationComponentRoutes =[];

Step 3: Run the Application:

To run the application with the integrated Quotation addon, use the following command:

$ npm run large-serve

After executing this command, the addon will be available on Spurtcommerce on the designated page.

Step 4: Build the Application

Finally, to prepare the application for deployment, run the build command:

$ npm run large-build

The latest build files will then be ready to deploy to the server.

Store Setup

Follow these steps to set up the Quotation module on the front-end Next.js web store.

Setup Overview:

  • Install the extension

  • Update configuration

  • Integrate the module

  • Run the application

  • Build the application

Step 1: Install the Extension

Locate the Spurtcommerce addon package, typically named addOns.zip.

Extract the zip file and copy the Quotation folder into the addOns folder in your project.

projectFolder -> addOns

After this step, the structure should look like:

projectFolder -> addOns -> Quotation

Once completed, proceed to update the configuration.

Step 2: Update the Configuration

After installing the extension, update the configuration in Spurtcommerce’s addonsconfig.js as follows:

  1. Import the required line into addonsconfig.js.

 import QuotationRequest from './Quotation/QuotationRequest'
 import QuotationList from './Quotation/QuotationList'
import QuotationDetail from './Quotation/QuotationDetail
  1. Add the Quotation plugin to the specified object.

        export const AddonsComponent = {                                                                                                                                        QuotationRequest,
QuotationList,
           QuotationDetail
             }  

Step 3: Run the Application

Once you have integrated the Quotation module, run the application using:

$ npm run dev

This command will launch Spurtcommerce with the integrated Quotation visible on the specified page.

Step 4 : Build the Application

To prepare the application for deployment, execute the following command:

$ npm run build

or

$ yarn run build                                                                                                                             

The latest build files will then be ready for server deployment.

Last updated