[ic] FW: IC 5.6.3 Shipping Estimate on flypage?

IC ic at tvcables.co.uk
Wed May 7 09:12:56 UTC 2014


> > 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]
> 

Thanks Mike, that worked very well.

Best regards
Andy.




More information about the interchange-users mailing list