MiniVend Akopia Services

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

Re: [mv] cookie again, sorry



On 14 Oct, Karl wrote:
> ******    message to minivend-users from "Karl" <friend@forfree.at>     ******
> 
> thanks for the tip jojo. basicly this works really fine. there is only the
> exception that when the customer gets the first time on the basket page i
> want to add a message that he has to accept cookies if he doesn´t. and now
> with this solution i added:
> 
> <TH COLSPAN="7" BGCOLOR="[dv header_bgcolor]"><FONT SIZE=5 COLOR="[dv
> header_textcolor]">[L]Inhalt Ihres Warenkorbes[/L]</FONT>
> <FONT COLOR="[dv header_textcolor]" SIZE="1">
> <BR>
> [if type=explicit compare="[read-cookie MV_SESSION_ID]"]
> test cookie set
> [else]
> <font color="[dv error_body]" size="2">
> F\xfcr Ihren Einkauf im Shop von [dv site_name] m\xfcssen Sie in Ihrem
> Browser Cookies akzeptieren.
> </font>
> [/else]
> [/if]
> 
> at the first time the basket page is displayed the error message appears in
> any case cookie or non-cookie browser. when reloading the page, or accepting
> the cookie and continuing shopping with coming back to the basket page
> everything works fine.
> 
> looks like minivend sets the cookie after i check it with read-cookie?

I believe this too! Maybe you check it at the first page e.g. the
catalog page (the next page after the index page)?
E.g. the first page has

[if type=explicit compare="[read-cookie MV_SESSION_ID]"] [/if]
                                                       ^^^
                                                       is empty

and after this, maybe this can prevent the problem?

Regards,

Joachim

BTW: 
Do you know about the german minivend mailing list?
We need some people for our public minivend project!


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



Search for: Match: Format: Sort by: