Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 22, 2009
  1. David Christensen

    Standardize encoding in dist/standard/products/locale.txt to utf8

    David Christensen authored machack666 committed
Commits on Mar 21, 2008
  1. Jon Jensen

    Add new synonym [if var ...] = [if variable ...] to match the [var] tag.

    jonjensen authored
    The invalid [if var ...] form was quietly accepted but always evaluated
    to true, so this synonym is an important usability enhancement for any
    expected [if var ...] that would evaluate to true during testing but
    misleadingly appears to work.
    Includes a unit test, and also tests for [if variable ...] and
    [if global ...].
    Thanks to Dan Collis-Puro <> for the idea.
Commits on Feb 2, 2007
  1. Jon Jensen

    Fix typo in variable name.

    jonjensen authored
Commits on Nov 29, 2006
  1. Stefan Hornburg (Racke)
Commits on Nov 24, 2006
  1. Stefan Hornburg (Racke)
  2. Stefan Hornburg (Racke)

    get rid of configuration specific to a single developer

    racke authored
    add .cvsignore files so it can be run from CVS
Commits on Apr 11, 2005
  1. perusionmike
Commits on Jan 25, 2005
  1. Jon Jensen

    New discount-space functionality by Ethan Rowe <>.

    jonjensen authored
    His notes follow.
    Implements discount namespaces, in a manner consistent with the
    values-space functionality. The [discount-space] usertag can be used
    to change the current discount namespace, causing all subsequent
    discount-related tags and calculations to operate from that particular
    namespace. Usage:
    [discount-space name=<space>]
    Changes the current discount namespace to <space>.
    [discount-space current=1]
    Returns the name of the current namespace.
    [discount-space name=<space> clear=1]
    Clears all discount information from the specified namespace.
    The discount space is initialized, per page process, in a manner
    similar to values-space; if a CGI value exists under the variable name
    "mv_discount_space", the discount space will be initialized to that
    value. Furthermore, a catalog-level variable MV_DISCOUNT_SPACE can be
    used to specify the name of an additional CGI variable to check in this
    manner. When MV_DISCOUNT_SPACE is defined, it has higher precedence than
    mv_discount_space for determining the initial namespace.
    The discount-space logic is designed to integrate well with the cart. The
    default discount spacename is "main". Setting the catalog variable
    MV_DISCOUNT_SPACE to 'mv_cartname' allows the current discount namespace
    to match the current cart when the current cart is set via CGI variables.
    The discount namespaces are stored in the session at
    $Vend::Session->{discount_space}{<spacename>}. Note that, for backwards
    compatibility, the default space is always at $Vend::Session->{discount},
    and that this will always serve as the master for he "main"
    namespace such that $Vend::Session->{discount_space}{main}
    = $Vend::Session->{discount}. Reassigning the hashref
    for $Vend::Session->{discount_space}{<spacename>}
    or $Vend::Session->{discount} can take Interchange internal
    variables out of sync, and is thus discouraged (just as performing
    a $Session->{scratch} = {} mid-page could cause odd behavior. Use
    [discount-space name=<space> clear=1] instead, or assign to the
    dereferenced hash (%{$Vend::Session->{discount}} = ()).
    For further support, a discount_space parameter has been added to each
    of the following tags; these tags all can be affected by discounts,
    either in the calculation of a discount, a taxable sum, or an item
    price (passing a discount namespace to these tags via the discount_space
    parameter will only affect the current discount space within the context
    of the tag itself):
    [fly-tax] (Also added named cart support to this tag in the process)
    [item-list] (namespace specified will be used throughout the tag and its subtags)
    Set the current discount space to the default (which is 'main')
    [discount-space main]
    Set the current discount space to space "alt_discount"
    [discount name=alt_discount]
    Clear discount namespace "garbage"
    [discount-space name=garbage clear=1]
    Show the current discount namespace
    [discount-space current=1]
    Use the discount namespace "other" for this loop through the cart
    [item-list discount_space=other]
  2. Jon Jensen

    Make test catalog's products2 table work with databases other than My…

    jonjensen authored
    which truncates trailing spaces in default CHAR fields.
Commits on Apr 11, 2004
  1. perusionmike
  2. perusionmike
Commits on Jul 6, 2003
  1. perusionmike

    * Add Vend::SQL_Parser module, eliminating need for SQL::Statement.

    perusionmike authored
    * Improved tolerance for re-routing queries with table-only option.
    * Parses more SQL -- now can use IN and BETWEEN and translate those
      to IC search specs.
    * Handles complex parenthisized queries properly.
    * Reads LIMIT N and translates to mv_matchlimit.
    * Tests added to regression tests to check parser.
Commits on Apr 5, 2003
  1. perusionmike
Commits on Jan 23, 2003
  1. Jon Jensen

    * Support sparsely-populated quantity pricing tables.

    jonjensen authored
    * Fix bug in field name ranges in CommonAdjust where q99..q101 was handled
      as a Perl alphanumeric range q99, r00, r01, r02, etc. instead of
      q99, q100, q101.
    * Add regression test for these changes.
Commits on Jan 20, 2003
  1. perusionmike
  2. Jon Jensen
  3. Jon Jensen
Commits on Sep 30, 2000
  1. perusionmike

    Added regression test directory with 127 tests to begin with.

    perusionmike authored
    Must have mysql installed, "test" database must be writable.
Something went wrong with that request. Please try again.