Prestashop: Add editable product date added field in admin (prestashop 1.6)

Source: https://www.prestashop.com/forums/topic/126518-change-date-for-products-in-bo-date-add/?p=1947106

Add it to line 134 of: admin folder\themes\default\template\controllers\products\informations.tlp

The if is added in case this is a new product and there is no existing date added data

{if $product->date_add}
<div class=”form-group”>
<label class=”control-label col-lg-3″></td>
<span class=”label-tooltip” data-toggle=”tooltip”
title=”{l s=’Change date for “product new from”.’}”>
{$bullet_common_field} {l s=’New from’}
</span>
</label>
<div class=”col-lg-3″>
<input type=”text” id=”date_add” name=”date_add” value=”{$product->date_add|escape:html:’UTF-8′}” />
</div>
</div>
{/if}

This entry was posted in ecommerce and tagged , . Bookmark the permalink.

Comments are closed.