Question for Ofbiz dev -- How to change Ofbiz to multi-user

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Question for Ofbiz dev -- How to change Ofbiz to multi-user

Ofbiz 开发
Hi everyone,

I am new to Ofbiz. We are thinking of using Ofbiz to build our E-Commerce
platform. We are impressed by its rich and powerful functionalities.

At the moment it seems those functions can only be used by one company,
i.e. a company login to back end, creates products and promotions, and
those products and promotions will be available in the storefront.

We would like to change it so that each registered user can have such a
backend portal, and each one is isolated, but in the storefront, it can
display all user's product and promotions etc. So users register account
through storefront, then login to backend portal. For example,

User A creates Product A1, Product A2 and Promotion P1 in the backend.
User B creates Product B1, Product B2 and Promotion P2 in the backend.

They can't see or manage each other's products and promotions, but any one
can see Product A1, A2, B1, B2 and promotion P1, P2 in the storefront.
Ideally I would also like people to see A1, A2 and P1 belongs to User A and
B1, B2 and P2 belongs to User B, and in the search result people can refine
the search by searching User A product only etc.

What is the correct way of approaching this, at least this "multi-user
backend feature" please? Can someone point me the right direction please?
Thank you very much.

Fong
Reply | Threaded
Open this post in threaded view
|

Re: Question for Ofbiz dev -- How to change Ofbiz to multi-user

hans_bakker
We have implemented such a scheme in the ofbiz marketplace we are slowly
building at http://www.ofbizshop.com . It is currently integrated in our
company system but we could concider separating it,

let me know at [hidden email] if you are interested.

Regards,
Hans

On 12/21/2011 10:48 AM, Ofbiz 开发 wrote:

> Hi everyone,
>
> I am new to Ofbiz. We are thinking of using Ofbiz to build our E-Commerce
> platform. We are impressed by its rich and powerful functionalities.
>
> At the moment it seems those functions can only be used by one company,
> i.e. a company login to back end, creates products and promotions, and
> those products and promotions will be available in the storefront.
>
> We would like to change it so that each registered user can have such a
> backend portal, and each one is isolated, but in the storefront, it can
> display all user's product and promotions etc. So users register account
> through storefront, then login to backend portal. For example,
>
> User A creates Product A1, Product A2 and Promotion P1 in the backend.
> User B creates Product B1, Product B2 and Promotion P2 in the backend.
>
> They can't see or manage each other's products and promotions, but any one
> can see Product A1, A2, B1, B2 and promotion P1, P2 in the storefront.
> Ideally I would also like people to see A1, A2 and P1 belongs to User A and
> B1, B2 and P2 belongs to User B, and in the search result people can refine
> the search by searching User A product only etc.
>
> What is the correct way of approaching this, at least this "multi-user
> backend feature" please? Can someone point me the right direction please?
> Thank you very much.
>
> Fong
>

Reply | Threaded
Open this post in threaded view
|

Re: Question for Ofbiz dev -- How to change Ofbiz to multi-user

Jacques Le Roux
Administrator
In reply to this post by Ofbiz 开发
I believe you can build it on top of multi-tenant, but it would need more work of course
https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support

Jacques

From: "Ofbiz 开发" <[hidden email]>

> Hi everyone,
>
> I am new to Ofbiz. We are thinking of using Ofbiz to build our E-Commerce
> platform. We are impressed by its rich and powerful functionalities.
>
> At the moment it seems those functions can only be used by one company,
> i.e. a company login to back end, creates products and promotions, and
> those products and promotions will be available in the storefront.
>
> We would like to change it so that each registered user can have such a
> backend portal, and each one is isolated, but in the storefront, it can
> display all user's product and promotions etc. So users register account
> through storefront, then login to backend portal. For example,
>
> User A creates Product A1, Product A2 and Promotion P1 in the backend.
> User B creates Product B1, Product B2 and Promotion P2 in the backend.
>
> They can't see or manage each other's products and promotions, but any one
> can see Product A1, A2, B1, B2 and promotion P1, P2 in the storefront.
> Ideally I would also like people to see A1, A2 and P1 belongs to User A and
> B1, B2 and P2 belongs to User B, and in the search result people can refine
> the search by searching User A product only etc.
>
> What is the correct way of approaching this, at least this "multi-user
> backend feature" please? Can someone point me the right direction please?
> Thank you very much.
>
> Fong
>
Reply | Threaded
Open this post in threaded view
|

Re: Question for Ofbiz dev -- How to change Ofbiz to multi-user

Nick Rosser
In reply to this post by hans_bakker
Fong,

We have developed something similar within our BigFish eCommerce
platform, which extends OFBiz specifically for eComm. For one of the
demo implementations we used a concept of fashion designers being able
to add products to the catalog; and each fashion designer only having
access to "their" products. The shopper would be able to see all
products offered. This is implemented on the eCommerce side but we've
yet to expose it via the BigFish Admin Module (on our road map). Under
the covers we used the OFBiz concept of "manufacturer" to associate the
fashion-designer with specific products.

