Creation of Marketplaces in Wix
Velo Code Solution
Inspired by Airbnb, Etsy, or Fiverr's success? Do you want to have your own marketplace?
An online marketplace is a platform that connects supply and demand - vendors and customers. They can discover one other on a marketplace, which facilitates their transactions and makes income for the owner through marketplace fees.
Wix website by default only allow to run payments from user to site owner. Velo Code allows creating a marketplace where users can sell products or services to each other while you can charge a commission from sales.
What is the revenue model for internet marketplaces?
If you wish to start your own marketplace, the most popular ways for e-marketplaces to make money are as follows:
subscriptions/memberships sold by the
commission from sales
featured listings
affiliate programmes
advertising
freemium
We create all interfaces for a user to list their products through my account areas. They also register their bank details to receive pay-outs (after you charge commission) which are stored securely in an encrypted format. The product or service then gets listed and gets into the right part of the site. Sellers can change the details and price of their products. It is possible to add a chat function for communication between seller and buyer.
Tools
Wix Velo Code,Payment API,SendGrid
Example Code
import wixData from 'wix-data';
import wixUsers from 'wix-users';
import { session } from 'wix-storage';
import { sendChatMsg } from 'backend/chat'
$w.onReady(async function () {
if (wixUsers.currentUser.loggedIn === false) {
$w('#button5').hide()
$w('#button7').hide()
}
let arr = await wixData.query(""Services"").distinct(""category"")
let ops = []
for (var i = 0; i < arr.items.length; i++) {
ops.push({
""label"": arr.items[i],
""value"": arr.items[i]
})
}
$w(""#selectionTags2"").options = ops;
if (session.getItem(""preCat"")) {
let tmp = []
tmp.push(session.getItem(""preCat""))
$w(""#selectionTags2"").value = tmp;
$w(""#selectionTags2"").resetValidityIndication()
selectionTags2_change(null);
session.removeItem(""preCat"")
}
if (session.getItem(""preSrch"")) {
$w(""#input1"").value = session.getItem(""preSrch"")
console.log($w(""#dataset1"").getTotalCount());
$w(""#dataset1"").setFilter(wixData.filter().contains(""title"", session.getItem(""preSrch"")))
dataset1_currentIndexChanged()
session.removeItem(""preSrch"")
}
});
More Velo Integrations
Integrating Integromat with Wix: A Complete Tutorial
Integrate Integromat with Wix to automate workflows and boost productivity. Follow our step-by-step guide to optimize your website’s operations
Wix Etsy Integration: Streamlining Your Online Store
Learn how to connect your Wix site to Etsy, manage inventory, sync sales, and expand your online reach effortlessly with this integration guide