[ic] Patch to differentiate between free shipping and unavailable shipping methods

Mark Lipscombe markl at gasupnow.com
Sat May 16 23:43:41 UTC 2009


Here is a small patch which lets Vend::Ship::shipping return undefined 
when a cost cannot be calculated for shipping.  This allows ITL code 
like this:

[either][shipping][or]Not enough info[/either]

This allows you to have free shipping options, but not show them if a 
shipping calculation cannot be done (for example if that shipping method 
isn't available to that location).

It applies cleanly against CVS HEAD, and also applies with fuzz to 5.4 
and 5.6 versions of IC.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ic-shippm-undefined-shipcost.patch
Url: http://www.icdevgroup.org/pipermail/interchange-users/attachments/20090517/3691fde0/attachment.txt 

More information about the interchange-users mailing list