• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Serialize shopping cart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serialize shopping cart


  • Subject: Re: Serialize shopping cart
  • From: Gino Pacitti via Webobjects-dev <email@hidden>
  • Date: Tue, 30 Jul 2019 09:24:46 +0200

Ah good idea.

I chose to go the persistent store route and have created entries per item with
an id of visitor.

But thanks for your perspective.

gino

> On 30 Jul 2019, at 08:44, Jérémy DE ROYER <email@hidden> wrote:
>
> Hi Gino,
>
> We do store shopping carts using serialization/json/xml to files and restore
> them when the user is back. We just need an item id and quantity.
>
> We store it :
>
> a) in a file using a uuid (saved in a cookie for non logged in users)
>
> b) in a file using the customer profile for logged in users
>
> That way, it’s easy to set up persistence duration by deleting old files.
>
> Jérémy
>
>> Le 25 juil. 2019 à 19:34, Jesse Tayler via Webobjects-dev
>> <email@hidden <mailto:email@hidden>> a
>> écrit :
>>
>> I would definitely suggest making the cart entries part of your persistent
>> model and not use session variables for that.
>>
>>> On Jul 25, 2019, at 1:32 PM, Gino Pacitti via Webobjects-dev
>>> <email@hidden <mailto:email@hidden>>
>>> wrote:
>>>
>>> Hi all
>>> Anyone had any experience with serialising either a shopping cart or
>>> perhaps a session to persist for 24 hrs.
>>>
>>> I’m trying to create an abandoned cart process that will take someone back
>>> to the checkout and continue even if session has expired...
>>>
>>> Gino
>>>
>>> Follow: https://instagram.com/mybuddiadventure
>>> <https://instagram.com/mybuddiadventure>
>>> Like: https://facebook.com/mybuddi.co <https://facebook.com/mybuddi.co>
>>> Learn: https://mybuddi.co/about <https://mybuddi.co/about>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden <mailto:email@hidden>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>> <mailto:email@hidden>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Serialize shopping cart (From: Gino Pacitti via Webobjects-dev <email@hidden>)
 >Re: Serialize shopping cart (From: Jesse Tayler via Webobjects-dev <email@hidden>)
 >Re: Serialize shopping cart (From: Jérémy DE ROYER via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Serialize shopping cart
  • Previous by thread: Re: Serialize shopping cart
  • Next by thread: Null Delegate
  • Index(es):
    • Date
    • Thread