[ic] not working: $Config->{PriceField} = 'other_price';
David Christensen
david at endpoint.com
Thu Dec 17 15:52:41 UTC 2009
On Dec 17, 2009, at 9:37 AM, Gert van der Spoel wrote:
>> -----Original Message-----
>> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
>> users-bounces at icdevgroup.org] On Behalf Of Grant
>> Sent: Thursday, December 17, 2009 5:30 PM
>> To: interchange-users at icdevgroup.org
>> Subject: [ic] not working: $Config->{PriceField} = 'other_price';
>>
>> I'm trying to change prices on the fly like this:
>>
>> [fly-list code=sku1]
>> [perl no_return=1]
>> $Config->{PriceField} = 'other_price';
>> [/perl]
>> [item-price]
>> [/fly-list]
>>
>> But the change isn't being reflected in [item-price]. Does anyone
>> know what could be wrong?
>
> Can only imagine that it has to do with parsing-order ...
> Changing to:
> [perl no_return=1]
> $Config->{PriceField} = 'other_price';
> [/perl]
> [fly-list code=sku1]
> [item-price]
> [/fly-list]
If that doesn't work, might try [item-calc] before the [item-price],
something like:
>> [fly-list code=sku1]
>> [item-calc]
>> $Config->{PriceField} = 'other_price'; return;
>> [/item-calc]
>> [item-price]
>> [/fly-list]
Regards,
David
--
David Christensen
End Point Corporation
david at endpoint.com
More information about the interchange-users
mailing list