Welcome, Guest ( Customer Panel | Login )




 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

4679 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
0 Item(s)
$0.00