<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5.0">
  <name>mod_virtuemart_product</name>
  <creationDate>January 29 2021</creationDate>
  <author>The VirtueMart Development Team</author>
  <authorUrl>https://virtuemart.net</authorUrl>
  <copyright>Copyright (C) 2004 - 2021 Virtuemart Team. All rights reserved.</copyright>
  <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
  <version>3.8.8</version>
  <description>MOD_VIRTUEMART_PRODUCT_DESC</description>
  <files>
    <filename module="mod_virtuemart_product">mod_virtuemart_product.php</filename>
    <filename>helper.php</filename>
    <filename>tmpl/default.php</filename>
    <filename>tmpl/single.php</filename>
    <folder>language</folder>
  </files>
  <config>
    <fields name="params" addfieldpath="/administrator/components/com_virtuemart/fields">
      <fieldset name="basic">
        <field
          name="com_virtuemart,com_virtuemart_config"
          type="vmloadlang"
          />
        <field
          name="layout"
          type="vmlayout"
          label="MOD_VIRTUEMART_PRODUCT_LAYOUT"
          required="true"
          allowGlobal="0"
          extension="com_virtuemart"
          view="mod_virtuemart_product"
          description="MOD_VIRTUEMART_PRODUCT_LAYOUT_DESC"
        />
        <field
          name="product_group"
          type="list"
          default="featured"
          label="MOD_VIRTUEMART_PRODUCT_DISPLAY"
          description="MOD_VIRTUEMART_PRODUCT_DISPLAY_DESC"
          >
          <option value="featured">MOD_VIRTUEMART_PRODUCT_FEATURED_PRODUCTS</option>
          <option value="discontinued">MOD_VIRTUEMART_PRODUCT_DISCONTINUED_PRODUCTS</option>
          <option value="latest">MOD_VIRTUEMART_PRODUCT_LATEST_PRODUCTS</option>
          <option value="random">MOD_VIRTUEMART_PRODUCT_RANDOM_PRODUCTS</option>
          <option value="topten">MOD_VIRTUEMART_PRODUCT_BEST_SALES</option>
          <option value="recent">MOD_VIRTUEMART_PRODUCT_RECENT_PRODUCTS</option>
        </field>
        <field
          name="max_items"
          type="text"
          default="2"
          label="MOD_VIRTUEMART_PRODUCT_MAX_ITEMS"
          description="MOD_VIRTUEMART_PRODUCT_MAX_ITEMS_DESC"
        />
        <field
                name="omitLoaded"
                type="list"
                default=""
                label="COM_VM_ADMIN_CFG_OMIT"
                description="COM_VM_ADMIN_CFG_OMIT_TIP"
                >
          <option value="">JGLOBAL_USE_GLOBAL</option>
          <option value="1">JYES</option>
          <option value="0">JNO</option>
        </field>
        <field
          name="products_per_row"
          type="text"
          default="1"
          label="MOD_VIRTUEMART_PRODUCT_PRODUCTS_PER_ROW"
          description="MOD_VIRTUEMART_PRODUCT_PRODUCTS_PER_ROW_DESC"
        />
        <field
          name="display_style"
          type="list"
          default="list"
          label="MOD_VIRTUEMART_PRODUCT_DISPLAY_STYLE"
          description="MOD_VIRTUEMART_PRODUCT_DISPLAY_STYLE_DESC"
          >
          <option value="list">MOD_VIRTUEMART_PRODUCT_DISPLAY_UL</option>
          <option value="div">MOD_VIRTUEMART_PRODUCT_DISPLAY_DIV</option>
        </field>
        <field
          name="show_price"
          type="list"
          default="1"
          label="MOD_VIRTUEMART_PRODUCT_SHOW_PRICE"
          description="MOD_VIRTUEMART_PRODUCT_SHOW_PRICE_DESC"
          >
          <option value="1">JYES</option>
          <option value="0">JNO</option>
        </field>
        <field
          name="show_addtocart"
          type="list"
          default="1"
          label="MOD_VIRTUEMART_PRODUCT_SHOW_ADDTOCART"
          description="MOD_VIRTUEMART_PRODUCT_SHOW_ADDTOCART_DESC"
          >
          <option value="0">JNO</option>
          <option value="1">JYES</option>
        </field>
        <field
          name="@spacer"
          type="spacer"
          default=""
          label=""
          description=""
        />
        <field
          name="headerText"
          type="text"
          default=""
          label="MOD_VIRTUEMART_PRODUCT_HEADER_TEXT"
          description="MOD_VIRTUEMART_PRODUCT_HEADER_TEXT_DESC"
        />
        <field
          name="footerText"
          type="text"
          default=""
          label="MOD_VIRTUEMART_PRODUCT_FOOTER_TEXT"
          description="MOD_VIRTUEMART_PRODUCT_FOOTER_TEXT_DESC"
        />
        <field
          name="filter_category"
          type="list"
          default="0"
          label="MOD_VIRTUEMART_PRODUCT_FILTER_CATEGORY"
          description="MOD_VIRTUEMART_PRODUCT_FILTER_CATEGORY_DESC"
          >
          <option value="0">JNO</option>
          <option value="1">JYES</option>
        </field>
        <field
          name="virtuemart_category_id"
          type="vmcategories"
          value_field="category_name"
          label="MOD_VIRTUEMART_PRODUCT_CATEGORY_ID"
          description="MOD_VIRTUEMART_PRODUCT_CATEGORY_ID_DESC"
        />
        <field
          name="filter_manufacturer"
          type="list"
          default="0"
          label="MOD_VIRTUEMART_PRODUCT_FILTER_MANUFACTURER"
          description="MOD_VIRTUEMART_PRODUCT_FILTER_MANUFACTURER_DESC"
          >
          <option value="0">JNO</option>
          <option value="1">JYES</option>
        </field>
        <field
          name="virtuemart_manufacturer_id"
          type="manufacturer"
          value_field="manufacturer_name"
          label="MOD_VIRTUEMART_PRODUCT_MANUFACTURER_ID"
          description="MOD_VIRTUEMART_PRODUCT_MANUFACTURER_ID_DESC"
        />
        <field
          name="vmcache"
          type="list"
          default="1"
          label="MOD_VIRTUEMART_PRODUCT_CACHING_LABEL"
          description="MOD_VIRTUEMART_PRODUCT_CACHING_DESC"
          >
          <option value="0">JNO</option>
          <option value="1">JYES</option>
        </field>
        <field
          name="vmcachetime"
          type="text"
          default="300"
          label="MOD_VIRTUEMART_PRODUCT_CACHING_TIME_LABEL"
          description="MOD_VIRTUEMART_PRODUCT_CACHING_TIME_DESC"
        />
      </fieldset>
      <fieldset name="advanced">
        <field
          name="cache"
          type="list"
          default="0"
          label="COM_MODULES_FIELD_CACHING_LABEL"
          description="COM_MODULES_FIELD_CACHING_DESC"
          >
          <option value="0">JNO</option>
          <option value="1">JYES</option>
        </field>
        <field
          name="moduleclass_sfx"
          type="text"
          default=""
          label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
          description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
        />
        <field
          name="class_sfx"
          type="text"
          default=""
          label="Menu Class Suffix"
          description="A suffix to be applied to the css class of the menu items"
        />
      </fieldset>
    </fields>
  </config>
  <updateservers>
    <!-- Note: No spaces or linebreaks allowed between the server tags -->
    <server type="extension" name="VirtueMart3 mod_virtuemart_product Update Site"><![CDATA[http://virtuemart.net/releases/vm3/mod_virtuemart_product_update.xml]]></server>
  </updateservers>
</extension>
