5.11. downloadable
This table controls downloadable products. The Marketing Reports data set for the foundation catalog demonstrates downloadable products. List a product's sku in this table if you want to deliver it through a download. A customer can then download the file specified in the dl_location field after checkout.
For reference, see the implementation in the following files:
- catalog_root/pages/deliver.html
- catalog_root/etc/receipt.html
- catalog_root/pages/query/order_detail.html
Fields
Field | Description |
sku | Unique key, matches product.sku |
dl_location | Location of downloadable file |
dl_type | MIME type of downloadable file |
5.11.1. sku
Example Data
Example Data from the Marketing Reports data set:
00352as 22083da 49503cg 59330rt 59402fw 73358ee 83491vp 90773sh
This is the unique key for this table that is also the common key into the products table.
5.11.2. dl_location
Example Data from 'reports' catalog
download/00352as.pdf download/22083da.pdf download/49503cg.pdf download/59330rt.pdf download/59402fw.pdf download/73358ee.pdf download/83491vp.pdf download/90773sh.pdf
File location of downloadable product.
5.11.3. dl_type
Example Data from 'reports' catalog
application/pdf
MIME type of downloadable content.