[ic] Re: Help with overriding item_subtotal
interchange-users@icdevgroup.org
interchange-users@icdevgroup.org
Mon Aug 26 15:56:01 2002
Tim Nelson writes:
>
>> I am trying to override "item_subtotal" in Data.pm using a GlobalSub.
>
> [assign subtotal="666.66"] will do the trick.
>
> Bye
> Racke
>
>
> Racke,
> I should have been more specific. To extend a line I have hacked
> item_subtotal in Data.pm. My customization makes use of additional item
> modifiers to extend the item properly. Unless I am missing something
> [assign] won't do that. Goal here is not to have to hack Data.pm.
Which conditions change the price in subtotal compared to item price ?
Another try is to define a subroutine which calculates the price
depending on item and quantity and then:
CommonAdjust [calc_price]
Ciao
Racke
--
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.