Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Placing OScommerce somewhere else..


jade

Recommended Posts

I need help moving the OS from the index page to another page. I don't want that to be the first thing to show up when people type in my address. How do I do this?

 

I want it to have it's own page, so that when I send people to my site, if they don't want bombarded with a shop, they can look at other things that I have on my site.

 

I use frames, so I hope this isn't going to be a huge hassle!

Link to comment
Share on other sites

You simply install it under a directory of your choice. Most seem to use the "/catalog" directory but you can use any directory you want like "/shop" or like "/store"

 

Now as far as just moving that store, I know that can be done but you have to chage the reference in a couple of file. I do not know exactly how and what files but some time spent using the "search" function should grab the answer for you.

 

By the way, I have no idea if frames will make this a hassel. Iwouldn't be surprised if they do though.

Link to comment
Share on other sites

You have your primary domain - yourdomain.com

osCommerce is generally installed in a subdirectory on that domain - yourdoamin.com/catalog/ or /store/ or whatever

 

So as to NOT have people surfing to your site land directly in the storefront, you would need to create a main page in the root at yourdomain.com. Call it index.html to avoid confusion.

You could then direct visitors to your oscommerce store by creating a link from index.html to your main store page at yourdomain.com/catalog/index.php

From your main index.html page, you can put as many links as you link to as many parts of your site that are not related to oscommerce.

 

Hope that made sense to ya.

:)

Link to comment
Share on other sites

Btw:

By the way, I have no idea if frames will make this a hassel. Iwouldn't be surprised if they do though.

 

I'd have to go along with that.

 

:blink:

Link to comment
Share on other sites

Assuming you have control over how your web server renders pages, you could simply tell it to show the index.html before the index.php file when someone hits: www.yourdomain.com. In fact, most web servers are by default configured this way. So, you could simply drop in an index.html file in your root directory and put in it whatever you want. Then, when the user clicks a link that goes to your store on the html page, simply redirect them to the index.php file in the same directory. Quick, easy, fast.

 

I would suggest, if you go this route, that you create a sub-directory called ?landingpage? (or something similar). Then, anything the index.html needs to pull to render the page is pulled from the ?landingpage? sub-directory. While this isn?t necessary, it will help you with your site maintenance.

 

The complete solution would be to move osCommerce, but this approach would do in a pinch and you could do it first, followed by a full move.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...