[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] 1: Limit subroutine creation, 2: Own payment method
On 12 Oct, Michael Raps wrote:
> After setting up and configuring interchange (btw: great shop!) I
> am not able to place an order. I get the message "There were
> errors in your last submission. They are shown in RED below." But
> no field is shown in red. Instead the log sais:
>
> /cgi-bin/xxxshop/process.html search error: Limit subroutine
> creation: Can't use an undefined value as an ARRAY reference at
> /usr/lib/interchange/lib/Vend/Search.pm line 675.
Insert this code into your checkout page
----snipp---------
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
<P>
[L]There were errors in your last submission[/L].
[L]They are shown in <FONT COLOR="RED">this color</FONT> below[/L].
<P>
[seti dummyerror][error all=1 show_var=1 keep=1 show_error=1][/seti]
[/if]
The error was: [scratch dummyerror]
----snipp---------
to see the error.
> The cataloge is a copy from "construct".
>
> What did I do (wrong)?
>
> Btw, I have another question:
> I want to setup an own payment method (German one) with no
> special application or function behind. Only a kind of text info.
> (For germans: Nachname). Has anyone done something like that and
> can give me a short instruction?
>
> Thanks 4 your reply!
>
> Michael
Do you mean, that this codes like
<TR>
<TD ALIGN="RIGHT" NOWRAP>[error name=fname std_label="[L]First Name[/L]" required=1]</TD>
<TD><INPUT TYPE=text NAME=fname VALUE="[value fname]" size=20></TD>
</TR>
<TR>
<TD ALIGN="RIGHT" NOWRAP>[error name=lname std_label="[L]Last Name[/L]" required=1]</TD>
<TD><INPUT TYPE=text NAME=lname VALUE="[value lname]" size=20></TD>
</TR>
in your checkout page
Name: [value fname] [value lname]
in your report file
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Name</font> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">[value fname] [value lname]</font>
in your receipt page
has to print out "Nachname" instead of "Last Name"?
Edit the file "locale.txt" and insert a line like
----snipp-----
code<TAB> en_US<TAB> de_DE<TAB> fr_FR
January<TAB> <TAB> Januar<TAB> Janvier
..
..
..
Last Name<TAB> <TAB> Nachname<TAB> xyz nome????
----snipp-----
Donīt forget to switch the locale (See the doc about "Localization").
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users