©2006-2017 IAAI Software

Contact Us Privacy Policy

Support Plus

Additional Installation Steps

Enabling Search Engine Friendly URLs

These instructions apply only to the Apache web server with .htaccess per-directory configuration override enabled. For other web servers that support a similar URL rewriting mechanism simply use the contents of htaccess.txt as a guide and skip to step 3 of the following instructions.

  1. Open the file htaccess.txt into a text editor, and then save it as .htaccess after making changes to RewriteBase if you are not installing Price Tapestry into the root directory of your website.
  2. Upload .htaccess into the top level directory of your Price Tapestry installation.
  3. Set $config_useRewrite to TRUE in config.php.

Google Sitemap Registration

If you have a Google Webmaster Tools account you can submit sitemap.php at your Price Tapestry installation, for example;

http://www.example.com/sitemap.php

(sitemap.php returns a sitemap index that contains links to the full product sitemap for each feed)

Advanced Configuration

Several aspects of the script can be fine tuned by changing parameters in config.advanced.php:

$config_adminPassword

Password required for access to the /admin/ folder of the installation.

$config_feedDirectory

Can be used to change the location of the /feeds/ folder relative to /admin/. This can be useful if running multiple installations of Price Tapestry in category specific sub-directories and it would be convenient for each installation to share the same feed directory.

$config_databaseDebugMode

For use when debugging modifications. If set to TRUE, debug output (SQL and MySQL error message) is displayed if a query fails.

$config_useFullText

TRUE by default, this setting can be used to disable use of the Full Text index if required. In certain circumstances; particularly niche sites where users may be searching using product model numbers but without consistent formatting; the normal search method may produce better results.

$config_searchDescription

FALSE by default, this setting can be used to enable inclusion of the description field in search. Again, this may be useful on niche sites where significant product information may only exist in the description field. After enabling this feature, setup.php must be run again to create the additional indexes.

$config_fieldSet

Holds an array of product information fields used by the registration and import process.

$config_commonFields

Holds an array of common fields names found in product feeds for each of the product information fields, and is used on Feed Registration Step 2 to auto-select fields.

$config_slowImportBlock

Controls the number of products imported during each pass of the Slow Import process.

$config_slowImportSleep

Controls the number of seconds delay between each pass of the Slow Import process.

$config_useVoucherCodes

See Voucher Codes.

$config_automationHandler

Sets the method used to fetch remote URLs by the Automation Tool. Available options are "php" (default) and "curl". To check availability navigate to the /admin/ directory of your Price Tapestry installation and click Support Info.

$config_automationUnzipPrograms

Holds an array of file system paths to the unzip and gzip binaries used to automatically unzip feeds downloaded using the Automation Tool.

$config_CRONPrograms

Holds an array of file system paths to the php and wget binaries used by the Support Info page to generate CRON command options. To check settings, navigate to the /admin/ directory of your Price Tapestry installation and click Support Info. If Not Available is shown alongside either of the CRON command options adjust the path specified to match the configuration of your server.

$config_nicheMode

Only products that have been configured in Product Mapping will be imported.

$config_enableSearchFilters

Display merchant, category brand and price filters on search result pages. Enabled (TRUE) by default.

$config_voucherCodesFeedDirectory

Can be used to change the location of the /voucherfeeds/ folder relative to /admin/. This can be useful if running multiple installations of Price Tapestry in category specific sub-directories and it would be convenient for each installation to share the same voucher code feed directory.

$config_voucherCodesFieldSet

Holds an array of voucher code information fields used by the registration and list process.

$config_voucherCodesCommonFields

Holds an array of common fields names found in voucher code feeds for each of the voucher code information fields, and is used on Voucher Code Feed Registration Step 2 to auto-select fields.

$config_voucherCodesDiscountValuePrefixRegexp

Regular expression of words commonly prefixing the discount value within a voucher code description.

$config_voucherCodesDiscountValuePostfixRegexp

Regular expression of words commonly following the discount value within a voucher code description.

$config_voucherCodesMinSpendPrefixRegexp

Regular expression of words commonly prefixing the minimum spend criteri within a voucher code description.

$config_timezone

Timezone of the installation for more accurate reporting of time values within the admin area.

$config_currencySeparator

Decimal point separator to use for price display.

$config_currencyHTMLAfter

FALSE by default. Set to TRUE for reverse order of price $config_currencyHTML display.

$config_normaliseRegExp

Regular expression used for processing of merchant, category and brand values and of product names for use in URLs.

$config_useCategoryHierarchy

See Category Hierarchy Mapping.

$config_filenameRegExp

Regular expression used for validation of permitted product and voucher code feed filenames.

$config_logoExtension

Merchant logo image filename extension.

$config_useShoppingList

FALSE by default. Set to TRUE to enable Shopping List feature. This feature is implemented using cookies.