[ic] carts UNKNOWN?

Josh Lavin josh at perusion.com
Thu May 15 19:49:45 UTC 2014


Quoting IC (ic at tvcables.co.uk):
> 
> IC 5.6.3, I keep seeing an undeletable line in the cart when there are
> no items, it shows price 0.00, quantity 1 and cannot be removed, I
> think it is something to do with 'carts' =UNKNOWN, in the session I
> see this:-
> 
> 'carts' ={
>     'UNKNOWN' =[
>       {
>         'mv_ib' =undef,
>         'quantity' ='1',
>         'mv_ip' ='0'
>       }
>     ],
>     'main' =[]
> 
> This also stops the [if items] tag from working correctly as it seems
> to think there is an item, I presume in cart UNKNOWN.

I have seen this before... looking for "UKNOWN" in the Interchange
source code seems to indicate that it occurs when IC can't determine the
cart name.

I can't remember what I did to fix it in my case, but I would check all
your catalog code or usertags that affect the cart, to see if you might
be altering the cart in a way that fails sometimes (perhaps when there
are no items, etc).

-- 
Josh Lavin
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
... ask me about job opportunities ...



More information about the interchange-users mailing list