Hi Tom,

If I am understanding you correctly you are trying to build an ecommerce service. The software architecture will be different than the single store. In broad strokes you will need

A Store Model with attributes: Name, Username, Password Hash, Payment Processor, any other relevant information about store. Store will also have many products, carts and orders

Update Product Model so that it belongs to Store by adding store_id attribute

Update Cart Model to belong to Store

Update Order Model to belong to Store

Add corresponding controllers and views for signing up and creating new stores.

Add admin controllers and admin views to allow store owners to CRUD products, orders etc.

Add mailers and other functionality helpful for store owners.

It will be an involved process, and you will discover and learn quite alot.

Another option would be to take the system you currently have and run its multiple instances for each store owner. You can add their payment processor and other unique information manually or write a script which will automate the process.

Good luck,
Ahsan

On 12/10/2014 4:57 PM, tom wrote:
anyone?

thx


On Fri, Dec 5, 2014 at 1:49 PM, tom <[email protected] <mailto:[email protected]>> wrote:

    hi,

    i have an rails app and users can pay to 'my' paypal account via
    active merchant.

    now i want to expand and allow users to have their own store , but
    im not sure how to deal with the users - store payments, aka a
    users buys from another users 'store', how would i set this up?

    any ideas welcome...


    thx


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com <https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/548B862C.8050207%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to