Jump to content

Store Front Question


bze306

Recommended Posts

I have a site that I am working on where I created a simple store front for items that can be added and sold.  I would like to incorporate the code in a members area where members after they sign into their personal area can manage their own store by clicking on a mystore icon.  The problem is that I only have the one store and of course they all can't share the same store.
I plan on having a main website that people can pick a different store depending on what they want to purchase.  Not sure how to make it so that each members area will have their own store to manage.. Any help would be great.
Link to comment
Share on other sites

Can you expand some on the subdirectory idea or subdomains.  I am fairly new to php.  Would I create the sub-directory and then make a copy of the store for the member to use?  Can I include this is my php script when the user's personal page is created?  Thanks.
Link to comment
Share on other sites

It depends on how you're doing your "store" now. You need to think about the structure. Is the store a table in the database? You need to make 'stores' and give each an ID and normalize the data. I'd do some research on database design and structure. I don't think filesystem is the way to go with this.
Link to comment
Share on other sites

Jesirose,

From what I read, you want to let each "member" have their own "unique" storefront..  I would then suspect that "they" would eventually want to have their own "unique" look.

  Therefore, I suggested file structure over DB, as I felt this would simplify things for her...just duplicating what she has existing, and linking to the main site.
Link to comment
Share on other sites

The store currently is in a mysql database locally on my machine.  I will do some research on how to make more stores and give them each a seperate id.  I assume I would create a seperate id column that would seperate the different stores.  I am familiar some with normalizing my data in mysql.  I am not concerned about the look of each store because the stores will be on my main site that I control the look.  My plan is to have a main page that lists different stores.  If someone wants to shop a specific store they would click on it and then go into the online store they wanted to shop at.  I may have some templates that the store owner can switch to but that won't be a problem.  I would like the stores to have the same look as the rest of the site that I am developing.  I can control that when they are in the admin area of their store.  The problem is building in the ability for them to have a store already in place when they sign up to become a member.  Any other ideas.. Send them my way.. I appreciate it.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.