[ic] Why is pricedivide not working?
David Etheredge
David-Etheredge at worldnet.att.net
Tue Dec 18 19:15:51 EST 2007
> Gave it a quick look and it appears PriceDivide cannot be used in this
> way.
>
> In lib/Vend/Ship.pm:
>
> $final /= $Vend::Cfg->{PriceDivide}
> If $o->{PriceDivide} and $Vend::Cfg->{PriceDivide} != 0;
>
> The $o->{PriceDivide} in your case is set to 2 but I expect that you do
> not
> have a $Vend::Cfg->{PriceDivide} ?
> But still if you had the $final would be based on the CFG and not on the
> 'PriceDivide=2' ...
> So PriceDivide is more/less a Boolean yes/no PriceDivide
>
> But can you not do ([ups-query mode ....] / 2) ?
>
Thanks Gert,
Tried that ...
XPD UPS Worldwide Expedited weight 0 0 e Nothing to ship! {'at_least' =>
"5",'adder' => "3.00",'ups' => "0",'ui_ship_type' =>
"UPSE:XPD",'PriceDivide' => "1",}
XPD UPS Worldwide Expedited weight 0 150 f [ups-query zip="[either][value
zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="XPD" weight="@@TOTAL@@"]/2
{'PriceDivide' => "1",}
Does not work.
David
More information about the interchange-users
mailing list