PDA

View Full Version : How to point to my new cart


wiseacresart
9-9-09, 10:57 PM
I have been working on a new shopping cart for our site and it is loaded and about ready to go. Now I need to know how to point customers to the new cart instead of the old one.

Info: All files loaded on my woodworkingparts.com site. If you go to www.woodworkingparts.com you get the old shopping cart. All of the NEW shopping cart was put into a folder "SHOP". If I put in www.woodworkingparts.com/shop, the new cart will load. If I click on "View Shop" in the cart control panel, the URL is www.woodworkingparts.com/shop/index.php

Now in the PowWeb Domain Pointing Manager it shows (Domain) woodworkingparts.com, (Pointer Type) Home Directory, and (points to) /htdocs/

The htdocs folder contains all old cart and new cart which you most likely already know, but bear with me as I am an old man.:confused:

I hope I gave enough info for help on how to point to my new shopping cart that I hope to put live in about 2-3 days after doing final bug and error checking.

Thanks a lot.
Mark

IanS
9-10-09, 04:07 AM
Try changing the pointing to htdocs/shop

wiseacresart
9-21-09, 12:16 PM
Changing the directory to htdocs/shop is what I was thinking would work…but it doesn't.

You can type the new directory in, but after it "updates" the /shop goes away.

Support said it should work but didn't when they tried. On an overnight session, they said they got it to work, but then they un-did it. They also changed the name of the index file so in the morning the entire site was shut down. On top of that, I can't confirm that they actually were able to do the change let along see how they did it.

It might be time after several years to start looking for a new place I think.

Dbrazzell
9-21-09, 02:00 PM
There are a couple of ways to go about fixing this.

1. You could take all of the files and folders in /shop and put them in your htdocs folder. You already have a lot of stuff in htdocs and mixing every thing up like this could be confusing.

2. You could edit your domain pointer inside of the control panel to point the domain to a sub directory (htdocs/shop). This will break the links inside of the store though. A simple edit to the config.php of oscommerce will correct this.

3. You could use a .htaccess and mod_rewrite to send any one going to woodworkingparts.com or www.woodworkingparts.com to woodworkingparts.com/shop

Out of those three options I would recommend number 2. It allows you to easily get going and wont create any new issues that will be difficult to support latter on.