Viewcart1.htm is the first shopping cart page a customer will see when he presses the " add to cart" button on any website.
After inserting a product into the cart, a customer can choose a number of options from this page;
The customization procedure of this page is similar to that used to customize the rest of the pages.( apart from having an extra bit of code between the <HEAD> tags of the page's html.
Step 1: Downloading unformatted copy From BazaarBuilder
Download the "default" copy of viewcart1.htm from BazaarBuilder to start the customization process. The default viewcart1.htm contains no formatting as it must be customized according to each website's own design. To get the template via e-mail;
Step 2: Modifying The Templates. (Important: See Note 2 below)
After receiving the template via e-mail save it on your local computer. Open it in your favorite web design tool such as Dreamweaver or even Notepad and customize it till you are satisfied with its layout. You may typically already have a page built that acts a template for your site's design (dreamweaver users often). In this case simply "cut +paste" the html code of the viewcart1.htm template into your site and save it as viewcart1.htm(see note 1+2 also). This template can be uploaded as in step 3 to see if it works and the process repeated further till you are satisfied with the design.
The default template contains special variables which look almost exactly like normal HTML tags. Each of these variables represents prices and product information that were entered in the Product Manager section. As long as these variables are included in your pages in their given sequence, you have complete control on how each of the pages is customized to match the rest of the website.
Note 1: Any images used on this page will have to be uploaded to the BazaarBuilder web server. By default images that will be used as graphics for this page will be stored in following directory: /username/images/ (where username is YOUR own username that was registered with BazaarBuilder). Only GIF and JPG are images allowed. So if an image named globe.gif is used on the pages then the directory path should be /username/images/globe.gif. Some design tools such as Dreamweaver automatically ALTER the directory paths as files are moved from one place to another so its always worthwhile to double check these before uploading the page. If you already uploaded the page to the server and the images are not showing, this is the most likely reason for their non-appearance.
Note 2: Unlike all other shopping cart templates this page uses an extra META tag that must be pasted between the <HEAD>tags of the viewcart1.htm file. Simply cut + paste the following into your page;
<tmpl_if session_id>
<meta http-equiv="Set-Cookie" content="SessionID=<tmpl_var
session_id>;Path=/;Domain=www.bazaarbuilder.com">
</tmpl_if>
Continue Shopping button uses history.go(-1) javascript function on onclick event i.e. onclick="history.go(-1)". You can however use parent.location method if you want to take visitor to any specific page e.g. onclick="parent.location='path to the page';"
Read this article about how to customise this template.
Step 3: Uploading the modified Templates
After modification files are uploaded again to the server by following these simple steps;
Step 4: Uploading Template Images
Any images used on this page will have to be uploaded to the BazaarBuilder web server. By default images that will be used as graphics for this page will be stored in following directory: /username/images/ (where username is YOUR own username that was registered with BazaarBuilder). Only GIF and JPG are images allowed. So if an image named globe.gif is used on the pages then the directory path should be /username/images/globe.gif. Some design tools such as Dreamweaver automatically ALTER the directory paths as files are moved from one place to another so its always worthwhile to double check these before uploading the page. If you already uploaded the page to the server and the images are not showing, this is the most likely reason for their non-appearance.
Step 5: Uploading Template Style Sheets
In case you have used any external style sheets (css) which need to reside on the server, they can be uploaded by following these simple steps;
Select "Upload CSS". Select the style sheet and press "Upload".
>>>>>>>>>>>>>>>>>>>>
The following list of variables is provided just for your reference. You will normally not have to refer to it.
This page uses following Template Variables. Sequence of these variables from top to bottom in the page is as follows:
Read this article about how to customise this template.
|
|
|