e-commerce software
Shopping Cart Software
Shopping Cart
E-commerce Software
Shopping Cart Software
E-commerce Shopping Cart Software

Customising checkoutform1 page (checkoutform1.htm template)

This page is where customer will first enter his contact details or, if he is a returning customer, he will enter his login details and his contact details will be inserted automatically for him. He will have opportunity to modify these details on the next screen. The page is held on a secure server.


It displays 2 forms along with shopping cart. One for New Member Registrations, and other for Existing Members. It contains following javascript in <HEAD of the page.

function newWindow()
{
newWindow = window.open('forgetpass.pl?customerId=
<tmpl_var customerid1>&cart_id=<tmpl_var cart_id>',
'newWin', 'width=750 height=250, scrollbars=no, toolbar=no,
location=0, toolbars=0, status=0')
}

<a href="javascript:newWindow()">Lost Password?</a>

Above JavaScript function is used for existing members to get their account password.

The actual customization procedure is same as with all other similar pages;

Step 1: Getting unformatted copy From BazaarBuilder

Download the "default" copy of checkoutform1.htm from BazaarBuilder to start the customization process. The default checkoutform1.htm contains no formatting as it must be me customized according to each your website's design. To get the template via e-mail;

  • Select "Download Templates". Choose the default templates (unformatted) or one's you may have uploaded. Select checkoutform1.htm
  • Enter your amyl address where the default templates are to be sent. NOTE: On occasion some e-mail clients such as Outlook do not receive the e-mail attachments correctly. It is advised that you try using an alternative e-mail address from hotmail , yahoo or any other web based e-mail system.
  • Press Download.

 

Step 2: Modifying The Templates.

After receiving the template via e-mail, open it in your favorite web design tool such as Dreamweaver and customize it till you are satisfied with its layout. You may already have a page built that acts as a template for this site's design. In this case simply "cut +paste" the downloaded page into your site and save it as checkoutform1.htm. This template can be uploaded as in step 3 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 a data for the concerned products that was inserted in the Category 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: Take special care with setting the directory paths to various images and style sheets that may be used on the page. By default ALL the images will be stored in following directory: /bazaar/username/images/ (where username is YOUR own username that was registered with BazaarBuilder). Only GIF and JPG images are allowed. So if an image named globe.gif is used on the pages then the path would be /bazaar/username/images/globe.gif. Some design tools such as dreamweaver automatically the directory paths so its always worthwhile to double check these before uploading 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;

  • Select "Upload Templates". A list of templates is displayed. Select all the required templates and press "Upload".
  • The online store will now work. Repeat Step 2 until you are satisfied with the result. Images and Style Sheets (css) can be upload in same manner by following steps 3 and 4 within the Template Builder section.

 

Step 4: Uploading Template Images

All images included in the template design are can be uploaded. All images will be placed in directory /bazaar/ /username/images/ on the web server.

  • Select "Upload Images". Select upto three images at a time to upload and press "Upload".
  • Additional images can be uploaded by repeating the process as many times as required.

 

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 to the server by following these simple steps

  • Select "Upload Templates". Select the style sheet and press "Upload".
  • paths to the style sheets are /bazaar/username/

This page uses following Template Variables. Sequence of these variables from top to bottom as below excluding above JavaScript:

  1. <tmpl_var customerid>
  2. <tmpl_var cart_id>
  3. <tmpl_var customerid1>
  4. <tmpl_var cart_id>
  5. <tmpl_if currency>
  6. <tmpl_var currency>
  7. </tmpl_if>
  8. <tmpl_if currency>
  9. <tmpl_var currency>
  10. </tmpl_if>
  11. <tmpl_loop name=cart>
  12. <tmpl_var index>
  13. <tmpl_var option_price>
  14. <tmpl_var product_id>
  15. <tmpl_var product_desc>
  16. <tmpl_if option_name>
  17. <tmpl_var option_name>
  18. </tmpl_if>
  19. <tmpl_var product_price>
  20. <tmpl_if option_cost>
  21. <tmpl_var option_cost>
  22. </tmpl_if>
  23. <tmpl_var quantity>
  24. <tmpl_var product_total>
  25. </tmpl_loop>
  26. <tmpl_var nettotal>
  27. <tmpl_if discount>
  28. <tmpl_var discount>
  29. </tmpl_if>
  30. <tmpl_var shipping>
  31. <tmpl_var vat>
  32. <tmpl_var grand_total>
  33. <tmpl_var cart_id>
  34. <tmpl_var customerid>
  35. <tmpl_var curr_id>
  36. <tmpl_var payment_method>
  37. <tmpl_var bandid>
  38. <tmpl_var dcountry>
  39. <tmpl_if errors>
  40. <tmpl_var errors>
  41. </tmpl_if>
  42. <tmpl_var first_name>
  43. <tmpl_var last_name>
  44. <tmpl_var address1>
  45. <tmpl_var address2>
  46. <tmpl_var city>
  47. <tmpl_var tele>
  48. tmpl_var fax>
  49. <tmpl_if country>
  50. <tmpl_var country>
  51. <tmpl_var country>
  52. <tmpl_else>
  53. </tmpl_if>
  54. <tmpl_var billing_zip>
  55. <tmpl_var recipient_name>
  56. <tmpl_var delivery_address1>
  57. <tmpl_var delivery_address2>
  58. <tmpl_var delivery_city>
  59. <tmpl_var delivery_zip>
  60. <tmpl_var email>
  61. <tmpl_var password>
  62. <tmpl_var confirm_password>
  63. <tmpl_var hint>
  64. <tmpl_var curr_id>
  65. <tmpl_var payment_method>
  66. <tmpl_var customerid>
  67. <tmpl_var cart_id>
  68. <tmpl_var bandid>
  69. <tmpl_var dcountry>

Read this article about how to customise this template.

 

BazaarBuilder e-commerce shopping cart software
Contact Us