Assign Product Price Add-on
About Addon
The SpurtCommerce Assign Product Price Add-on enables both store administrators and sellers to set and manage custom prices for products in the store. This plugin provides enhanced flexibility in pricing, allowing both admins and vendors to assign specific prices, discounts, and promotional offers, making it easier to cater to diverse customer needs and seasonal promotions.
Features:
Custom Price Assignment: Admins and sellers can set unique prices for each product directly within their respective panels.
Discount & Promotion Management: Easily apply discounts or promotional prices on selected products to drive sales.
Flexible Price Updates: Quickly adjust prices based on stock levels, market trends, or demand changes.
Segmented Pricing for Targeted Offers: Configure special prices tailored to different customer groups or campaigns, boosting engagement.
Frontend Setup - Seller Panel:
Follow these steps to set up the front end for the Assign Product Price 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 assign-product-price folder into the addOns folder in your project.
projectFolder -> addOns
After this step, the structure should look like:
projectFolder -> addOns -> assign-product-price
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.
Store Setup
Follow these steps to set up the personalized pricing 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 PriceGroup folder into the addOns folder in your project.
projectFolder -> addOns
After this step, the structure should look like:
projectFolder -> addOns -> PriceGroup
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 ProductPriceGroup plugin to the specified object.
Step 3: Module Details
The ProductPriceGroup module includes the following components that you can utilize in any page within Spurtcommerce by sending the required Product data as props:
ProductPriceGroup Component
Note: Use the ProductPriceGroup component by passing the product data as a prop:
Step 4: Run the Application
Once you have integrated the Personalized pricing module, run the application using:
This command will launch Spurtcommerce with the integrated Personalized pricing module visible on the specified page.
Step 5: 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