[docs] xmldocs - racke modified refs/AutoModifier
docs at icdevgroup.org
docs at icdevgroup.org
Thu Oct 27 15:06:02 EDT 2005
User: racke
Date: 2005-10-27 19:06:02 GMT
Modified: refs AutoModifier
Log:
added missing para tags
Revision Changes Path
1.5 +9 -0 xmldocs/refs/AutoModifier
rev 1.5, prev_rev 1.4
Index: AutoModifier
===================================================================
RCS file: /var/cvs/xmldocs/refs/AutoModifier,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AutoModifier 23 Oct 2005 14:38:21 -0000 1.4
+++ AutoModifier 27 Oct 2005 19:06:02 -0000 1.5
@@ -34,33 +34,42 @@
</para><para>
There are several forms of the specification. The simplest is
a field with no table specification:
+</para>
<programlisting>
AutoModifier heavy
</programlisting>
+<para>
This one has a bit of "magic" associated. To account for matrix-option
products, the various product tables are searched, for both the item
code and the base SKU associated with the item.
</para><para>
You can also rename the attribute to something different than the
field:
+</para>
<programlisting>
AutoModifier heavy=heavy_item
</programlisting>
+<para>
This would place the contents of the "heavy_item" field in the
"heavy" attribute.
</para><para>
If you want to use a non-products table to load the modifier, you
specify it in the usual Interchange colon-separated syntax:
+</para>
<programlisting>
AutoModifier extra:heavy
</programlisting>
+<para>
This would look in the <database>extra</database> table for the
"heavy" field.
</para><para>
You can also specify that another attribute holds the key for
the modifier:
+</para>
+<programlisting>
AutoModifier extra:heavy:category
</programlisting>
+<para>
This would look in the <database>extra</database> table for the
"heavy" field, using the "category" attribute in the item as
the key.
More information about the docs
mailing list