Modular Merchant
QuickCode™ Glossary
{DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{DIGITAL-DELIVERY-FILE-BLOCK-BEGIN}

{DIGITAL-DELIVERY-FILE-BLOCK-END}

{DIGITAL-DELIVERY-PASSWORD-FIELD}

{DIGITAL-DOWNLOAD-EXPIRATION}

{DIGITAL-DOWNLOAD-PASSWORD}

{DIGITAL-DOWNLOAD-URL}

{DIGITAL-FILE-ACCESS-BUTTON}

{DIGITAL-FILE-CURRENT-ACCESS-NUMBER}

{DIGITAL-FILE-EXPIRATION-DATE}

{DIGITAL-FILE-EXPIRATION-TIMESTAMP}

{DIGITAL-FILE-IF-INSTRUCTIONS-BEGIN}

{DIGITAL-FILE-IF-INSTRUCTIONS-END}

{DIGITAL-FILE-INSTRUCTIONS}

{DIGITAL-FILE-NAME}

{DIGITAL-FILE-RELEASE-DATE}

{DIGITAL-FILE-REMAINING-ACCESS-NUMBER}

{DIGITAL-FILE-SIZE}

{DIGITAL-FILE-TOTAL-ACCESS-NUMBER}

{DIGITAL-FILE-ZONE-MESSAGE}

{DIGITAL-OBJECT-ACCESS-BUTTON}

{DIGITAL-OBJECT-CURRENT-ACCESS-NUMBER}

{DIGITAL-OBJECT-EXPIRATION-DATE}

{DIGITAL-OBJECT-EXPIRATION-TIMESTAMP}

{DIGITAL-OBJECT-INSTRUCTIONS}

{DIGITAL-OBJECT-NAME}

{DIGITAL-OBJECT-RELEASE-DATE}

{DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER}

{DIGITAL-OBJECT-SIZE}

{DIGITAL-OBJECT-TOTAL-ACCESS-NUMBER}

{DIGITAL-OBJECT-ZONE-MESSAGE}

{FIELD-DIGITAL-DELIVERY-PASSWORD}

{IF-DIGITAL-OBJECT-INSTRUCTIONS-BEGIN}

{IF-DIGITAL-OBJECT-INSTRUCTIONS-END}

{IF-ORDER-CONTAINS-DIGITAL-PRODUCTS-BEGIN}

{IF-ORDER-CONTAINS-DIGITAL-PRODUCTS-END}

Digital Delivery > {DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER}
<< {DIGITAL-OBJECT-RELEASE-DATE} {DIGITAL-OBJECT-SIZE} >>
{DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER} Updated: 02/19/2013

The {DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER} QuickCode Tag may be used within the digital_delivery.template.php template to display how many download attempts are still allowed for each digital object on the digital delivery storefront page.

Requirements / Prerequisites

The {DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER} 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.

Example of Use

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

Code
<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>
{DIGITAL-DELIVERY-FILE-BLOCK-BEGIN}
<tr>
  <th>File Name: {DIGITAL-OBJECT-NAME}</th>
</tr>
<tr>
<td>Access Limit: {DIGITAL-OBJECT-TOTAL-ACCESS-NUMBER}</td>
</tr>
<tr>
<td>Current Attempts: {DIGITAL-OBJECT-CURRENT-ACCESS-NUMBER}</td>
</tr>
<tr>
<td bgcolor="#ccffff">Remaining Attempts: {DIGITAL-OBJECT-REMAINING-ACCESS-NUMBER}</td>
  </tr>
    <tr>
<td>{DIGITAL-OBJECT-ACCESS-BUTTON}</td>
</tr>
{DIGITAL-DELIVERY-FILE-BLOCK-END}
</table>
</form>


If a customer placed an order that included the digital objects named Example PDFExample MP3, and Example ZIP, each of which has a three download attempt shelf life, when the customer accessed the digital delivery page for that order, the following would display:

Download your purchased files:
File Name: Example PDF
Access Limit: 3
Current Attempts: 0
Remaining Attempts: 3
File Name: Example MP3
Access Limit: 3
Current Attempts: 0
Remaining Attempts: 3
File Name: Example ZIP
Access Limit: 3
Current Attempts: 0
Remaining Attempts: 3

 

If the customer had already downloaded Example PDF once and Example ZIP twice, the following would display:

Download your purchased files:
File Name: Example PDF
Access Limit: 3
Current Attempts: 1
Remaining Attempts: 2
File Name: Example MP3
Access Limit: 3
Current Attempts: 0
Remaining Attempts: 3
File Name: Example ZIP
Access Limit: 3
Current Attempts: 2
Remaining Attempts: 1

 

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-REMAINING-ACCESS-NUMBER} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map