Hello everyone. My name is Leandro and I’m choosi...
# support
l
Hello everyone. My name is Leandro and I’m choosing an e-commerce platform to develop a Marketplace. I have the following requirements: • I already have an application in Vue.js (which is linked to my proprietary web SaaS - nothing to do with eComm) and I would like to add a headless e-commerce solution to this website. • The frontend will be completely developed by our team in Vue.js. • The application will be a marketplace. And my partners (which will have the stores in there) will sell through my marketplace will upload their brand and product details, such as: logo, description, product photos, product descriptions, etc. ◦ Question about product description? Can I’ve a metadata here? Or a field where I add an extra information? • IMPORTANT: My SaaS offer 4 different plans: Free, Monthly, Yearly, or Business, plus a regular visitor, a Guest. And my partners will give different perks to my clients, depending on my client’s plan. These 5 profiles (Guest, Free, Monthly, Yearly, or Business) will see different prices and different bonuses ◦ For example. Prices from Partner A, Product X for: ▪︎ Guest: see normal price, $ 100. ▪︎ Free: see normal price, $ 100 and it gets a PDF as a perk. ▪︎ Montly: see normal price + price with a discount, $100 (-10%) = $ 90. ▪︎ Yearly: see normal price + price with a discount, $100 (-30%) = $ 70. ◦ Another example. Prices from Partner B, Product Y for: ▪︎ Guest: see normal price, $ 100. ▪︎ Free: see normal price + price with a discount, $100 (-5%) = $ 95. ▪︎ Montly: see normal price + price with a discount, $100 (-10%) = $ 90 + get an eBook. ▪︎ Yearly: see normal price + price with a discount, $100 (-20%) = $ 80 + 30min one-on-one call with the expert valued at $ 150. ◦ So I’ll need to show all these differences throughout the website based on the user’s plan on my Vue.js app. Question for you guys: can I use the open-source solution and easily have the combination price / bonus / user type in a marketplace? Or would this mean a lot of work? How much work do you think it would take from my development team to do this personalisation? Plus, can I add to the Basket Preview and Checkout page the feature to show to different users different results? I.e., to a Guest user the system would show that if he/she upgrades to our Monthly subscription plan to my SaaS it would get $ 25 discount in this purchase. And if he/she chooses the Yearly plan it would get $ 32 discount + 30min one-on-one call with the expert valued at $ 150. Something like that… In short, I would like to be able to retrieve the perks/bonuses at any time so I can show to each user a different thing. In your experience, can I create this marketplace with the open-source version? Thank you in advance.
c
👋Hi @Leandro Bortolotto I think you could customize solidus to get all that you need. By default solidus has just one price for everyone, but you could add a new table to define your prices based on user role or subscription level. I don't think there is an extension ready to use for that. About the work required, not sure. Could be a couple of weeks or months, depends your team and the knowledge they have with rails and solidus. About the checkout page, the discount is easy to do. Solidus already has a great Promotion system. But to show different bonuses, I think you could add some logic to determine if a promotion or other kind of bonus is applied to user and render accordangly in your page.
l
Thank you @ccarruitero I just edited my question to make it more clear. That will give you more details, and maybe you can see a broader solution about it.
c
Solidus has an api, so you can use only that for your project. For the marketplace stuff (get suppliers and resources specific for them) you can use https://github.com/magma-labs/solidus_marketplace/tree/rails-6-support As mention before, for prices you will need and additional table to match prices with susbcription level. Since you want to show users the difference from the regular (guest) price, you can retrieve all available prices for specific product and calculate the discount percentage for each one to show to the user. About additional bonus ... It's an interesting challenge. I think you could add an additional association to your prices table (maybe polymorphic), so you can define an attachment, a product, a coupon or whatever you want in this association as bonus with that price
b
Well, we built bevv.com in Solidus.
There is a
spree_prices
table, so you could configure different prices per user. It's normally used for different countries/currencies.
Or you could use a promotion and apply a 10% or 30% discount depending on the plan associated with the user.
You have lots of options her on how you would like to approach this issue 🙂
l
Cool. Thank you very much for your answers. @benmorganio how did you build the marketplace itself? Can the brands (the partners in my case) upload their own products and product description?
I would customise that exact area, when the partner is registering a new product in the marketplace, they will have the following fields: [Regular Product Fields - description, name, photo, etc.] Plus For Guest: XX.XX eur For Free: XX.XX eur For Monthly: XX.XX eur + bonus PDF. Something like that.
Another important question: can I set up that the Vendor/Partner A ships only to Germany, and Vendor/Partner B ships to Germany, Netherlands, Italy?
b
Yup, they can upload their own products and images.
l
@benmorganio Would this plugin https://github.com/magma-labs/solidus_marketplace/tree/rails-6-support be useful for what I need. Or did you develop a personalised plug-in for it? If you can share more details, please, I would really appreciate it. I must start developing it asap.
b
If I remember right, I think everything is good there. But I would omit the Spree::Vendor model. We really didn't like it at Bevv.
It must made work more complicated. The Spree::Store model was all that was needed.
l
Ahh, ok. So you could create the marketplace on top of the Spree::Store itself. That sounds interesting.
But, in that case, you had to program quite a lot, right?
b
Ohhhhhh yeah
It will not be a walk in the park lol
😆 1
t
You should join the
#marketplaces
channel 👍
🙌 1