Modular Merchant
QuickCode™ Glossary
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:




































The {DIGITAL-OBJECT-ACCESS-BUTTON} QuickCode Tag may be used within the digital_delivery.template.php template to create Download, Play Media and Send to Kindle/Other Device buttons on the digital delivery storefront page.

Requirements / Prerequisites

The {DIGITAL-OBJECT-ACCESS-BUTTON} QuickCode Tag may only be used within the digital_delivery.template.php template, and must be used between the {DIGITAL-DELIVERY-FILE-BLOCK-BEGIN} and {DIGITAL-DELIVERY-FILE-BLOCK-END} QuickCode Tags, which must be enclosed within an HTML form.

By default, a Download button will be created for each digital object.

If the digital object's file type is flagged for third party device distribution in the Digital Delivery Settings, both a Download and a Send to Kindle/Other Device button will be created.

If the digital object type is set as Flash Video (flv file) in the Digital Object Editor, then a Play Media button will be created instead of a Download button.

Example of Use

If the following code is added to the digital_delivery.template.php template:

<form id="download_delivery_form" name="download_delivery_form" method="post" action="{THIS-PAGE}">
<table style="border:1px solid black;">
<caption><b>Download your purchased files:</b></caption>
              <th>File Name: {DIGITAL-OBJECT-NAME}</th>

If a customer placed an order that included the digital objects named Example PDF, Example FLV, and Example MOBI ...
And the digital object Example MOBI is of the .MOBI file type, and the .MOBI file type is flagged for third party distribution in the Digital Delivery Settings ....
And the digital object Example FLV is set to the Flash Video (flv file) digital object type ...
Then when the customer accessed the digital delivery page for that order, the following would display:

Download your purchased files:
File Name: Example PDF
File Name: Example FLV
File Name: Example MOBI


Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {DIGITAL-OBJECT-ACCESS-BUTTON} QuickCode Tag is changed into the source code below prior to the web page being displayed.
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map