Post by hotwebideas » Thu Sep 15, 2011 10:10 pm

I understand that the cart item data is store in the cart field of the customer table.

Currently, I have this data: a:3:{i:76;i:10;s:47:"83:YToxOntpOjI1MDthOjE6e2k6MDtzOjM6IjExMiI7fX0=";i:10;i:73;i:10;}

Does anyone know a quick way to parse this into products, items, and their options as well as the quantity that are currently in the cart for a logged-in user?

Is there a PHP function or is this an array that I can explode or do print_r on?

I appreciate all the help I can get...

Thanks,
Bruce

New member

Posts

Joined
Wed Jun 29, 2011 11:44 pm

Post by uksitebuilder » Thu Sep 15, 2011 10:24 pm

use php unserialize() function

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: Amazon [Bot] and 14 guests