[ic] FW: IC 5.6.3 Shipping Estimate on flypage?
Mike Heins
mikeh at perusion.com
Mon May 5 13:44:26 UTC 2014
Quoting IC (ic at tvcables.co.uk):
>
>
> -----Original Message-----
> From: IC [mailto:ic at tvcables.co.uk]
> Sent: Sunday, May 04, 2014 12:37 PM
> To: 'interchange-users at icdevgroup.org'
> Hi Folks,
>
> I would like to display a shipping estimate on the flypage for an item
> based on its weight, I cannot seem to find a way to use the shipping tag
> to do this, I just want to return the cost for one mode, ie:-
>
> [shipping mode="mymode"]
>
> The problem seems to be there is no way to pass the item weight to it so
> it always returns 0.00, ie like this:-
>
> [shipping mode="mymode" weight="[item-field weight]"]
>
> Any solution for this?
[calc]
$Carts->{tmp} = [
{
code => '[item-code]',
quantity => 1,
},
];
return;
[/calc]
[shipping mode=mymode cart=tmp]
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.253.4194 <mikeh at perusion.com>
I am a great believer in luck, and I find that the harder I work
the more luck I have. -- Thomas Jefferson
More information about the interchange-users
mailing list