Sorry by why are you needing this ? IN terms of products you either
supply the expiration date or it defaults to 30 days. So you know the
expiration when you insert an item.

On Apr 1, 7:13 am, Genki <srumb...@gmail.com> wrote:
> So far, the only solution I have is to iterate through ALL of the
> item's "baseAttributes" in order to locate the array which holds the
> expiration date, like this:
>
> # extract the expiration_date from the base attributes:
> foreach ($entry->baseAttributes as $object):
>   if ($object->rootElement == 'expiration_date'):
>         $expiration_date = $object->text;
>   endif;
> endforeach;

-- 
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to google-base-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-base-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to