[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Overriding [item-subtotal] in Data.pm
On Sat, Mar 30, 2002 at 03:06:34PM +0100, Stefan Hornburg (Racke) 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 ?
Just a guess, maybe something like this might work in a perl module
of your own.
package Vend::Interpolate;
*read_shipping=\&MY::Patch::read_shipping;
>
> You can use a custom pricing routine, but there might be other
> ways, but see above.
>
> Ciao
> Racke
>
> --
> Think of it !
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux