<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AcatalogProductsGet</id>
		<title>Functions:catalogProductsGet - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AcatalogProductsGet"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:catalogProductsGet&amp;action=history"/>
		<updated>2026-05-17T10:47:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:catalogProductsGet&amp;diff=521&amp;oldid=prev</id>
		<title>71.163.185.8: added lowFlatPrice</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:catalogProductsGet&amp;diff=521&amp;oldid=prev"/>
				<updated>2009-01-27T13:42:41Z</updated>
		
		<summary type="html">&lt;p&gt;added lowFlatPrice&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:42, 27 January 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [price] =&amp;gt; DECIMAL&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [price] =&amp;gt; DECIMAL&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [lowPrice] =&amp;gt; DECIMAL&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [lowPrice] =&amp;gt; DECIMAL&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [lowFlatPrice] =&amp;gt; DECIMAL&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [saleFromDate] =&amp;gt; DATETIIME&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [saleFromDate] =&amp;gt; DATETIIME&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [saleToDate] =&amp;gt; DATETIME&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; [saleToDate] =&amp;gt; DATETIME&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 127:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 128:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|lowPrice&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|lowPrice&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|DECIMAL - the lowest possible price for this product. Takes into consideration list, regular, sale (if qualifies) and price levels.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|DECIMAL - the lowest possible price for this product. Takes into consideration list, regular, sale (if qualifies) and price levels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|9.88&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|lowFlatPrice&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|DECIMAL - the lowest flat price for this product. Takes into consideration list, regular, sale (if qualifies). DOES NOT take into consideration price levels.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|9.88&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|9.88&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:catalogProductsGet&amp;diff=519&amp;oldid=prev</id>
		<title>71.163.185.8: New page: {{Page Template Functions Shortcuts}} == Description == retrieves product data by catalog number. For use in displaying products in a catalog quick order page template management.   == Syn...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:catalogProductsGet&amp;diff=519&amp;oldid=prev"/>
				<updated>2009-01-26T13:04:33Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{Page Template Functions Shortcuts}} == Description == retrieves product data by catalog number. For use in displaying products in a catalog quick order page template management.   == Syn...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page Template Functions Shortcuts}}&lt;br /&gt;
