[ic] Recalculate

Brent Kelly interchange-users@icdevgroup.org
Wed Jul 31 16:59:03 2002


If by 'recalculate' you're just wanting the cart to reload and take note =
of=20
any changes in quantity etc, then I just put the cart into a form:

    <form action=3D"[process-target secure=3D1]" method=3D"POST" name=3D"=
basket">
        <input type=3D"hidden" name=3D"mv_session_id" value=3D"[data sess=
ion id]">
        <input type=3D"hidden" name=3D"mv_doit" value=3D"refresh">
        <input type=3D"hidden" name=3D"mv_orderpage" value=3D"ord/basket"=
>
         ...... cart goes here ......

    </form>

then for a recalculate link just have:

<a href=3D"javascript: document.basket.submit();">Recalculate</a>


Hope that helps.

Brent Kelly,
Zeald Ltd.

On Wed, 31 Jul 2002 13:52, Jim Webster wrote:
> Hi,
>
> Can someone please tell me how I can make a text link that will recalcu=
late
> the contents of the cart on ord/basket.  Thanks.
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users