MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Using form_mail without any order! SOLVED!!!



On 20 Oct, To: minivend-users@minivend.com wrote:

[with red head]
SHAME ON ME!
[/with red head]

I have solved by myself! This is the solution...

 
> This is my codes in my file post.html:
> 
> ----------------SNIPP---------------------
>     [set checkout_profile]
>     name=required
>     address=required
>     city=required
>     state=state
>     email=required
>     phone_day=phone
>     email=email
>     &set=mv_email [value email]
>     [/set]

Remove the above codes...

> <FORM ACTION="[process-target]" METHOD="POST">

Change this line to

<FORM ACTION="http://__SERVER_NAME____CGI_URL__/postout?[data session id]" METHOD="POST">

> [L]Subject[/L] :
> 	    <SELECT NAME="subject">
>                         <OPTION VALUE="Titel nicht gefunden?"> Titel nicht gefunden?                          
>                         <OPTION VALUE="Kontaktaufnahme!"> Kontaktaufnahme!
>                         <OPTION VALUE="Anfrage!"> Anfrage!
>                         <OPTION VALUE="Bestellung!">  Bestellung!
>                         <OPTION VALUE="VIP (Stammkunde)!"> VIP (Stammkunde)!
>                         <OPTION VALUE=">Lob und Tadel!"> Lob und Tadel!
>                 </SELECT>
> [L]Message[/L] :
> 	<TEXTAREA name="MESSAGE" cols=60 rows=20>[value MESSAGE]</TEXTAREA>
>  
> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">

> <input type="submit" Name=mv_click VALUE="Senden"> 
> [set Senden]
> mv_todo=submit
> mv_doit=refresh
> mv_nextpage=postout
> [/set]

Remove the above codes an add this lines

<input type="submit" Name=mv_todo VALUE="Senden"> 

> </FORM>
> ----------------SNIPP---------------------
> 
> and this is my postout.html with form_mail :
> 
> ----------------SNIPP---------------------


Add this lines

[perl arg="cgi scratch"]
for ($i = 1; $i < 10; $i++)
    {
         $Safe{'scratch'}->{"subject"}  = $Safe{'cgi'}->{"subject"};
         $Safe{'scratch'}->{"MESSAGE"}  = $Safe{'cgi'}->{"MESSAGE"};
     }
"";
[/perl]


> [perl arg=sub interpolate=1] 
> 	form_mail(
>             q{__ORDERS_TO__},
>             q{[value subject]!},

Change the above line to

             q{[scratch subject]!},

>             q{[value name]  <[value email]>},
>             <<'EndOfMail')
> 
>      [L]EMAIL DATE[/L]: [calc]localtime[/calc]
> 
> anystuff......
> 
> Betreff   : [value subject]

here again...

 Betreff   : [scratch subject]

> 
> Bemerkung :
> -----------------------------------------------------------------------------------
> 
> [value MESSAGE]

Here again

 [scratch MESSAGE]

> 
> -----------------------------------------------------------------------------------
> 
> EndOfMail
> [/perl]
> ----------------SNIPP---------------------


Sorry!

Reagrds,

Joachim


-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen



Search for: Match: Format: Sort by: