Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need help with Multi Stores


netbull

Recommended Posts

I need to make Main Store only a catalogue. In this Main Store will be displayed all products from all X stores. If one customer click on "buy now" button in Main Store (this product is added from Store2) to redirect him to Store2 and from this store he will buy product Y.

I Need Money

Link to comment
Share on other sites

I need to make Main Store only a catalogue. In this Main Store will be displayed all products from all X stores. If one customer click on "buy now" button in Main Store (this product is added from Store2) to redirect him to Store2 and from this store he will buy product Y.

Do you only want them to be able to buy 1 product at a time from any given store? Or is it going to be that once they click on product Y in the main store's listing, they're directed into Store2, where the product is added to their cart, and they can continue shopping in Store2?

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

...once they click on product Y in the main store's listing, they're directed into Store2, where the product is added to their cart, and they can continue shopping in Store2?

 

Richard.

 

 

yes. that`s I`m trying to say.

I Need Money

Link to comment
Share on other sites

yes. that`s I`m trying to say.

Those were 2 separate options, do you only want them to be able to buy 1 product at a time? i.e. pick a product from the main story and go to the checkout section of Store2, or do you want them to click into Store2 from the main store w/ a product click, and then they can continue shopping in Store2?

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

I want when is clicked on "buy now" button (on a product that is added from store2 admin) in main store to redirect him in store2 and then they can continue shopping in Store2. when someone click on a product added from store3 admin in main store to redirect him to store3 and then they can continue shopping in Store3.

I Need Money

Link to comment
Share on other sites

I want when is clicked on "buy now" button (on a product that is added from store2 admin) in main store to redirect him in store2 and then they can continue shopping in Store2. when someone click on a product added from store3 admin in main store to redirect him to store3 and then they can continue shopping in Store3.

Hmmm, you could probably do this with a session variable in place to tell what store they're currently browsing, and check it against the actual store id value that's being viewed... That way, when they click through to a store, if there's no session variable yet, it will create it, but if there is, and it doesn't match the one of the store they're currently viewing, you can reset their session id to blank out any other items they've got in their cart... That way they're only ever shopping in 1 store at a time... Or you could just use a $cart->reset(true) to clear out their cart if they ever venture into another store for viewing or adding products...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...