Take a look at our demo site for Fashion House:
http://50.57.156.102:8082/osafe/control/main

The Admin Module is: https://50.57.156.102:8442/osafe-admin/control/main 
login (admin/ofbiz)

We'll have another announcement in January -- we're busy building out
the functionality and putting together a complete site to describe all
the features and provide access to a number of demo implementations.

For a little more info check out the initial thread:
http://mail-archives.apache.org/mod_mbox/ofbiz-user/201112.mbox/browser

Or go to ofbiz.org, click on mailing lists, browse and search for
"BigFish".

Best Regards,

Nick Rosser
[hidden email]
O: 516.742.7888 x221
C: 516.901.1720


On 12/20/2011 10:56 PM, Hans Bakker wrote:

> We have implemented such a scheme in the ofbiz marketplace we are
> slowly building at http://www.ofbizshop.com . It is currently
> integrated in our company system but we could concider separating it,
>
> let me know at [hidden email] if you are interested.
>
> Regards,
> Hans
>
> On 12/21/2011 10:48 AM, Ofbiz 开发 wrote:
>> Hi everyone,
>>
>> I am new to Ofbiz. We are thinking of using Ofbiz to build our
>> E-Commerce
>> platform. We are impressed by its rich and powerful functionalities.
>>
>> At the moment it seems those functions can only be used by one company,
>> i.e. a company login to back end, creates products and promotions, and
>> those products and promotions will be available in the storefront.
>>
>> We would like to change it so that each registered user can have such a
>> backend portal, and each one is isolated, but in the storefront, it can
>> display all user's product and promotions etc. So users register account
>> through storefront, then login to backend portal. For example,
>>
>> User A creates Product A1, Product A2 and Promotion P1 in the backend.
>> User B creates Product B1, Product B2 and Promotion P2 in the backend.
>>
>> They can't see or manage each other's products and promotions, but
>> any one
>> can see Product A1, A2, B1, B2 and promotion P1, P2 in the storefront.
>> Ideally I would also like people to see A1, A2 and P1 belongs to User
>> A and
>> B1, B2 and P2 belongs to User B, and in the search result people can
>> refine
>> the search by searching User A product only etc.
>>
>> What is the correct way of approaching this, at least this "multi-user
>> backend feature" please? Can someone point me the right direction
>> please?
>> Thank you very much.
>>
>> Fong
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Question for Ofbiz dev -- How to change Ofbiz to multi-user

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Hi Fong,

Please use rather user ML for such questions, http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists
Because I can not answer to everyone personnaly and there you will get a wider audieance and much more effective support (some persons/companies are already using multi-tenants on a day to day basis)

It seems you have a installation problem, send your log (in message, attachments don't get through in user ML) or rather the relevant snippet

Thanks

Jacques
  ----- Original Message -----
  From: Ofbiz 开发
  To: [hidden email]
  Sent: Thursday, January 12, 2012 5:36 AM
  Subject: Re: Question for Ofbiz dev -- How to change Ofbiz to multi-user


  Hi Jacques,

  Thank you very much for your email. I checked out the trunk and followed the instruction on that Wiki page, I can see the tenant information is loaded into ofbiztenant.tenant table, but it keeps getting "cannot obtain database connection" when running "ant run-install-multitenant". ofbizolap_tenant1 database and tenent01_db database are both empty.

  I use PostgreSQL 9.1, do I need to stop the server when creating new tenants please? And most importantly, how do I check if new tenants has been created successfully? Can I login as the tenant and use the platform? Thanks very much.

  Kind Regards

  Fong


   
  On Wed, Dec 21, 2011 at 10:59 PM, Jacques Le Roux <[hidden email]> wrote:

    I believe you can build it on top of multi-tenant, but it would need more work of course
    https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support

    Jacques

    From: "Ofbiz 开发" <[hidden email]>


      Hi everyone,

      I am new to Ofbiz. We are thinking of using Ofbiz to build our E-Commerce
      platform. We are impressed by its rich and powerful functionalities.

      At the moment it seems those functions can only be used by one company,
      i.e. a company login to back end, creates products and promotions, and
      those products and promotions will be available in the storefront.

      We would like to change it so that each registered user can have such a
      backend portal, and each one is isolated, but in the storefront, it can
      display all user's product and promotions etc. So users register account
      through storefront, then login to backend portal. For example,

      User A creates Product A1, Product A2 and Promotion P1 in the backend.
      User B creates Product B1, Product B2 and Promotion P2 in the backend.

      They can't see or manage each other's products and promotions, but any one
      can see Product A1, A2, B1, B2 and promotion P1, P2 in the storefront.
      Ideally I would also like people to see A1, A2 and P1 belongs to User A and
      B1, B2 and P2 belongs to User B, and in the search result people can refine
      the search by searching User A product only etc.

      What is the correct way of approaching this, at least this "multi-user
      backend feature" please? Can someone point me the right direction please?
      Thank you very much.

      Fong