[ic] Cookie Cart Content

Raymond Cheng rayonnet at hotmail.com
Tue Oct 13 00:45:47 UTC 2009


 <6174833B-4237-432E-BE05-180633F2E24E at endpoint.com>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0




----------------------------------------
> From: carl at endpoint.com
> To: interchange-users at icdevgroup.org
> Date: Sat=2C 10 Oct 2009 22:26:25 -0400
> Subject: Re: [ic] Cookie Cart Content
>
> On Oct 10=2C 2009=2C at 9:57 PM=2C Raymond Cheng wrote:
>> Hi=2C All:
>>
>> How can i use cookies to retain cart contents. I want interchange to
>> retain items in cart for a few days after browser closes. Thank you.
>>
>> Regards
>> Raymond
>
>
> Raymond=2C
>
> You can probably use the [set-cookie] tag (http://www.interchange.rtfm.in=
fo/icdocs/tags/set-cookie.html
> )=2C and use ITML to compose the value of the cookie.
>
> [if items]
> [set cookieval][/set]
> [item-list][seti cookieval][scratch cookieval]|[item-code]=3B[item-
> quantity][/seti][/item-list]
> [set-cookie name=3D"cart" value=3D"[scratch cookieval]" expire=3D"[time
> adjust=3D"+168" gmt=3D1]%a=2C %m-%b-%Y %H:%M:%S GMT[/time]"]
> [/if]
>
> Now the tricky part will be restoring the cart from the cookie when
> your customer returns.
>
> Regards=2C
> Carl
> . . . . . . . . . . . . . . . . . .
> Carl Bailey
> End Point Corp.
> t: 919-323-8025
> . . . . . . . . . . . . . . . . . .
>
>
>
>

I think cookie basket contents suppose be one of the features of interchang=
e without any tweaks. most ecommerce websites allow visitors close browsers=
 and have basket contents saved with cookies.
=20
=20
Raymond  		 	   		  =0A=
_________________________________________________________________=0A=
Hotmail: Trusted email with Microsoft=92s powerful SPAM protection.=0A=
http://clk.atdmt.com/GBL/go/177141664/direct/01/=



More information about the interchange-users mailing list