Laravel Marketplace Advanced Commission gives the ability to the admin to set the commission for Products, Categories and Seller categories.
The admin can also use commission rule. If any product lies under various categories on which the admin has set the commission, then, in this case, the highest commission will apply to the product.
This module is an add-on for the Marketplace Module, so the Marketplace module must be installed before installing this module.
Features of Laravel Marketplace Advanced Commission
- The admin can set commission on products and categories.
- The admin can also set commission on categories specific to Seller.
- Admin can set commission on products and categories together.
- The admin can decide the type of commission as a percentage or fixed for categories.
- The commission on the product will get higher priority.
- Admin can also add new commission rules.
- The admin can delete/edit the commission rule.
How to install the module
Customers will get a zip folder after purchasing the extension and Unzip the extension zip and then merge the “packages” folders into the project root directory
Goto config/app.php file and add the following line under ‘providers’
Goto composer.json file and add the following line under ‘psr-4’
Run these commands below to complete the setup
composer dump-autoload php artisan route:cache php artisan migrate php artisan vendor:publish
After the successful installation of the module the admin can configure the module under the Configure>>Marketplace Advance Commission where there are two fields as shown in the below image:-
Use Commission Rules
The admin can select between the “yes” or “no” from the dropdown menu.
The admin can select between the Fixed and Percentage that will be applied for per category commission and per seller category commission.
Also under the Marketplace section, three sections are available that are Set Per Category Commission, Seller Category Commission, Manage Commission rule.
Set Per Category Commission
The admin can set the commission per category by navigating Marketplace>>Set Per Category Commission.
A page will open where the admin can fill the commission for each category. Each commission will only act on the product that belongs to its category.
Seller category Commission
After clicking on the Seller Category Commission the admin can see all the vendors of the Bagisto marketplace.
The admin just needs to click on the Set category commission button and then the admin can also set commission for each seller category same as above.
Note:- If the admin has set advanced commission for both the per-category commission and seller category commission then seller category commission will apply first.
Manage Commission Rule
This rule will only apply when the admin has set as “Yes” in set commission rule under the configure setting.
To add commission rule the admin just need to click on the add commission button.
After clicking on the add commission a page will generate where the admin needs to enter the several fields
Commission Type:- The admin can select between the fixed and the percentage.
Product price from –The admin needs to enter the initial amount of the products from which the admin wants to set the commission.
Product price to:- The admin also needs to enter the last amount of the product until which the admin wants to set the commission.
Commission:-The admin can set the commission amount in this field.
Click on the Save Commission Button
What is the difference between fixed and percentage commission?
For example, if the admin has set a commission as 50 and fixed commission, and the product price is $150 then the commission will be $50.
In case of the commission set as 50 and percentage, and the product price is 150 then the admin commission will be $75.
Note: If the seller category commission > Product price in the category then the admin global commission will be applied.
Admin order details
The admin can see the order details and the commission under Marketplace>>Orders as shown below:-
Seller order details
The seller can also see the order details including the admin commission and the seller total amount under the seller’s profile by navigating to the orders in the marketplace section in the seller’s profile as shown in the image below:-
Current Product Version - 1.2.0
Supported Framework Version - Bagist0 v1.2.0