2

I must be missing something obvious.

I am trying to add a downloadable product in Expresso Store.

I have a channel with a custom file filed {products_download} as well as the Store Product Details field

I create the entry, upload the file, then after I purchase the product there is no link to download on my order page.

<h2>Order Summary / Tax Invoice</h2>
{exp:store:orders member_id="CURRENT_USER"}
<h1>Thank you for your Order:</h1>

<h2>Ordered Items:</h2>
    <ul>
    {items}
    <li>
        <h3>{title} -- {price}</h3>
        {exp:channel:entries entry_id="{entry_id}"}
            {exp:store:download url="{products_download}"}
                Download
            {/exp:store:download}
        {/exp:channel:entries}
    </li>
    {/items}
    </ul>
{/exp:store:orders}

The above outputs the title and price fine, just not the link to download

EE ver 2.4 Store ver 1.6.2

3
  • 1
    I think you are missing the order_id="{order_id}" parameter in the {exp:store:download} tag Feb 15 '13 at 16:45
  • actually when I add order_id="{order_id}" I get nothing displayed. The title -- price are not even displayed Feb 15 '13 at 16:55
  • {exp:channel:entries entry_id="{entry_id}"} {exp:store:download url="{products_download}" order_id="{order_id}"} Download {/exp:store:download} {/exp:channel:entries} Feb 15 '13 at 16:56
1

This was it:

{exp:channel:entries entry_id="{entry_id}"}
    {exp:store:download url="{products_download}" order_id="{order_id}"}
        Download
    {/exp:store:download}
{/exp:channel:entries}

thanks John

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.