Skip to content

Commit

Permalink
Moved newly generated PDF and POD files from docs into interchange re…
Browse files Browse the repository at this point in the history
…pository.
  • Loading branch information
jonjensen committed Nov 23, 2000
1 parent 16dead8 commit 5a3a368
Show file tree
Hide file tree
Showing 12 changed files with 886 additions and 868 deletions.
Binary file modified pdf/icbackoffice.pdf
Binary file not shown.
Binary file modified pdf/icconfig.pdf
Binary file not shown.
Binary file modified pdf/icdatabase.pdf
Binary file not shown.
Binary file modified pdf/icinstall.pdf
Binary file not shown.
Binary file modified pdf/icintro.pdf
Binary file not shown.
Binary file modified pdf/ictemplates.pdf
Binary file not shown.
72 changes: 36 additions & 36 deletions pod/icbackoffice.pod
Expand Up @@ -2,7 +2,7 @@

Interchange Back-Office

=head1 AKOPIA INTERCHANGE TM BACK-OFFICE
=head1 AKOPIA INTERCHANGE(TM) BACK-OFFICE

Akopia Interchange is the industry's most widely distributed and
implemented open source e-commerce platform. This document describes
Expand Down Expand Up @@ -33,8 +33,8 @@ entry of orders with an external program.
=head2 Database Tracking

Once the order report is processed, the order is complete. Therefore,
it is the ideal place to put Interchange TM tags that make order
entries in database tables.
it is the ideal place to put Interchange tags that make order entries
in database tables.

A good model is to place a single record in a database summarizing the
order and a series of lines that correspond to each line item in the
Expand All @@ -56,29 +56,29 @@ tracking number, address, customer number, or other information.
The above is accomplished with Interchange's C<[import ....]> tag
using the convenient C<NOTES> format:

lbracketset import_status]
lbracketimport table=orders type=LINE continue=NOTES]
[set import_status]
[import table=orders type=LINE continue=NOTES]

code: lbracketvalue mv_order_number]
order_number: lbracketvalue mv_order_number]
quantity: lbracketnitems]
price: lbracketsubtotal noformat=1]
shipping: lbracketshipping noformat=1]
tax: lbracketsalestax noformat=1]
code: [value mv_order_number]
order_number: [value mv_order_number]
quantity: [nitems]
price: [subtotal noformat=1]
shipping: [shipping noformat=1]
tax: [salestax noformat=1]

lbracket/import]
[/import]

lbracketitem-list]
lbracketimport table=orders type=LINE continue=NOTES]
[item-list]
[import table=orders type=LINE continue=NOTES]

code: lbracketvalue mv_order_number]-lbracketitem-increment]
order_number: lbracketvalue mv_order_number]
quantity: lbracketitem-quantity]
price: lbracketitem-price noformat=1]
shipping: lbracketshipping-description]
tax: lbracketif-item-field nontaxable]Nolbracketelse]Yeslbracket/else]lbracket/if]
code: [value mv_order_number]-[item-increment]
order_number: [value mv_order_number]
quantity: [item-quantity]
price: [item-price noformat=1]
shipping: [shipping-description]
tax: [if-item-field nontaxable]No[else]Yes[/else][/if]

lbracket/import]lbracket/item-list]
[/import][/item-list]

=head2 Custom Order Routing

Expand Down Expand Up @@ -281,10 +281,10 @@ placed in the basket, or have a database field called C<goods_type>
set to the appropriate value. The following example uses a Perl
routine on the final order form:

lbracketperl arg=carts interpolate=1]
[perl arg=carts interpolate=1]
my $string = <<'EOF';
lbracketitem-list]lbracketitem-code] lbracketitem-field goods_type]
lbracket/item-list]
[item-list][item-code] [item-field goods_type]
[/item-list]
EOF
my @items;
my %route;
Expand All @@ -299,7 +299,7 @@ EOF
$item->{mv_order_route} = $route{$item->{'code'}} || undef;
}
return '';
lbracket/perl]
[/perl]

Now the individual items are labeled with a C<mv_order_route> value
which causes their inclusion in the appropriate order routing.
Expand Down Expand Up @@ -450,7 +450,7 @@ directory by default. The directory must exist. The source ASCII files
should be present in that directory, and the DBM files are created
there. Existing files will be overwritten.

offline -c catalog lbracket-d offline_dir]
offline -c catalog [-d offline_dir]

Do a C<perldoc VENDROOT/bin/offline> for full documentation.

Expand Down Expand Up @@ -762,17 +762,17 @@ having the following files:

The contents of C<.access_gate>:

foo.html: lbracketif session username eq 'flycat']
foo.html: [if session username eq 'flycat']

=back
Yes
lbracket/if]
bar: lbracketif session username eq 'flycat']
lbracketor scratch allow_bar]
[/if]
bar: [if session username eq 'flycat']
[or scratch allow_bar]
Yes
lbracket/if]
[/if]
baz: yes
*: lbracketdata session logged_in]
*: [data session logged_in]

=over 4

Expand Down Expand Up @@ -871,13 +871,13 @@ capability is not available.
This tag takes a raw email message, *including headers*, and
users the SendmailProgram with -t option. Example:

lbracketemail-raw]
[email-raw]
From: foo@bar.com
To: bar@foo.com
Subject: baz

The text of the message.
lbracket/email-raw]
[/email-raw]

The headers must be at the beginning of the line, and the header
must have a valid To: or it will not be delivered.
Expand Down Expand Up @@ -911,9 +911,9 @@ capability is not available.

=head2 loc

# lbracketloc locale*] message lbracket/loc]
# [loc locale*] message [/loc]
#
# This tag is the equivalent of lbracketL] ... lbracket/L] localization, except
# This tag is the equivalent of [L] ... [/L] localization, except
# it works with contained tags
#
UserTag loc hasEndTag 1
Expand Down

0 comments on commit 5a3a368

Please sign in to comment.