Support.im1.net
 Home FAQ Search Dialup Hosting
 

 

Back

How do I change the continue shopping link to take the shopper back to the last item they viewed, rather than the store entrance set in CommerceBuddy?
 

The default header.html contains a link to the store entrance set in CommerceBuddy by default. If you would like to take your shoppers back to the last page they were on instead of the store entrance URL, you need to edit the header.html file for CartIt. The header.html file can be found in the "data" folder (or whatever you named the "data" folder when you installed CartIt) on the server.

You can edit these files in your favorite text editor. Notepad works well for these small jobs.

NOTE: You should not open this file in Microsoft FrontPage, as FrontPage will rewrite and destroy the file.

The files is located in the data directory which is located at the same level as your public_html, webdocs, or domain_name.com (substitute your domain here) directories. The exact path and directory name will vary from machine to machine.

/home/username/public_html <-your FrontPage site starts here. When you browse in FrontPage, you cannot see files above this folder. They are not available to the webserver.

/home/username/data <-Your data directory is here. All the files in this folder and the folder itself should be set to 777 permissions. This is the way your account is setup by Im1 initially. The server is configured so that other users cannot see or list your files in the directory. They are only available to the cartit cgi programs.

When you connect to your site using FTP or SFTP you will be in your home directory, /home/username <-Your home directory

Use 'cd data' to change to your data directory. You will see the header.html file there. You can download these files (ONLY these files) local and edit or customze them as you desire. As a minimum you will need to remove the comments from the files.

Note: These are NOT complete html files. These files should be kept in close to original form with respect to closing body tags, etc. that may or may not be present when you start to edit them. IE, if it had a close body tag, leave it there.


When you have the header.html file open, replace the following:

<A HREF="%io_home_page%">Continue Shopping</A>
with this:
<a href="javascript:history.go(-1)" onMouseOver="self.status='Click this link to Return to Previous Page.';  return true" onMouseOut="self.status=''; return true">Continue Shopping</a>


Do not copy the code from this screen as it has been altered to display in the browser. Grab this text instead.









 
 
© copyright - 1996-2002 - im1.com             home   |   FAQ   |   search   |   dialup   |   hosting   |   contact