Guest tptstore Posted August 7, 2011 Share Posted August 7, 2011 Hi. In v4 you could easily reset a download link for a customer. I can't find how to do this in v5. Surely this functionality hasn't been dropped? Quote Link to comment Share on other sites More sharing options...
scythe000 Posted October 19, 2011 Share Posted October 19, 2011 Hi. In v4 you could easily reset a download link for a customer. I can't find how to do this in v5. Surely this functionality hasn't been dropped? I need to know as well...can't find it! Quote Link to comment Share on other sites More sharing options...
scythe000 Posted March 24, 2012 Share Posted March 24, 2012 Bump??? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 25, 2012 Share Posted March 25, 2012 In the admin screen, Orders, Order Summary for a particular order, Items list area, for each item, there should be one or two lines that looks like: 1 x Test Product - TESA31 ($6.75) [ link ] $6.75 Options Chosen In the file /admin/skins/default/templates/order.index.php at around line 143, the corresponding code looks like: {$product.quantity} x {$product.name} - {$product.product_code} ({$product.line_formatted}) {if $product.digital}<a href="{$VAL_SELF}&reset_id={$product.id}" />[{$LANG.orders.reset_download_link}]</a>{/if} <span>{$product.price_total_formatted}</span> {if $product.options}<br />{$product.options}{/if} So, if the product is digital, then there should be a link on this line that will reset the expiration to now+timelimit. If you do not see this, then we will need to determine why. Quote Link to comment Share on other sites More sharing options...
scythe000 Posted March 27, 2012 Share Posted March 27, 2012 Weird, here's what I've got in that spot: {foreach from=$PRODUCTS item=product} <div id="item"> {$product.quantity} x {$product.name} - {$product.product_code} ({$product.line_formatted})<span>{$product.price_total_formatted}</span> {if $product.options} <br />{$product.options} {/if} </div> {/foreach} Quote Link to comment Share on other sites More sharing options...
scythe000 Posted March 27, 2012 Share Posted March 27, 2012 Since it just looked like it was missing {if $product.digital}<a href="{$VAL_SELF}&reset_id={$product.id}" />[{$LANG.orders.reset_download_link}]</a>{/if} I inserted that line. It now shows [] in the spot to reset the item. looks like it does it, but i'm thinking it should have some text between those brackets. Quote Link to comment Share on other sites More sharing options...
scythe000 Posted March 28, 2012 Share Posted March 28, 2012 Huh. Well, I updated to 5.0.7 and it seemed to fix it! Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 28, 2012 Share Posted March 28, 2012 This feature was added in 506. It comprises of three items: 1. The form element (the link) 2. The code to process the parameters contained in the link (&reset_id=99) 3. The language file to give $LANG.orders.reset_download_link the wording. Please be aware that the vast amount of answers to questions posed will relate to the latest version of CC at the time of the posted reply unless otherwise specified. Please be sure that you are aware of your own installation's version and mention that version when posting. Quote Link to comment Share on other sites More sharing options...
scythe000 Posted March 28, 2012 Share Posted March 28, 2012 I honestly couldn't have dreamed it took them 6 releases to add that basic functionality! Holy cow! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.