Installation of Spurtcommerce Quotation Request Add-On
This document will help you to install Quotation Request add-on to your spurtcommerce server for single vendor as well as multi vendor
you can install this Add-on through following steps
step 1:to add extension for admin
step 2:
step 3: you can easily install admin storefront withspurtcommerce provides 3 admin storefronts, built with Angular, and
Along with the above steps you need to further follow these steps below to install this Add-on for Multi-vendor platform
step 4: Setup an API (Step By Step) to add extension for multi vendor
step 5 :
step 6: you can easily install vendor storefront withspurtcommerce provides 3 vendor storefronts, built with and
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.
For setting up the API, you need to execute the following steps:
Installing an extension
Run the application
Make the build
Step 1 : Installing an extension
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in "productquotation-addOn.zip". Extract the zip file, open api folder and open addon folder within that and copy the content of addon folder into the specified path.
Path - <PROJECT_ROOT>/addon
Step 2 : Run the application
After you have completed the installation of the above mentioned steps, you can run the application and also view the changes.
$ npm start serve
Once you execute the above command, add-on file will get integrated into the backend API.
Step 3 : Make the build
These are the steps that need to be followed for generating the build.
To run the below command
$ npm run build
Then latest built files can be deployed into the server.
Admin setup
These are the steps that need to be followed to do the front end admin setup.
Installing an extension
Update the configuration
Module Detail
Run the application
Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOn.zip".
Extract the zip file and copy the content of admin/add-ons folder into the specified path
Path - admin/add-ons
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce config files. For this, you need to follow the steps below.
Update Reducer Config
Import below line into the add-ons/add-ons-reducer.ts
import * as fromQuotationRequest from
'./sales/manage-orders/quotationRequest/core/reducer/quotationRequest.reducer'
After you have integrated the Quotation Request Module into Spurtcommerce, you can use the following command to run the application.
npm run large-serve
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
npm run large-build
Then the latest built files can be deployed into the server.
Store setup
These are the steps that need to be followed to do the front end admin setup.
● Installing an extension
● Update the configuration
● Module Detail
● Run the application
● Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOn.zip".
Extract the zip file and copy the content of api folder into the specified path
Path - <PROJECT_ROOT>/add-ons
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce config files. For this, you need to follow the steps below.
Update Reducer Config
1) Import below line into the add-ons/add-ons-reducer.ts
import * as fromQuotationList from
'./QuotationRequset/core/reducer/quotationList.reducer';
After you have integrated the Quotation Request Module into Spurtcommerce, you can use the following command to run the application.
ng serve
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
ng build –prod
Then the latest built files can be deployed into the server.
Front End SetUp
These are the steps that need to be followed to do the front end store setup.
Installing an extension
Update the configuration
Run the application
Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOns.zip". Extract the zip file and copy the content of store-react/addOns into the specified path as given below
Path - addOns/Quotation
Add on location:
projectFolder->addOns
After placing it it will look like this
projectFolder->addOns->Quotation
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce addonsconfig.js files. For this, you need to follow the steps below.
Once you finish the first Step now declare the necessary plugins in the addonconfig.js file
Import below line into the addonconfig.js
import SpurtQuotationPop from './Quotation/QuoteModal'
import SpurtQuotationList from './Quotation/QuotationList'
2. Add the PartialSpecification into the below object
export const AddonsComponent={
SpurtQuotationPop,
SpurtQuotationList
}
Step 3 : Module Detail
The modules pertaining to RelatedProduct are listed below. You may use these modules, in any page of Spurtcommerce.
SpurtQuotationPop Component:
Implement this plugin for quotation popup model for a registered user
After you have integrated the Quotation Module into Spurtcommerce, you can use the following command to run the application.
$ npm run dev
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
$ npm run build or yarn nun build
Then the latest built files can be deployed into the server.
These are the steps that need to be followed to do the front end store setup.
Installing an extension
Update the configuration
Module Detail
Run the Application
Make the build
Step 1 : Installing an extension
These are the steps that need to be executed for installation of the extension.
Extract the store-flutter folder inside the folder go to (store-fluter → add-ons → Quotation folder) and copy the Quotation folder and place the copied folder
inside the project folder
Add on location:
projectFolder->lib->add-ons
After placing it it will look like this
projectFolder->lib->add-ons->Quotation
Once you finish these steps continue to the next step
Step 2 : Update the configuration
After extracting the add on zip file for changing the configurations in addons.dart, you have to follow the steps below:
Go to
projectFolder->lib->add-ons->addonsshared.dart
Then inside addonsShared array paste the following content
{"Quotation": SpurtQuotation(), "data":""},
After placing the above files it will look like this
After executing the above mentioned steps, we have to place these below lines in the core folder to show the Quotation List to the user.
1) QuotationList
Once you finished updating the configuration then in the projectFolder->lib->core->modules->shared->drawer.dart
file update this line where you seem comfortable with
findMyClass("QuotationList", {“req”:””}),
Add this line to get quotation list blogs section
Step 4 : Run the application
After integrating the Quotation list Module into Spurt Commerce, you can use the following commands to run the application in terminal.
$ flutter run
Or
In Run menu select run without debugging
In case if throws any exception
$ flutter run –no-sound-null-safety
Once you execute the above command you can view the installed module in Spurt Commerce, within the page in which you have integrated
Step 5 : Make the build
In order to build, you need to run the following commands. In order to check the application, run the following commands and build the application.
$flutter build
If you want to split the abi then
$flutter build –split-per-abi
For bundle build
$flutter build appbundle
For setting up the API, you need to execute the following steps:
Installing an extension
Run the application
Make the build
Step 1 : Installing an extension
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in "vendorproductvariant-addOn.zip". Extract the zip file and copy the content of api folder into the specified path
Path - <PROJECT_ROOT>/addon
Step 2 : Run the application
After you have completed the installation of the above mentioned steps, you can run the application and also view the changes.
$ npm start serve
Once you execute the above command, add-on file will get integrated into the backend API.
Step 3 : Make the build
These are the steps that need to be followed for generating the build.
To run the below command
$ npm run build
Then latest built files can be deployed into the server.
These are the steps that need to be followed to do the front end vendor setup.
● Installing an extension
● Update the configuration
● Module Detail
● Run the application
● Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
Usually spurcommerce comes packed in a zip, whose name ends in ".addOn.zip".
Extract the zip file and copy the content of api folder into the specified path
Path - <PROJECT_ROOT>/add-ons
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce config files. For this, you need to follow the steps below.
Update Reducer Config
1) Import below line into the add-ons/add-ons-reducer.ts
import * as fromQuotationRequest from
'./Quotation/core/reducer/QuotationRequest.reducer';
1) Import below line into the add-ons/add-ons-state.ts
import { QuotationRequestState } from
"./Quotation/core/reducer/QuotationRequest.state";
2) Add the state into the below object
QuotationRequest:QuotationRequestState;
3) After adding its looks like below
export interface AddOnAppState {
QuotationRequest:QuotationRequestState;
}
Update Effect Config
1) Import below line into the add-ons/add-ons.effect.ts
import { QuotationRequestEffect } from
"./Quotation/core/effects/QuotationRequest.effect";
2) Add the effect into the below object
QuotationRequestEffect,
3) After adding its looks like below
export const ADD_ON_EFFECT = [
QuotationRequestEffect,
];
Update Component Config
1) Import below line into the add-ons/add-ons.shared.ts
import { QuotationListComponent } from
"./Quotation/template/quotation-list/quotation-list.component";
import { QuotationRequestComponent } from
"./Quotation/template/quotation-request/quotation-request.component";
import { QuotationListViewComponent } from
"./Quotation/template/quotation-list-view/quotation-list-view.component";
import { QuotationListDetailComponent } from "./Quotation/template/quotation-list-detail/quotation-list-detail.component";
2) Add the following components into the below object
QuotationListComponent,
QuotationRequestComponent,
QuotationListViewComponent
QuotationListDetailComponent
3) After adding its looks like below
export const ADD_ON_COMPONENTS = [
QuotationListComponent,
QuotationRequestComponent,
QuotationListViewComponent
QuotationListDetailComponent
]
Step 3 : Module Detail
The modules pertaining to quotationlist,quotationrequest and quotationlistview are listed below. You may use these modules, in any page of Spurtcommerce.
Also, you can find the steps below to use the Quotation modules in Spurtcommerce pages.
After you have integrated the Quotation Module into Spurtcommerce, you can use the following command to run the application.
ng serve
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
ng build –prod
Then the latest built files can be deployed into the server.
Store setup
These are the steps that need to be followed to do the front end admin setup.
● Installing an extension
● Update the configuration
● Module Detail
● Run the application
● Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOn.zip".
Extract the zip file and copy the content of api folder into the specified path
Path - <PROJECT_ROOT>/add-ons
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce config files. For this, you need to follow the steps below.
Update Reducer Config
1) Import below line into the add-ons/add-ons-reducer.ts
import * as fromQuotationList from
'./QuotationRequset/core/reducer/quotationList.reducer';
After you have integrated the Quotation Request Module into Spurtcommerce, you can use the following command to run the application.
ng serve
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
ng build –prod
Then the latest built files can be deployed into the server.
Front End SetUp
These are the steps that need to be followed to do the front end store setup.
Installing an extension
Update the configuration
Run the application
Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOns.zip". Extract the zip file and copy the content of store folder into the specified path as given below
Move Attributes folder from addOns/Quotation to Path - <PROJECT_ROOT>/addOns
Add on location:
projectFolder->addOns
After placing it it will look like this
projectFolder->addOns->Quotation
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce addonsconfig.js files. For this, you need to follow the steps below.
Once you finish the first Step now declare the necessary plugins in the addonconfig.js file
Import below line into the addonconfig.js
import SpurtQuotationPop from './Quotation/QuoteModal'
import SpurtQuotationList from './Quotation/QuotationList'
2. Add the PartialSpecification into the below object
export const AddonsComponent={
SpurtQuotationPop,
SpurtQuotationList
}
Step 3 : Module Detail
The modules pertaining to RelatedProduct are listed below. You may use these modules, in any page of Spurtcommerce.
SpurtQuotationPop Component:
Implement this plugin for quotation popup model for a registered user
After you have integrated the Quotation Module into Spurtcommerce, you can use the following command to run the application.
$ npm run dev
Once you execute the above command you can view the installed module in Spurtcommerce, within the page in which you have integrated.
Step 5 : Make the build
To run the below command
$ npm run build or yarn nun build
Then the latest built files can be deployed into the server.Front End SetUp
These are the steps that need to be followed to do the front end store setup.
Installing an extension
Update the configuration
Run the application
Make the build
Step 1 : Installing an extension
Make sure your device is running on the device or simulator,or it will not show up in the list
These are the steps that need to be executed for installation of the extension.
Usually spurcommerce comes packed in a zip, whose name ends in ".addOns.zip". Extract the zip file and copy the content of store folder into the specified path as given below
Move Attributes folder from addOns/Quotation to Path - <PROJECT_ROOT>/addOns
Add on location:
projectFolder->addOns
After placing it it will look like this
projectFolder->addOns->Quotation
Step 2 : Update the configuration
After the installation of the extension, you will have to update certain configurations into the default Spurtcommerce addonsconfig.js files. For this, you need to follow the steps below.
Once you finish the first Step now declare the necessary plugins in the addonconfig.js file
Import below line into the addonconfig.js
import SpurtQuotationPop from './Quotation/QuoteModal'
import SpurtQuotationList from './Quotation/QuotationList'
2. Add the PartialSpecification into the below object
export const AddonsComponent={
SpurtQuotationPop,
SpurtQuotationList
}
Step 3 : Module Detail
The modules pertaining to RelatedProduct are listed below. You may use these modules, in any page of Spurtcommerce.
SpurtQuotationPop Component:
Implement this plugin for quotation popup model for a registered user