Configuration ≫ Attribute Settings

See also Admin > Catalog > Attributes Controller for attribute pricing settings.

Enable Downloads

Key: DOWNLOAD_ENABLED
Path: Configuration > Attribute Settings
Description: Enable the products download functions.

Download by Redirect

Key: DOWNLOAD_BY_REDIRECT
Path: Configuration > Attribute Settings
Description: Use browser redirection for download. Disable on non-Unix systems.

Note: Set /pub to 777 when redirect is true

Download by streaming

Key: DOWNLOAD_IN_CHUNKS
Path: Configuration > Attribute Settings
Description: If download-by-redirect is disabled, and your PHP memory_limit setting is under 8 MB, you might need to enable this setting so that files are streamed in smaller segments to the browser.

Has no effect if Download By Redirect is enabled.

Download Expiration (Number of Days)

Key: DOWNLOAD_MAX_DAYS
Path: Configuration > Attribute Settings
Description: Set number of days before the download link expires. 0 means no limit.

Number of Downloads Allowed - Per Product

Key: DOWNLOAD_MAX_COUNT
Path: Configuration > Attribute Settings
Description: Set the maximum number of downloads. 0 means no download authorized.

Downloads Controller Update Status Value

Key: DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE
Path: Configuration > Attribute Settings
Description: What orders_status resets the Download days and Max Downloads - Default is 4

Downloads Controller Order Status Value >= lower value

Key: DOWNLOADS_CONTROLLER_ORDERS_STATUS
Path: Configuration > Attribute Settings
Description: Downloads Controller Order Status Value - Default >= 2

Downloads are available for checkout based on the orders status. Orders with orders status greater than this value will be available for download. The orders status is set for an order by the Payment Modules. Set the lower range for this range.

Downloads Controller Order Status Value <= upper value

Key: DOWNLOADS_CONTROLLER_ORDERS_STATUS_END
Path: Configuration > Attribute Settings
Description: Downloads Controller Order Status Value - Default <= 4

Downloads are available for checkout based on the orders status. Orders with orders status less than this value will be available for download. The orders status is set for an order by the Payment Modules. Set the upper range for this range.

Enable Price Factor

Key: ATTRIBUTES_ENABLED_PRICE_FACTOR
Path: Configuration > Attribute Settings
Description: Enable the Attributes Price Factor.

Enable Qty Price Discount

Key: ATTRIBUTES_ENABLED_QTY_PRICES
Path: Configuration > Attribute Settings
Description: Enable the Attributes Quantity Price Discounts.

Enable Attribute Images

Key: ATTRIBUTES_ENABLED_IMAGES
Path: Configuration > Attribute Settings
Description: Enable the Attributes Images.

Enable Text Pricing by word or letter

Key: ATTRIBUTES_ENABLED_TEXT_PRICES
Path: Configuration > Attribute Settings
Description: Enable the Attributes Text Pricing by word or letter.

Text Pricing - Spaces are Free

Key: TEXT_SPACES_FREE
Path: Configuration > Attribute Settings
Description: On Text pricing Spaces are Free

0= off 1= on

Read Only option type - Ignore for Add to Cart

Key: PRODUCTS_OPTIONS_TYPE_READONLY_IGNORED
Path: Configuration > Attribute Settings
Description: When a Product only uses READONLY attributes, should the Add to Cart button be On or Off?
0= OFF
1= ON



Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified January 12, 2024 by Scott C Wilson (2e7ec20a).