== Description ==&lt;br /&gt;
retrieves product data by catalog number. For use in displaying products in a catalog quick order page template management. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
$array = eV::catalogProductsGet($catalogNumber[,$fieldList]);&lt;br /&gt;
&lt;br /&gt;
== Paramaters ==&lt;br /&gt;
*$catalogNumber STRING&lt;br /&gt;
:: specifies the catalog number that the product must match in it's catalogNumber field to be returned.&lt;br /&gt;
&lt;br /&gt;
== Return Values ==&lt;br /&gt;
Returns a multidimensional array containing product data. The first dimension is the product index, the second dimension is an associative array of product information for the product index.&lt;br /&gt;
Return array is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
    [0] =&amp;gt; Array&lt;br /&gt;
        (&lt;br /&gt;
            [productId] =&amp;gt; INT&lt;br /&gt;
            [title] =&amp;gt; STR&lt;br /&gt;
            [childDescription] =&amp;gt; STR&lt;br /&gt;
            [imagePath] =&amp;gt; STR&lt;br /&gt;
            [productNumber] =&amp;gt; STR&lt;br /&gt;
            [catalogNumber] =&amp;gt; STR&lt;br /&gt;
            [listPrice] =&amp;gt; DECIMAL&lt;br /&gt;
            [salePrice] =&amp;gt; DECIMAL&lt;br /&gt;
            [price] =&amp;gt; DECIMAL&lt;br /&gt;
            [lowPrice] =&amp;gt; DECIMAL&lt;br /&gt;
            [saleFromDate] =&amp;gt; DATETIIME&lt;br /&gt;
            [saleToDate] =&amp;gt; DATETIME&lt;br /&gt;
            [isTaxable] =&amp;gt; BIT&lt;br /&gt;
            [shippingSurcharge] =&amp;gt; DECIMAL&lt;br /&gt;
            [weight] =&amp;gt; DECIMAL&lt;br /&gt;
            [imageAlt] =&amp;gt; STR&lt;br /&gt;
            [saleOn] =&amp;gt; BIT&lt;br /&gt;
            [customContent] =&amp;gt; STR&lt;br /&gt;
            [priceLevelsData] =&amp;gt; STR&lt;br /&gt;
            [optionGroupsData] =&amp;gt; STR&lt;br /&gt;
            [priceLevelArray] =&amp;gt; Array&lt;br /&gt;
                (&lt;br /&gt;
                    [0] =&amp;gt; Array&lt;br /&gt;
                         (&lt;br /&gt;
                               [quantity] =&amp;gt; INT&lt;br /&gt;
                               [price] =&amp;gt; DECIMAL&lt;br /&gt;
                               [price2] =&amp;gt; DECIMAL&lt;br /&gt;
                               [price3] =&amp;gt; DECIMAL&lt;br /&gt;
                               [price4] =&amp;gt; DECIMAL&lt;br /&gt;
&lt;br /&gt;
                         )&lt;br /&gt;
                    [1] ...&lt;br /&gt;
                )&lt;br /&gt;
            [optionGroupArray] =&amp;gt; Array&lt;br /&gt;
                (&lt;br /&gt;
                    [0] =&amp;gt; Array&lt;br /&gt;
                         (&lt;br /&gt;
                               [groupId] =&amp;gt; INT&lt;br /&gt;
                               [groupName] =&amp;gt; STR&lt;br /&gt;
                               [groupField] =&amp;gt; STR&lt;br /&gt;
                               [optionList] =&amp;gt; STR&lt;br /&gt;
                               [optionArray] =&amp;gt; Array&lt;br /&gt;
                                   (&lt;br /&gt;
                                        [0] =&amp;gt; Array&lt;br /&gt;
                                             (&lt;br /&gt;
                                                  [text] =&amp;gt; STR&lt;br /&gt;
                                                  [price] =&amp;gt; DECIMAL&lt;br /&gt;
                                                  [sku] =&amp;gt; STR&lt;br /&gt;
                                                  [priceOption] =&amp;gt; INT&lt;br /&gt;
                                                  [weight] =&amp;gt; DECIMAL&lt;br /&gt;
                                                  [value] =&amp;gt; STR&lt;br /&gt;
                                             )&lt;br /&gt;
                                   )&lt;br /&gt;
&lt;br /&gt;
                         )&lt;br /&gt;
                    [1] ...&lt;br /&gt;
                )&lt;br /&gt;
&lt;br /&gt;
        )&lt;br /&gt;
    [1] ...          &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Elements from the product associative array are as follows: &lt;br /&gt;
{|border=2&lt;br /&gt;
|-&lt;br /&gt;
|Element&lt;br /&gt;
|Description&lt;br /&gt;
|Example&lt;br /&gt;
|-&lt;br /&gt;
|productId&lt;br /&gt;
|INTEGER - the unique id assigned to the product when created in administration&lt;br /&gt;
|123&lt;br /&gt;
|-&lt;br /&gt;
|title&lt;br /&gt;
|STRING - as set in administration console for this product, typically used as a short title for the product when displaying it in a page and / or when displaying it in the shopping cart&lt;br /&gt;
|Shirt&lt;br /&gt;
|-&lt;br /&gt;
|childDescription&lt;br /&gt;
|STRING - as set in administration for this product, typically used to further describe the product when it is listed in a page.&lt;br /&gt;
|This is an oversized long sleeve shirt&lt;br /&gt;
|-&lt;br /&gt;
|imagePath&lt;br /&gt;
|STRING - path to the image representing the product as set in administration for this product. Typically used in the shopping cart.&lt;br /&gt;
|/folder/folder/image.jpg&lt;br /&gt;
|-&lt;br /&gt;
|productNumber&lt;br /&gt;
|STRING - stock code as assigned in administration for this product. Synonymous with SKU, this number is usually displayed in the page containing the product, the shopping cart, throughout the checkout process and even in order management after the sale.&lt;br /&gt;
|SLSO1&lt;br /&gt;
|-&lt;br /&gt;
|catalogNumber&lt;br /&gt;
|STRING - an alternative number associated with the product. Typically used in print catalogs, this number is usually used for catalog quick order forms and/or a way for the customer to verify they are ordering the same item online as it appears in the catalog. Usually this is the same as the SKU.&lt;br /&gt;
|SHRTLSO&lt;br /&gt;
|-&lt;br /&gt;
|listPrice&lt;br /&gt;
|DECIMAL - the list price as set in administration for the product. Typically used to show the visitor the discount they are receiving. When the visitor purchases they will receive the best price of the following :listPrice, salePrice (if qualifies), price, qualifying price level(s)&lt;br /&gt;
|12.34&lt;br /&gt;
|-&lt;br /&gt;
|salePrice&lt;br /&gt;
|DECIMAL - The sale price as set in administration for the product. Typically used for special promotions or sales for the product, it can be controlled via the saleFromDate and saleToDate fields (use saleOn is a quick test to see if the sale price qualifies)&lt;br /&gt;
|10.45&lt;br /&gt;
|-&lt;br /&gt;
|price&lt;br /&gt;
|DECIMAL - the price as set in administration for the product. This is typically the 'regular price' of the product, what it is typically sold for on the web site. Note, as you are building the page template that contains products you can display this information anyway you wish - as clients typically want their regular price to look like a special price even though it is not.&lt;br /&gt;
|11.22&lt;br /&gt;
|-&lt;br /&gt;
|lowPrice&lt;br /&gt;
|DECIMAL - the lowest possible price for this product. Takes into consideration list, regular, sale (if qualifies) and price levels.&lt;br /&gt;
|9.88&lt;br /&gt;
|-&lt;br /&gt;
|saleFromDate&lt;br /&gt;
|DATETIME - The starting date that the sale price will be available, as set in administration for this product. If this value is empty, than the sale price has no starting date and is considered available until the saleToDate is reached.&lt;br /&gt;
|2008-08-25 00:00:00&lt;br /&gt;
|-&lt;br /&gt;
|saleToDate&lt;br /&gt;
|DATETIME - the ending date that the sale price will be available until, as set in administration for this product. If this value is empty, than the sale price never ends and is considered available so long as the saleFromDate is passed.&lt;br /&gt;
|2008-08-30 00:00:00&lt;br /&gt;
|-&lt;br /&gt;
|isTaxable&lt;br /&gt;
|BIT - Flag set in administration to mark if the product qualifies for taxation rules or not.&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|shippingSurcharge&lt;br /&gt;
|DECIMAL - additional surcharge added to shipping for this product. This shipping surcharge is multiplied by the product quantity&lt;br /&gt;
|11.22&lt;br /&gt;
|-&lt;br /&gt;
|weight&lt;br /&gt;
|DECIMAL - the weight for the product as set in administration. Used to calculate shipping via weighted shipping tables. Stated in Lbs.&lt;br /&gt;
|5.45&lt;br /&gt;
|-&lt;br /&gt;
|imageAlt&lt;br /&gt;
|STRING - image alt value as set in administration. To be applied to the imagePath image with it is displayed.&lt;br /&gt;
|Picture of a shirt&lt;br /&gt;
|-&lt;br /&gt;
|saleOn&lt;br /&gt;
|BIT - an easy flag that set to 1 if a sale price is set and the saleFromDate, saleToDate are met. Set to 0 if not.&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|customContent&lt;br /&gt;
|STRING - depriciated&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|priceLevelArray&lt;br /&gt;
|Array - multidimensional array containing price levels and prices/quantities associated with each level. Prices will be calculated automatically when item(s) are added to the shopping cart, so this information is for display purposes only. See below table for breakdown&lt;br /&gt;
|[Array]&lt;br /&gt;
|-&lt;br /&gt;
|optionGroupArray&lt;br /&gt;
|Array - multidimensional array containing option group information. See below table for breakdown&lt;br /&gt;
|[Array]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Elements from the priceLevelArray associative array are as follows:&lt;br /&gt;
{|border=2&lt;br /&gt;
|-&lt;br /&gt;
|Element&lt;br /&gt;
|Description&lt;br /&gt;
|Example&lt;br /&gt;
|-&lt;br /&gt;
|quantity&lt;br /&gt;
|INTEGER - quantity floor threshold to qualify for this price.&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|price&lt;br /&gt;
|DECIMAL - price (per item) that the product will qualify for if quantity threshold is met&lt;br /&gt;
|9.00&lt;br /&gt;
|-&lt;br /&gt;
|price2&lt;br /&gt;
|DECIMAL - alternate price (per item) that the product will qualify for if quantity threshold is met AND an option is selected that contains the {priceOption:2} flag, as set in administration.&lt;br /&gt;
|8.00&lt;br /&gt;
|-&lt;br /&gt;
|price3&lt;br /&gt;
|DECIMAL - alternate price (per item) that the product will qualify for if quantity threshold is met AND an option is selected that contains the {priceOption:3} flag, as set in administration.&lt;br /&gt;
|7.00&lt;br /&gt;
|-&lt;br /&gt;
|price4&lt;br /&gt;
|DECIMAL - alternate price (per item) that the product will qualify for if quantity threshold is met AND an option is selected that contains the {priceOption:4} flag, as set in administration.&lt;br /&gt;
|6.00&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Elements from the optionGroupArray associative array are as follows:&lt;br /&gt;
{|border=2&lt;br /&gt;
|-&lt;br /&gt;
|Element&lt;br /&gt;
|Description&lt;br /&gt;
|Example&lt;br /&gt;
|-&lt;br /&gt;
|groupId&lt;br /&gt;
|INTEGER - the unique ID assigned to the group when it is created in administration&lt;br /&gt;
|25&lt;br /&gt;
|-&lt;br /&gt;
|groupName&lt;br /&gt;
|STRING - Group name as set in administration for the group. Typically used as a title for the group when presenting within the page.&lt;br /&gt;
|Size&lt;br /&gt;
|-&lt;br /&gt;
|groupField&lt;br /&gt;
|STRING - complete code for select field containing this groups' options. Simply plop into your page template where you want the drop down to appear.&lt;br /&gt;
|&amp;amp;lt;SELECT name=&amp;quot;group52&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;OPTION value=&amp;quot;Small{sku:SM}&amp;quot;&amp;amp;gt;Small&amp;amp;lt;/OPTION&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;OPTION value=&amp;quot;Medium{sku:ME}&amp;quot;&amp;amp;gt;Medium&amp;amp;lt;/OPTION&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;OPTION value=&amp;quot;Large{sku:LG}{price:3.00}&amp;quot;&amp;amp;gt;Large + $3.00&amp;amp;lt;/OPTION&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/SELECT&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|optionArray&lt;br /&gt;
|ARRAY - multidimensional array of option values for this group. See the following table for details&lt;br /&gt;
|[ARRAY]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Elements from the optionArray associative array are as follows:&lt;br /&gt;
{|border=2&lt;br /&gt;
|-&lt;br /&gt;
|Element&lt;br /&gt;
|Description&lt;br /&gt;
|Example&lt;br /&gt;
|-&lt;br /&gt;
|text&lt;br /&gt;
|STRING - The text output of the option&lt;br /&gt;
|large&lt;br /&gt;
|-&lt;br /&gt;
|price&lt;br /&gt;
|DECIMAL - the price offset of the option. This offset will be automatically added to the product cost, if this option is selected, when it is placed in the shopping cart.&lt;br /&gt;
|3.00&lt;br /&gt;
|-&lt;br /&gt;
|sku&lt;br /&gt;
|STRING - if this field has value, it will automatically be appended to the products' SKU (productNumber) when it is added to the shopping cart, if this option is selected.&lt;br /&gt;
|_LG&lt;br /&gt;
|-&lt;br /&gt;
|priceOption&lt;br /&gt;
|INTEGER - 1 through 4. If an option with this set is selected, the appropriate price level alt price (see priceLevelArray above) will be applied to the product price.&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
|weight&lt;br /&gt;
|DECIMAL - weight offset of the option. This offset is automatically added to the product weight if this option is selected, when the item is added to the shopping cart.&lt;br /&gt;
|1.15&lt;br /&gt;
|-&lt;br /&gt;
|value&lt;br /&gt;
|STRING - the full data value of the option including the text, price, weight, priceOption, sku. This is what is used to populate the value attribute of the form field (weather option, radio) when building custom product page forms.&lt;br /&gt;
|Large{sku:_LG}{price:3.00}{weight:1.15}{priceOption:2}&lt;br /&gt;
|}&lt;br /&gt;
== Examples ==&lt;br /&gt;
;Simple example displaying products and add to cart buttons (no options, not price levels)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// set catalog number if not set - should come from previous page submission&lt;br /&gt;
if(!isset($attributes['catalogNumber'])) $attributes['catalogNumber'] = '';&lt;br /&gt;
&lt;br /&gt;
// get the product&lt;br /&gt;
$prodArr = eV::catalogProductsGet($attributes['catalogNumber'],&amp;quot;title,childDescription,productNumber,lowPrice,productId&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// loop thru products&lt;br /&gt;
// usually there will only be on product returned (or zero for no match), but if more than one product match the catalog number, they will be returned.&lt;br /&gt;
foreach($prodArr as $prod) {&lt;br /&gt;
   // output product data&lt;br /&gt;
   echo &amp;quot;&amp;lt;hr&amp;gt;&amp;lt;b&amp;gt;&amp;quot; . $prod['title'] . &amp;quot;&amp;lt;/b&amp;gt; - &amp;quot; . $prod['productNumber'] . &amp;quot; - &amp;quot; . eV::dollarFormat($prod['lowPrice']) . &amp;quot;&amp;lt;br&amp;gt;&amp;quot; . $prod['childDescription'];&lt;br /&gt;
&lt;br /&gt;
   // product order form&lt;br /&gt;
   echo &amp;quot;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;text\&amp;quot; size=5 maxlength=4 name=\&amp;quot;quantity\&amp;quot;&amp;gt; &amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Add To Cart\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   // hidden fields fa,productId required&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;fa\&amp;quot; value=\&amp;quot;order.cartAdd\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;productId\&amp;quot; value=\&amp;quot;&amp;quot; . $prod['productId'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
// end product loop&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Complex example displaying products, price levels and options (with simple option field output)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// set catalog number if not set - should come from previous page submission&lt;br /&gt;
if(!isset($attributes['catalogNumber'])) $attributes['catalogNumber'] = '';&lt;br /&gt;
&lt;br /&gt;
// get the product&lt;br /&gt;
$prodArr = eV::catalogProductsGet($attributes['catalogNumber']);&lt;br /&gt;
&lt;br /&gt;
// loop thru products&lt;br /&gt;
foreach($prodArr as $prod) {&lt;br /&gt;
&lt;br /&gt;
    // output base product data &lt;br /&gt;
    echo &amp;quot;&amp;lt;hr&amp;gt;&amp;lt;b&amp;gt;&amp;quot; . $prod['title'] . &amp;quot;&amp;lt;/b&amp;gt; - &amp;quot; . $prod['productNumber'] . &amp;quot; - as low as: &amp;quot; . eV::dollarFormat($prod['lowPrice']) . &amp;quot; each&amp;lt;br&amp;gt;&amp;quot; . $prod['childDescription'];&lt;br /&gt;
&lt;br /&gt;
   // start price level table&lt;br /&gt;
   echo &amp;quot;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Quantity&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Price Each&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
   // loop thru price levels and output&lt;br /&gt;
   foreach($prod['priceLevelArray'] as $priceLevel) echo &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;quot; . $priceLevel['quantity'] . &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot; . eV::dollarFormat($priceLevel['price']) . &amp;quot; each&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
   // end price level table&lt;br /&gt;
   echo &amp;quot;&amp;lt;/table&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   // start order form&lt;br /&gt;
   echo &amp;quot;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   // loop thru option groups (must be inside of form, as they need to be submitted with form&lt;br /&gt;
   foreach($prod['optionGroupArray'] as $optionGroup) echo '&amp;lt;br&amp;gt;' . $optionGroup['groupName'] . &amp;quot; : &amp;quot; . $optionGroup['groupField'];&lt;br /&gt;
&lt;br /&gt;
   // quantity and submit button&lt;br /&gt;
   echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;text\&amp;quot; size=5 maxlength=4 name=\&amp;quot;quantity\&amp;quot;&amp;gt; &amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Add To Cart\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   // hidden fields fa, productId (required)&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;fa\&amp;quot; value=\&amp;quot;ORDER.cartAdd\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;productId\&amp;quot; value=\&amp;quot;&amp;quot; . $prod['productId'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   // end order form&lt;br /&gt;
   echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
// end product loop&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Complex example displaying products with options (with complex option field output)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// loop thru products&lt;br /&gt;
foreach($prodArr as $prod) {&lt;br /&gt;
&lt;br /&gt;
    // output base product data &lt;br /&gt;
    echo &amp;quot;&amp;lt;hr&amp;gt;&amp;lt;b&amp;gt;&amp;quot; . $prod['title'] . &amp;quot;&amp;lt;/b&amp;gt; - &amp;quot; . $prod['productNumber'] . &amp;quot; - as low as: &amp;quot; . eV::dollarFormat($prod['lowPrice']) . &amp;quot; each&amp;lt;br&amp;gt;&amp;quot; . $prod['childDescription'];&lt;br /&gt;
&lt;br /&gt;
    // start order form&lt;br /&gt;
    echo &amp;quot;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // loop thru option groups (must be inside of form, as they need to be submitted with form&lt;br /&gt;
    foreach($prod['optionGroupArray'] as $optionGroup) {&lt;br /&gt;
        echo '&amp;lt;br&amp;gt;' . $optionGroup['groupName'] . &amp;quot; : &amp;quot;;&lt;br /&gt;
        // start option group select field, be sure to get the name of this field correct&lt;br /&gt;
        echo &amp;quot;&amp;lt;select name=\&amp;quot;group&amp;quot; . $optionGroup['groupId'] . &amp;quot;\&amp;quot;&amp;gt;&lt;br /&gt;
        // loop thru options and output&lt;br /&gt;
&lt;br /&gt;
        foreach($optionGroup['optionArray'] as $option] {&lt;br /&gt;
            // start option field&lt;br /&gt;
            echo &amp;quot;&amp;lt;option value=\&amp;quot;&amp;quot; . $option['value'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot; . $option['text'];&lt;br /&gt;
            // show price increase in field&lt;br /&gt;
            if(!empty($option['price'])) echo &amp;quot; +&amp;quot; . eV::dollarFormat($option['price']);&lt;br /&gt;
            // end option field&lt;br /&gt;
            echo &amp;quot;&amp;lt;/option&amp;gt;&amp;quot;;&lt;br /&gt;
        // end options loop&lt;br /&gt;
        };&lt;br /&gt;
&lt;br /&gt;
        // end option group select field&lt;br /&gt;
        echo &amp;quot;&amp;lt;/select&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // end option group loop&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
   // quantity and submit button&lt;br /&gt;
   echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;text\&amp;quot; size=5 maxlength=4 name=\&amp;quot;quantity\&amp;quot;&amp;gt; &amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Add To Cart\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   // hidden fields fa, productId (required)&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;fa\&amp;quot; value=\&amp;quot;ORDER.cartAdd\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
   echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;productId\&amp;quot; value=\&amp;quot;&amp;quot; . $prod['productId'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   // end order form&lt;br /&gt;
   echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
// end product loop&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	</feed>