Prestashop Spartoo module changelog

What’s new with Prestashop Spartoo module?

PrestaShop Spartoo Module version 2 – 2023-2025

PrestaShop Spartoo Module version 2.0.67 – 18 July 2025

Added new chat functionality for support requests – July 17th, 2025

New live chat added, on the bottom right corner of every page of the module configuration:

Updated:

– Validate the module by PrestaShop rules – June 5th, 2025
– PrestaShop 1.5 is not supported anymore – June 5th, 2025

Added:

– https://devdocs.prestashop-project.org/8/modules/testing/advanced-checks/ – June 13th, 2025
# 1. PrestaShop Dev Tools config (PHPStan, Fixer, CodeSniffer rules)
composer require –dev prestashop/php-dev-tools
# 2. PHP CS Fixer – fix coding style
composer require –dev friendsofphp/php-cs-fixer
php vendor/bin/php-cs-fixer fix . –verbose
# 3. PHPStan – static analysis
composer require –dev phpstan/phpstan
php vendor/bin/phpstan analyse -c tests/phpstan/phpstan.neon
php vendor/bin/phpstan analyse .
# 4. PHPUnit – run tests
composer require –dev phpunit/phpunit
php vendor/bin/phpunit
# 5. PrestaShop Autoindex – security index.php files
composer require –dev prestashop/autoindex
php vendor/bin/autoindex prestashop:add:index .
# 6. PrestaShop Header Stamp – add license headers
composer require –dev prestashop/header-stamp
php vendor/bin/header-stamp –exclude=vendor –exclude=node_modules
# 7. PHP CodeSniffer – optional, fix coding standard issues
composer require –dev squizlabs/php_codesniffer
php vendor/bin/phpcbf –ignore=vendor/,node_modules/ .
php vendor/bin/phpcs –ignore=vendor/,node_modules/ .
– The missing index.php file in each folder – June 5th, 2025
– The missing license header in each CSS, JS, PHP, and TPL files – June 5th, 2025
– The module build scripts – June 5th, 2025
– The config.xml file – June 5th, 2025
– Implement asynchronous feed https://www.spartoo.com/mp/documentation.php?page=import_products_async – July 18th, 2025

PrestaShop Spartoo Module version 2.0.66 – 29 May 2025

Added:

– The multiple price rules configuration (Update the Spartoo_Tools::Formula() and Spartoo_Tools::_matheval() functions)

Fixed:

– Syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE)
– Unexpected ? and ) syntax errors in the spartoo.php file
– Use the correct class ‘Spartoo’ instead of ‘spartoo’
– Load all the Spartoo sizes from the XML provision file
– Avoid displaying duplicate sizes in the mapping sizes (views\templates\admin\configure\tabs\mappings.tpl)
– The first product combination price is not correctly set

Updated:

– The PHP CS Fixer rules
– The importing order messages
– Hide the ‘Unable to json_decode mapping sizes’ message
– Format code according to the PrestaShop coding standards

Removed:

– The unused function loadAll()

PrestaShop Spartoo Module version 2.0.65 – 7 March 2025

Fixed:

– The print_r() expects parameter 2 to be bool, int given
– The json_decode() expects parameter 1 to be string, bool given
– The base64_decode() expects parameter 1 to be string, bool given
– Call to a member function asXML() on bool
– Failed to generate product XML when the ‘Ignore Product Name’ option is enabled

Updated:

– The importing products service https://www.spartoo.com/mp/documentation.php?page=import_products

PrestaShop Spartoo Module version 2.0.64 – 6 January 2025

Added:

– PHP CS Fixer https://devdocs.prestashop-project.org/8/modules/testing/basic-checks/#coding-standards:
+ Run this command vendor/bin/php-cs-fixer fix to format the code according to coding standards

Fixed:

– The product_composition, voering_composition, first_composition, zool_composition fields don’t work when updating the products
– admin_order.js is missing in displayAdminOrder.tpl
– Download delivery slip is not working
– Do not decode base64 if the value is null
– Add missing closing tag for views\templates\admin\configure\spartoo.tpl and format
– Get friendly URL
– Convert date_purchased type from SimpleXMLElement to string (Type error: strtotime() expects parameter 1 to be string, object given)
– Typecast random integer to string for the customer password (Type error: md5() expects parameter 1 to be string, int given)
– Type error: Return value of Spartoo_ExportProducts::getDecodedConfiguration() must be of the type array, bool returned
– Type error: DOMDocument::createElement() expects parameter 2 to be string, int given

