View Full Version : Expiration date
Andreas_M
September 30, 2012, 12:30 PM
Hello,
I am missing the listings expiration date at "my listings" list for seller accounts and also at admin panel.
Would it be possible to integrate it at next Version?
How can I already add the listing expiration date for "my listings" list?
Thanks & best regards
Andreas
Mike
October 1, 2012, 08:15 AM
Try following changes:
open templates/your_template/blocks/my_listing.tpl
Find code
<tr>
<td class="name">{$lang.added}:</td>
<td class="value">{$listing.Date|date_format:$smarty.const.RL_DATE_F ORMAT}</td>
</tr>
replace with (add another row for expiration date)
<tr>
<td class="name">{$lang.added}:</td>
<td class="value">{$listing.Date|date_format:$smarty.const.RL_DATE_F ORMAT}</td>
</tr>
<tr>
<td class="name">{$lang.expiration_date}:</td>
<td class="value">{$listing.Plan_expire|date_format:$smarty.const.RL _DATE_FORMAT}</td>
</tr>
Also through the AP> Languages add phrase with key expiration_date, text Expiration date and module FrontEnd
Andreas_M
October 1, 2012, 05:47 PM
Hi Mike,
works very well.
Thanks!
Mike
October 2, 2012, 12:00 PM
I'm glad that it works!
I did not test it :)
Petrache Nicolae
October 2, 2012, 12:24 PM
It works fine. Thanks
Andreas_M
October 2, 2012, 06:56 PM
The language phrase "expiration_date" already exist, just renamed it.
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.