Related Products Add-on
About Add-on
The Installation of Spurtcommerce Related Product Addon will enable the feature of adding related products to any product (either admin products or vendor products). When the plugin is installed, the multi-Vendor eCommerce site becomes ready for the admin to related products to a admin or vendor product and get them displayed for the visitors to view different related products in the product detail page.
Features:
• In the 'Add Product' form, the admin can add related products to a particular product (either admin products or vendor products).
• They can select the products from the list of products available in the drop down. On selecting a particular product, it gets added as a related product, under the main product.
• They can add one or more related products to any particular product. • On the storefront, related products will appear after the product details in the product detail page.
• The Customers can navigate to the detail pages of related products.
Frontend Setup - Seller Panel:
Follow these steps to set up the front end for the Rating and Review 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 related-product folder into the addOns folder in your project.
projectFolder -> addOns
After this step, the structure should look like:
projectFolder -> addOns > catalog > related-product
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:
If you wish to uninstall or remove the Rating and Review addon, replace the component paths and route paths with an empty array.
Step 3: Run the Application:
To run the application with the integrated Rating and Review addon, use the following command:
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:
The latest build files will then be ready to deploy to the server.
Frontend Setup – Admin Panel:
Follow these steps to set up the front end for the Related product addon in Spurtcommerce Admin Panel.
Step 1: Install the Addon:
Locate the Spurtcommerce addon package, typically named Admin.addOns.zip.
Extract the zip file and copy the Related Product folder into the addOns folder in your project.
projectFolder -> addOns
After this step, the structure should look like:
projectFolder -> addOns ->Marketing-> Related Product
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:
If you wish to uninstall or remove the Related product addon, replace the component paths and route paths with an empty array.
Step 3: Run the Application:
To run the application with the integrated Related Product addon, use the following command:
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:
The latest build files will then be ready to deploy to the server.
Store Setup
Follow these steps to set up the Related Product 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 RelatedProduct folder into the addOns folder in your project.
projectFolder -> addOns
After this step, the structure should look like:
projectFolder -> addOns -> RelatedProduct
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:
Import the required line into addonsconfig.js.
Add the RelatedProduct plugin to the specified object.
Step 3: Run the Application
Once you have integrated the Related Product module, run the application using:
This command will launch Spurtcommerce with the integrated Payment module visible on the specified page.
Step 4 Build the Application
To prepare the application for deployment, execute the following command:
or
The latest build files will then be ready for server deployment.
Last updated