Updated:

– Validate the module by PrestaShop rules
– Separate the spartoo.tpl file to multiple files for easy maintaince and readability
– Code after “exit” statement cannot be executed
– Code after “return” statement cannot be executed
– The range of years in the @copyright tag in a documentation comment

PrestaShop Spartoo Module version 2.0.63 – 16 May 2024

Fixed:

Use stock_available.quantity instead of product.quantity

PrestaShop Spartoo Module version 2.0.62 – 15 March 2024

Updated:

Check ean code is not empty before add tag.

PrestaShop Spartoo Module version 2.0.61 – 22 February 2024

Added:

Check connection to Spartoo.

PrestaShop Spartoo Module version 2.0.60 – 19 February 2024

Added:

Selected carrier for each country

PrestaShop Spartoo Module version 2.0.59 – 19 February 2024

Fixed:

From PHP 8 onwards, the round() method does not allow ARRAY data type arguments to be passed.

PrestaShop Spartoo Module version 2.0.58 – 16 February 2024

Updated:

All the Smarty variables present in TPL files have to be escaped, to avoid malicious code to be displayed.

PrestaShop Spartoo Module version 2.0.57 – 31 January 2024

Fixed:

Tools::jsonEncode was removed from PS 8

PrestaShop Spartoo Module version 2.0.56 – 18 January 2024

Updated:

All the Smarty variables present in TPL files have to be escaped, to avoid malicious code to be displayed.

PrestaShop Spartoo Module version 2.0.55 – 28 December 2023

Fixed:

Unable to select country in Spartoo Admin Order

PrestaShop Spartoo Module version 2.0.54 – 5 December 2023

Fixed:

  • HTML in file PHP spartoo.php and
  • add if (!defined(‘PS_VERSION‘)) { exit; } into functions folder

PrestaShop Spartoo Module version 2.0.53 – 29 November 2023

Fixed:

Import order double quantities because check update quantites two times

PrestaShop Spartoo Module version 2.0.52 – 16 November 2023

Updated:

Not import order when stock is 0

PrestaShop Spartoo Module version 2.0.51 – 15 November 2023

Updated:

Optimize download xml function.

Fixed:

Prevent downloading of unwanted files (security).

PrestaShop Spartoo Module version 2.0.50 – 13 November 2023

Fixed:

SPARTOO_CONTEXT_DATA configuration does not instance of PS Context class

PrestaShop Spartoo Module version 2.0.49 – 3 November 2023

Fixed:

Notice: Only variables should be passed by reference
$combinations_color[reset(array_keys($combinations_color))]

PrestaShop Spartoo Module version 2.0.48 – 31 October 2023

Updated:

Remove ‘/’ from firstname and lastname of Customer

PrestaShop Spartoo Module version 2.0.47 – 26 October 2023

Updated:

  • add if (!defined(‘PS_VERSION‘)) { exit; }
  • add .htaccess in root
  • follow structure views folder

PrestaShop Spartoo Module version 2.0.46 – 24 October 2023

Updated:

Change use serialize to json

PrestaShop Spartoo Module version 2.0.45 – 4 October 2023

Fixed:

Fixed Sql query avoid SQL injection

PrestaShop Spartoo Module version 2.0.44 – 2 October 2023

Fixed:

Fixed Unique mapping size – using the (string) cast to get unique mapping size

PrestaShop Spartoo Module version 2.0.43 – 28 September 2023

Updated:

Unique mapping size when get from provision xml_provisionning
Fixed: Remove product type name in option of mapping size

PrestaShop Spartoo Module version 2.0.42 – 21 September 2023

Updated:

Add option to ignore Product Name in Setting Module

PrestaShop Spartoo Module version 2.0.41 – 31 August 2023

Updated:

Module configuration: Categories: Sort by name

PrestaShop Spartoo Module version 2.0.40

Updated:

Fix bug Mapping Tabs show all PS version and return parameter for function getOrderTotal

PrestaShop Spartoo Module version 2.0.39

Updated:

Fix bug Mapping Tabs not show Attribute from PS

