\DownloadableOrder
Extension to the order class to facilitate downloads.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class DownloadableOrder
extends DataExtension
{
- // methods
- public bool HasDownloads()
- public bool DownloadsAvailable()
- public ArrayList getDownloads()
- public float getDownloadsTotal()
- public string DownloadZipLink()
Hierarchy
Extends
- DataExtension
Methods
public
- DownloadZipLink()
- DownloadsAvailable() — Are downloads present and is the order in a state where downloads would be available to the customer (i.e. paid for)?
- HasDownloads()
- getDownloads()
- getDownloadsTotal() — Returns the total of products that contain downloads