Jump to content

Product reference by default


Recommended Posts

Hi, i'm changing the way my Prestashop 1.6.0.14 import csv products. I've made all the modifications i want in the AdminImportController.php except one. I want "Use product reference as key" set "Yes" by default. Any ideas? Thanks in advance.  

Link to comment
Share on other sites

  • 5 months later...

What about just setting this as checked by default?

 

<div class="margin-form">
				<input name="match_ref" id="match_ref" type="checkbox" style="margin-top: 6px; display:none"/>
			</div>

In the admin folder, themes/default/controllers/import/helpers/form/form.tpl

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...