Customizing your store
Forcing RealCart to load to a particular product page
Creating direct-load pages for some or all of your products
NOTE: As always you should make a copy of one of your themes before modifying them.
To create Direct-loading product pages you need to make copies of three files in your cart folder. If you installed RealCart to its default location this file will be located at:
C:\Program Files\RealCart\RealCart.com\Stores\My Store\cart\
Copy these files:
- index.html
- cart.html
- pay.html
Lets say that you run a sunglass shop on-line and you want to allow your customers to pull up Ray-ban Wayfarer sunglasses without going through your front door so to speak by loading RealCart from the main RealCart folder: http://www.YourDomain/cart/. In this case lets make copies of the three above files in your cart folder (Yes, this is an exception to the rule of never editing the cart folder files.)
We need to rename all three of these files in a specific manner. Since your Ray-bans stock number is w0949 we will call our copies of the files named above using the stock number w0949 as the prefix of each of these filenames like this:
- w0949index.html
- w0949cart.html
- w0949pay.html
NOTE: Always make letters appearing in stock numbers small case letters. You can do this for each product you wish to create direct links for.
Edit the w0949index.html file
Using notepad or some other text editor (or even FrontPage in code view) open the file you just copied named w0949index.html and locate the line that reads:
<frame src=cart.html name=app marginheight=3 marginwidth=0 scrolling=no frameborder=0 framespacing=0>
Locate and change the reference from cart.html as shown above to w0949cart.html. This line should now look like this:
<frame src=w0949cart.html name=app marginheight=3 marginwidth=0 scrolling=no frameborder=0 framespacing=0>
Save this file and edit the next file...
Edit the w0949cart.html file
Now we need to change our new cart.html file to change which page the shopping cart loads when the cart itself has finished loading. You will need to edit the file that you just called w0949cart.html in your current theme folder.
- Start RealCart.
- Click the View Cart button on RealCarts Large Toolbar.
- Locate the file called w0949cart.html and double-click it.
- When Internet Explorer loads this page select View/Source... from the View Menu in IE.
- To quickly locate the line you need to change press F3 and type in catalog.html inside the Find what field.
- Press Enter to begin the search.
- Once you have located the line that reads:
var itemWin = window.open("catalog.html","item");
- Change the filename reference from catalog.html to w0949.html so that the line now looks like this:
var itemWin = window.open("w0949.html","item");
If you do not see any difference then your web browsers cache needs to be emptied. Click here for instructions on how to do this. Once you have successfully cleared your web browsers temporary files you should be able to load your on-line store and see that the first page that appears AFTER the shopping cart loads is now the Ray-Ban Wayfarer page (stock #w0949) instead of the catalog page.
Edit the w0949pay.html file
If you would like to customize the special checkout page for this product just edit the file that you named w0949pay.html. If you do not need to change anything in this file just publish your store and go to the address:
http://www.YourDomain.com/cart/w0949index.html to see the new direct page link to your product. You may do a set of these for each product that you wish to provide a direct link to.
We do not offer traditional tech support for this procedure, however, if you need to advise us of anything regarding this documentation you may tell us below.
|
Copyright © 1995-2006, RealCart.com® Made possible by the Grace of God. Do yourself a favor, LoveYourWife.com. This page last modified on
|
|