Frequently Asked Questions

• FAQ's Main Page • Installation Issues • 2.0 FAQ's • SQL FAQ's • PRO 1.5 FAQ's • Advanced FAQ's • Plug-in FAQ's • FAQ's for 1.2 •

SalesCart Advanced Problems

This FAQ is being updated on a regular basis, come back and check for new issues, and tips.

This FAQ contains answers to advanced questions that pertain to questions regarding advanced customization.

Note: sometimes error message wording may not be 'exactly' the same as that listed below.

Common Problems

  1. I would like to be able to run SalesCart PRO and have my currency and date values display in Dutch Format. So it looks like fl. 25,- and 19-10-1999.

  2. I wish to change from using a dsn-less connection to a "hardcoded" dsn.

  3. How do I keep the customer from checking out immediately each time they add an item to their cart.  This is a typo in the SalesCart documentation section that deals with this.  See the changes below.

  4. Can I update the Access97 database to Access2000 or greater.

  5. How do I change or add payment options?

  6. How do I Format Database Results from a FrontPage Database Results query as Currency?

  7. My web site is published on to the server and I keep getting this error:  
    Active-X can't create Object.

  8. How do I secure my shopping cart web?

  9. My email confirmation and customer email receipts seem to be delayed.

  10. I get this order at the confirmation page? Does any one know what this is. Mike

    Microsoft VBScript runtime error '800a000d'
    Type mismatch: 'FormatCurrency'
    /cgi-bin/confirm2.asp, line 137

     

Answers


I would like to be able to run SalesCart PRO and have my currency and date values display in Dutch Format. So it looks like fl. 25,- and 19-10-1999.

SalesCart can be localized by editing the global.asa and adding the localization code for your country.  For example, for Dutch, edit the global.asa file and add the following within the begin session and end session identifiers.

Session.LCID=1043

Back to Top

I wish to change from using a dsn-less connection to a "hardcoded" dsn.

A.  Edit the global.asa file and change the following line then reboot your computer.

Before:  Session("ConnectionString") = "Driver={Microsoft Access driver (*.mdb)};dbq=c:\webshare\wwwroot\protest\fpdb\shop.mdb;"

to

After: Session("ConnectionString") = "DSN=nameofdsn"

Back to Top

How do I keep the customer from checking out immediately each time they add an item to their cart.  This is a typo in the SalesCart documentation section that deals with this.  See the changes below.

Postponing Customer Checkout

  • This issue is documented in the manual, but the documented method can cause problems with newer versions of Netscape because Netscape cannot understand .asp pages.

  • By default, SalesCart PRO automatically takes customers to the checkout process after a single item is ordered. However, you may want to keep your customers on the same page without having them start the checkout process. To configure SalesCart PRO to remain in the current product page, follow these steps:

    1. In FrontPage Explorer File>>Open Web Folder and type in the address of your Web site.
    2. Click OK.
    3. Locate the file named shop1.asp in the cgi-bin folder.
    4. Double-click on the file to open it, then click html mode to make your changes. Locate the 111th line from the top:
    5. <meta HTTP-EQUIV="Refresh" CONTENT="0; URL=view1.asp">

    6. This line tells SalesCart PRO where to go next. Highlight the text.  Replace this entire line with the following.

<script language="javascript"><!-- begin script
history.back(1)
// end script --></script>

    1. You may change this line back at a later time if you wish to have SalesCart PRO go directly to the checkout phase. When done the file should look this way.

<script language="javascript"><!-- begin script
history.back(1)
// end script --></script>

Back to Top

Can I update the Access97 database to Access2000 or greater.

Yes.

Back to Top

How do I change or add payment options?

Payment options are easily changed WITHOUT going into the database. The steps to add or change payment options are as follows:

1. Open the 'payment2.asp' file in the 'cgi-bin' directory.

2. To modify a payment option; right click on the radio button for the option and select 'form field properties'. Change the Value to 'Diners Club' or whatever. Now when an order is placed, and you view the order, the payment method will indicate 'Diners Club' or whatever.

3. To add a new payment simply copy an existing radio button and follow the instructions in line 2 to modify its value to reflect the new payment option. You can edit the .htx form as required to add or delete options, add graphics, change the table widths, columns etc. as necessary.

Back to Top

How do I Format Database Results from a FrontPage Database Results query as Currency?

Microsoft has documented this in a so-called Q-article #Q250465.  Go here.

http://search.support.microsoft.com/kb/c.asp?SD=SO&LN=EN-US and enter that Q Article Number A250465.

Back to Top

My web site is published on to the server and I keep getting this error:  
Active-X can't create Object.

This is usually an indication that the server you are running the shopping cart on and this can be a local server at http://localhost as well is running MDAC 2.5.  There is an "undocumented" bug with Microsoft MDAC 2.5; however, this bug only occurs if you do a so-called "clean" install of MDAC 2.5.  A "dirty-install" works fine.

Solution:  Download and install MDAC 2.1 first and then download and reinstall MDAC 2.5.  You can obtain MDAC 2.1.2.4202.3 (GA) at http://www.microsoft.com/data generally or http://www.microsoft.com/data/download_21242023.htm specifically.

Back to Top

How do I secure my shopping cart web?

This is well documented in the online technical manual and online help files that accompany the product.  Search for "Adding SSL" in the manual.

Back to Top

My email confirmation and customer email receipts seem to be delayed.

The Microsoft SMTP Service queues email and then delivers the email all at once.  If the email is delayed for more than 1-2 hours, there is probably some kind of problem delivering the email.  Troubleshooting email is not an easy thing because there so many layers of problems.  Your ISP can use Telnet along with troubleshooting messages that the SMTP service creates to help diagnose and solve this sort of problem.

Back to Top

I get this order at the confirmation page? Does any one know what this is. Mike

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'FormatCurrency'
/cgi-bin/confirm2.asp, line 137

This error occurs because at least one of your shipping cost options is not a number or has special characters in it.  You should not put "$" or "," or any other special characters for shipping costs.  Only a real number can go in this field.

Back to Top


ComCity® and SalesCart™ are trademarks of ComCity LLC. All other products mentioned are registered trademarks or trademarks of their respective companies.
Copyright © 1995-2007 ComCity LLC. All rights reserved.
  Last modified: Friday September 21, 2007