v1.6-v1.7 Module Danea Easy Fatt import version 2.0 edit with me

cyberhack

Well-known member
Diamond
Elite
Joined
Apr 16, 2019
Messages
257
Reaction score
373
Points
63
NullCash
1,951
FOR PRESTASHOP 8.X.X

Update quantity e location INSERIT QUERY IN YOUR SQL:

ALTER TABLE ps_product_attribute ADD COLUMN quantity INT;
ALTER TABLE ps_product_attribute ADD COLUMN location INT;

PRESTASHOP 1.7.8.X

Update quantity e location INSERIT QUERY IN YOUR SQL:

ALTER TABLE ps_product_attribute MODIFY location VARCHAR(255) DEFAULT NULL;

PHP 7.4 not function in PHP 8
Post automatically merged:

for prestashop 8 :

line 391: /public_html/prestashop/src/Adapter/Product/QueryHandler/GetProductForEditingHandler.php

private function getDetails(Product $product): ProductDetails
{
$isbn = $product->isbn !== null ? $product->isbn : 'Valore predefinito';
$upc = $product->upc !== null ? $product->upc : 'Valore predefinito';
$ean13 = $product->ean13 !== null ? $product->ean13 : 'Valore predefinito';
$mpn = $product->mpn !== null ? $product->mpn : 'Valore predefinito';
$reference = $product->reference !== null ? $product->reference : 'Valore predefinito';

return new ProductDetails($isbn, $upc, $ean13, $mpn, $reference);
}
FOR CATEGORY PROBLEM :

/public_html/prestashop/src/Core/Grid/Data/Factory/AbstractCategoryDataFactory.php

Line 71 replace this code :

protected function modifyRecords(array $records): array
{
foreach ($records as $key => $record) {
if (is_string($record['description'])) {
$records[$key]['description'] = mb_substr(strip_tags(stripslashes($record['description'])), 0, self::DESCRIPTION_MAX_LENGTH);
}
}

return $records;
}
}

This code Debug for prestashop 8.1.3
Post automatically merged:

Update module for prestashop 8.1.3 see the guide thanks for all!
Post automatically merged:

Post complete faq for prestashop 1.7.6.x - 1.7.7.x - 1.7.8.x - 8.1.3 download "Daneaimport for prestashop 8.1.3" ;-)
 

Attachments

  • Daneaimport for prestashop 8.1.3.zip
    49.9 KB · Views: 5
  • Faq.txt
    1.7 KB · Views: 7
Last edited:

devilt7777

New member
XNullUser
Joined
Jan 27, 2024
Messages
29
Reaction score
0
Points
1
Location
frelancer
NullCash
3
Hi, does anyone have the danea module to import orders from prestashop v.8XXX? Thank you
 

oumeima

New member
XNullUser
Joined
Feb 22, 2024
Messages
19
Reaction score
0
Points
1
Location
DEF
NullCash
2
Thanks alot nice module nice share nice work bro.
 

testbrown

Active member
Elite
XNullUser
Joined
Jun 14, 2019
Messages
102
Reaction score
121
Points
43
NullCash
12
Ciao alla fine non si è capito se per la versione 8 fuziona grazie cmq per la condivisione
 

ideanulled91

New member
XNullUser
Joined
Feb 27, 2020
Messages
9
Reaction score
0
Points
1
NullCash
0
thank you for sharing this module grazie amico mio
qualcuno di voi può aiutarmi a scaricarlo? non riesco
Post automatically merged:

Hi everyone this version module import danea easy fatt fuction with php version:

PHP
5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4

View attachment 90437

This module fixed me and i tested with PS 1.7.7.8
thanks a lot bro, veramente grazie per la condivisione
Post automatically merged:

FOR CATEGORY PROBLEM :

/public_html/prestashop/src/Core/Grid/Data/Factory/AbstractCategoryDataFactory.php

Line 71 replace this code :

protected function modifyRecords(array $records): array
{
foreach ($records as $key => $record) {
if (is_string($record['description'])) {
$records[$key]['description'] = mb_substr(strip_tags(stripslashes($record['description'])), 0, self::DESCRIPTION_MAX_LENGTH);
}
}

return $records;
}
}

This code Debug for prestashop 8.1.3
Post automatically merged:

Update module for prestashop 8.1.3 see the guide thanks for all!
Post automatically merged:

Post complete faq for prestashop 1.7.6.x - 1.7.7.x - 1.7.8.x - 8.1.3 download "Daneaimport for prestashop 8.1.3" ;-)
this module is perfect for me.. thanks bro
 
Last edited:
Top