VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 xlogonrequired
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikehenson
Starting Member

20 Posts

Posted - May 28 2006 :  16:42:00  Show Profile  Visit mikehenson's Homepage  Reply with Quote
If xlogonrequired is set to "Yes" after a customer has logged-on the flag of the default currency fails to display.

I realise that this is purely cosmetic but I wonder if other problems occur which have not yet been identified?

support
Administrator

4266 Posts

Posted - May 29 2006 :  22:07:44  Show Profile  Visit support's Homepage  Reply with Quote
Hi there,

Can you please try making this change to shop$db.asp to resolve this problem -

1. Open shop$db.asp in a text editor


2. Locate the following code:

sub showCurrencyFlag
' IF there is no country selected
IF getSess("CID") = "" THEN
GetCurrency
end if

' If the selected CID has a flag then show it
IF getsess("flagimage") <> "" THEN
%><img src="<%=getsess("flagimage")%>" border="0"><%
end if
end sub


3. Change it to:

sub showCurrencyFlag
' IF there is no country selected
IF getSess("CID") = "" THEN
GetCurrency
end if

' If the selected CID has a flag then show it
IF getsess("flagimage") <> "" THEN
%><img src="<%=getsess("flagimage")%>" border="0"><%
'VP-ASP 6.09 - if xlogonrequired is Yes, flag wasn't displaying
else
If getconfig("xlogonrequired")="Yes" and GetSess("Login")<>"" then
GetCurrency
IF getsess("flagimage") <> "" THEN
%><img src="<%=getsess("flagimage")%>" border="0"><%
end if
end if
end if
'VP-ASP 6.09 - end fix
end sub


Please let us know how you go with this and if you have any problems.

Kind regards,
Claire Banks
VP-ASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000