Jump to content

Edit History

MariuszS

MariuszS

Few years ago @David Eschmeyer and @studioneko write a code to change product add date.

But unfortunately its for prestashop 1.6 but i have 1.7.8

Is it possible to use it in Prestashop 1.7.8?

 

Quote

 

works in 1.6.1.x

Add it to line 132 (1.6.1.3) (after hard return) of: admin folder\themes\default\template\controllers\products\informations.tlp

 

{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" class="datepicker" name="date_add" value="{$product->date_add|escape:html:'UTF-8'}" />
</div>
</div>
{/if}

 

MariuszS

MariuszS

Few years ago David Eschmeyer and studioneko write a code to change product add date.

But unfortunately its for prestashop 1.6 but i have 1.7.8

Is it possible to use it in Prestashop 1.7.8?

 

Quote

 

works in 1.6.1.x

Add it to line 132 (1.6.1.3) (after hard return) of: admin folder\themes\default\template\controllers\products\informations.tlp

 

{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" class="datepicker" name="date_add" value="{$product->date_add|escape:html:'UTF-8'}" />
</div>
</div>
{/if}

 

×
×
  • Create New...