[ic] recalculate button on flypage

Kevin Walsh interchange-users@icdevgroup.org
Sat Nov 9 11:04:01 2002


Brent Kelly [brent@zeald.com] wrote:
> 
> Has anyone managed to implement a recalculate button on the flypage 
> (rather than the cart).
> 
> My scenario is I have products with several matrix options (separate 
> widgets).  The combination of option selections determine the price, & 
> therefore the client wants the user to be able to select their options 
> on the flypage & have the price adjust to whatever the valid price is 
> for their combination of selecitons, WITHOUT putting it in the cart.  
> 
> At first it seemed like a simple task, but now after trying to do it, I 
> can't seem to see any way to get it working without the user having to 
> order the item before being able to select their options (without 
> manually coding it all which will prove very time consuming, if at all 
> possible with any level of option flexibility).
> 
> I've tried having a <form action=[process-target]...> and <input 
> type=hidden name=mv_todo action=refresh> etc but as far as i can tell 
> refresh only works on ordered options (i.e. that are already in the 
> cart) which is obviously not much use to me.
> 
You can use multiple carts with Interchange.  The default is called
'main'.  Why not use a temporary cart for this purpose?  You can later
copy the contents of the temporary cart into 'main', if the user
decides to "add the configured item to the cart."

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/