getCartOpen SiteCatalyst Plug-in

What the getCartOpen plug-in does is looks for the very first instance of the scAdd event being set and adds the scOpen event at that same time. Each time after that the scAdd event is set, the scOpen event will not be set again.

Plug-in Prototype

The plug-in is used with the call."s_scOpen");


 * Plugin: getCartOpen
s.getCartOpen=new Function("c","" 
+"var s=this,t=new Date,'',i=0;t.setTime(t.getTim"
+"else if(s.c_w(c,1,0)){i=1}}}if(i){e=e+',scOpen'}return e");