[ic] Overriding [item-subtotal] in Data.pm

Ed LaFrance interchange-users@interchange.redhat.com
Sat Mar 30 12:51:02 2002


At 03:06 PM 3/30/2002 +0100, you wrote:
>"Tim Nelson" <nelsonx@earthlink.com> writes:
>
> > I have custom code in "sub item_subtotal" in Data.pm.
> > I'd rather not have the code in Data.pm in order to keep the
> > Interchange install as pristine as possible.
>
>Why didn't you tell us what custom code you are using ?
>This makes the answer unnecessarily difficult.
>
> >
> > Is there another way to override this function without actually
> > modifying Data.pm ?
>
>You can use a custom pricing routine, but there might be other
>ways, but see above.
>
>Ciao
>         Racke

How about overriding the standard IC routine with a globalsub?:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates06.01

- Ed L.


===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================