[ic] Re: Basic shipping help

Peter peter at pajamian.dhs.org
Wed Mar 21 21:10:25 EST 2007


On 03/21/2007 05:47 PM, Grant wrote:
>> >> Hello, I've been using a single line in shipping.asc for a long time.
>> >> Now I'm trying to set up a very simple quantity-based system and I
>> >> can't get it to work.  I have the following:
>> >>
>> >> shipping.asc:
>> >>
>> >> standard        Standard        quantity        1       2       4.99
>> >> discounted    Discounted    quantity        3       9999    1.99
>> >>
>> >> country.txt:
>> >>
>> >> code    region  selector        shipmodes       name
>> >> US      North America   US      standard discounted   United States
>> >>
>> >> catalog.cfg:
>> >>
>> >> ValuesDefault country US
>> >>
>> >> It won't switch to the discounted shipmode after three items have been
>> >> added to the cart.  Is there anything I'm missing here?  Also
>> >> [shipping possible=1] doesn't return anything.
>> >
>> > Does the above look correct to anyone?
>>
>> Nope, actually it looks like you've replaced some tabs with spaces in
>> the above files.  These are *TAB DELIMITED* files.
> 
> Thanks for your response, but I'm sure thats an artifact of the
> copy/paste.  I've been tab delimiting in IC for 5 years.  Is a row of
> field names perhaps required for shipping.asc?  I tried adding a
> no_state field to the country table and set it to 1 for US with no
> luck.

I tend to prefer the multiline format anyways, easier to read and work
with.  See
<http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icdatabase_41.html>
and specifically
<http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icdatabase_42.html>

Peter



More information about the interchange-users mailing list