[-] BO : BugFix : #PSCFV-2242 :CSV Import - Issues with products
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
function activeClueTip()
|
function activeClueTip()
|
||||||
{
|
{
|
||||||
$('.info').cluetip({
|
$('.info_import').cluetip({
|
||||||
splitTitle: '|',
|
splitTitle: '|',
|
||||||
showTitle: false
|
showTitle: false
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -671,16 +671,18 @@ class AdminImportControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$fields = array();
|
$fields = array();
|
||||||
|
$keys = array_keys($this->available_fields);
|
||||||
|
array_shift($keys);
|
||||||
foreach ($this->available_fields as $k => $field)
|
foreach ($this->available_fields as $k => $field)
|
||||||
{
|
{
|
||||||
if ($k === 'no')
|
if ($k === 'no')
|
||||||
continue;
|
continue;
|
||||||
if ($k === 'price_tin')
|
if ($k === 'price_tin')
|
||||||
$fields[$i - 1]['label'] = $fields[$i - 1]['label'].' '.$this->l('or').' '.$field['label'];
|
$fields[$i - 1] = '<div>'.$this->available_fields[$keys[$i - 1]]['label'].' '.$this->l('or').' '.$field['label'].'<span style="margin-left:16px"></span></div>';
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (isset($field['help']))
|
if (isset($field['help']))
|
||||||
$html = ' <a href="#" class="info" title="'.$this->l('Info').'|'.$field['help'].'"><img src="'._PS_ADMIN_IMG_.'information.png"></a>';
|
$html = ' <a href="#" class="info_import" title="'.$this->l('Info').'|'.$field['help'].'"><img src="'._PS_ADMIN_IMG_.'information.png"></a>';
|
||||||
else
|
else
|
||||||
$html = '<span style="margin-left:16px"></span>';
|
$html = '<span style="margin-left:16px"></span>';
|
||||||
$fields[] = '<div>'.$field['label'].$html.'</div>';
|
$fields[] = '<div>'.$field['label'].$html.'</div>';
|
||||||
|
|||||||
Reference in New Issue
Block a user