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.
- 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.
- Upload .htaccess into the top level directory of your Price Tapestry installation.
- 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;
(sitemap.php returns a sitemap index that contains links to the full product sitemap for each feed)
Several aspects of the script can be fine tuned by changing parameters in config.advanced.php:
Password required for access to the /admin/ folder of the installation.
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.
For use when debugging modifications. If set to TRUE, debug output (SQL and MySQL error message) is displayed if a query fails.
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.
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.
Holds an array of product information fields used by the registration and import process.
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.
Controls the number of products imported during each pass of the Slow Import process.
Controls the number of seconds delay between each pass of the Slow Import process.
See Voucher Codes.
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.
Holds an array of file system paths to the unzip and gzip binaries used to automatically unzip feeds downloaded using the Automation Tool.
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.
Only products that have been configured in Product Mapping will be imported.
Display merchant, category brand and price filters on search result pages. Enabled (TRUE) by default.
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.
Holds an array of voucher code information fields used by the registration and list process.
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.
Regular expression of words commonly prefixing the discount value within a voucher code description.
Regular expression of words commonly following the discount value within a voucher code description.
Regular expression of words commonly prefixing the minimum spend criteri within a voucher code description.
Timezone of the installation for more accurate reporting of time values within the admin area.
Decimal point separator to use for price display.
FALSE by default. Set to TRUE for reverse order of price $config_currencyHTML display.
Regular expression used for processing of merchant, category and brand values and of product names for use in URLs.
Regular expression used for validation of permitted product and voucher code feed filenames.
Merchant logo image filename extension.
FALSE by default. Set to TRUE to enable Shopping List feature. This feature is implemented using cookies.