PrestaShop Spartoo Module version 2.0.38

Updated:

Upgrade Spartoo with Prestashop 8

PrestaShop Spartoo Module version 2.0.37

Updated:

Create marketplace table when install module

PrestaShop Spartoo Module version 2.0.36

Updated:

XML provision

PrestaShop Spartoo Module version 2.0.35

Updated:

Order Import : Show the Spartoo order number

PrestaShop Spartoo Module version 2.0.34

Updated:

Delete unused error messages

PrestaShop Spartoo Module version 2.0.33

Updated:

Calculate the product quantity

PrestaShop Spartoo Module version 2.0.32

Updated:

Module information: Escape already done in PHP

PrestaShop Spartoo Module version 2.0.31

Updated:

Order Import: Use file_get_contents from PS 1.2 compat

PrestaShop Spartoo Module version 2.0.30

Fixed:

Product Update: Check the product XML file is exist before

PrestaShop Spartoo Module version 2.0.29

Updated:

Order Import: Clean customer lastname/firstname

PrestaShop Spartoo Module version 2.0.28

Fixed:

Wrong smarty include path

PrestaShop Spartoo Module version 2.0.27

Updated:

Use parameters to parse category tab instead of HTML

PrestaShop Spartoo Module version 2.0.26

Updated:

Product update: Parse error msg to view

PrestaShop Spartoo Module version 2.0.25

Updated:

Order import: Convert price/tax by shop’s currency

PrestaShop Spartoo Module version 2.0.24

Updated:

Order import: Proper report of missing SKU

PrestaShop Spartoo Module version 2.0.23

Fixed:

Initial error because of undefined default country.

Added:

Cron parameters

PrestaShop Spartoo Module version 2.0.22

Fixed:

Cannot import Croatian orders

PrestaShop Spartoo Module version 2.0.21

Updated:

XML provision. Webservice endpoints

PrestaShop Spartoo Module version 2.0.08 – 12 January 2018

Fixed bugs:

[] FIX : Array notation [] to array() [] FIX : User creation password (PHP_INT_MAX for $email = ‘no-reply-‘.rand(500, PHP_INT_MAX).’@myshop.com’)
[] FIX : Cache for provisionnig data in module configuration [] FIX : Reference history main/combination products during products export
[] FIX : Size list during products export if size is missing or mis-configured [] FIX : Color ID finder during products export if color is missing or mis-configured

Improved/changed features:

[] CORE : Added PrestaTrust compatibility [] CORE : Now replace | in references by ____

Fixed bugs:

[] FIX : Reference history during products export [] FIX : Currency issue with price in XML

Improved/changed features:

[*] CORE : Update name and description according to language

PrestaShop Spartoo Module version 2.0.07 – 10 April 2017

Fixed bugs:

[*] FIX : Orders display on Orders > Spartoo resulting in an Ajax error : Spartoo_Tools::jsonEncode([], false)

Improved/changed features:

[] CORE : Product with missing references on combinations are now properly skipped [] CORE : Revamp of the product update code to something cleaner/smarter
[*] CORE : Attributes from Spartoo and now cached and only the one needed by the profiles are loaded (save memory)

PrestaShop Spartoo Module version 2.0.06 – 10 January 2016

Fixed bugs:

[*] FIX : It is now possible to set a mapping value to NULL

Improved/changed features:

[] CORE : Mondial Relay orders implemented [] CORE : Customer group implemented
[] CORE : Optimisation to load XML provisionning [] CORE : Optimisation to save categories
[] CORE : Added new “selections” field for sport products [] BO : N/A
[*] FO : N/A

PrestaShop Spartoo Module version 2.0.04 – 18 April 2016

Fixed bugs:

[] FIX : Path to backward_compatibility in controllers/admin/AdminSpartooOrdersController.inc.php [] FIX : XML with error is now displayed when sending products to Spartoo
[] FIX : If no country is selected, the default one is used [] FIX : field is now available when only one country is selected
[] FIX : id_lang to retrieve images [] FIX : SQL query to fetch products with only active products

Improved/changed features:

[*] BO : Print the delivery slip from Spartoo (xml_export_bl) on order page

PrestaShop Spartoo Module version 2.0.03 – 3 December 2015

Improved/changed features:

[*] BO : Added more configuration checks

Back to module description