set

### Index Up << >>

## set

CALL INFORMATION
  Parameters: name

  Positional parameters in same order.

  Pass attribute hash as last to subroutine: no

  Must pass named parameter interpolate=1 to cause interpolation.

  This is a container tag, i.e. [set] FOO [/set]. Nesting: NO

  Invalidates cache: YES

  Called Routine:

  ASP/perl tag calls:

          $Tag->set(
              {
               name => VALUE,
              },
              BODY
          )

       OR

          $Tag->set($name, $BODY);

DESCRIPTION
  Sets a scratch variable to value.

  Most of the mv_* variables that are used for search and order conditionals are in another namespace -- they can be set by means of hidden fields in a form.

  You can set an order profile with:

        [set checkout]
        name=required
        address=required
        [/set]
        <INPUT TYPE=hidden NAME=mv_order_profile VALUE="checkout">

  A search profile would be set with:

        [set substring_case]
        mv_substring_match=yes
        mv_case=yes
        [/set]
        <INPUT TYPE=hidden NAME=mv_profile VALUE="substring_case">

  Any of these profile values can be set in the OrderProfile files as well.

### Index Up << >>