CDiscount Marketplace Changelog
App updates
Changelog for Prestashop – Cdiscount Marketplace
Latest updates and release history for Prestashop – Cdiscount Marketplace.
v4.5.35
Update
Fixed
New feature
Removed
Updated
Added
Accepted Hat Size Attributes
Added JSON file for accepted hat sizes: json\products-integration\attributes\accepted_hat_size.json.
Added
Accepted Shirt Size Attributes
Added JSON file for accepted shirt sizes: json\products-integration\attributes\accepted_shirt_size.json.
Added
OSP Name Translations (EN/FR/ES)
Added translations for OSP names based on language code as displayed in the seller portal.
Added
Delivery Modes JSON Configuration
Added delivery modes configuration via JSON files under json\delivery-modes\.
Fixed
Colissimo Service ID Retrieval
Corrected logic for retrieving Colissimo service ID.
Fixed
Relay Number Format Validation
Relay number must now be a 6-character string.
Fixed
Mondial Relay Order Association
Correctly associates Cdiscount orders with the Mondial Relay module.
Fixed
Cdiscount::$url Visibility
Changed access level of Cdiscount::$url to public (aligned with ModuleCore).
Fixed
Undefined Constant (PS_PROD_IMG_DIR)
Handled missing _PS_PROD_IMG_DIR_ constant in PrestaShop 9.0.0.
Updated
Null Coalescing Syntax Compatibility
Replaced $variable1 ?? $variable2 with $variable1 ? $variable1 : $variable2.
Updated
.gitignore Configuration
Updated .gitignore file.
Updated
Order Address Handling
Second line of order address is optional and no longer modified during import.
Updated
Field Size Property Usage
Replaced deprecated $fieldsSize with $definition['fields']['{column_name}']['size'].
Updated
Folder Naming Convention
Renamed json/products_integration/ to json/products-integration/.
Updated
stripslashes Usage
Replaced Tools::stripslashes() with stripslashes().
Updated
Validation Rules Method
Replaced ObjectModel::getValidationRules() with CommonValidate::getValidationRules().
Updated
Spelling Correction
Corrected “occured” to “occurred”.
Updated
Documentation URLs
Updated module documentation links for EN and FR.
Updated
Transportation Tab
Updated Transportation tab configuration.
Updated
Mapping Tab (Attributes/Features)
Updated attributes and features mapping section.
Removed
Class Constant Visibility Declaration
Removed explicit public visibility declaration for class constants.
Removed
Return Type Declarations
Removed return type declarations for compatibility.
Removed
Optional Carriers Section
Removed optional carriers section from Transportation tab.
Removed
Nullable Type Hints
Removed modern ?string type hints for validator compliance.
v4.5.34
Update
Fixed
New feature
Removed
Updated
Added
config.xml File
Added config.xml file to the module.
Added
Mondial Relay Table Integration (Orders)
Cdiscount orders are now inserted into mondialrelay_selected_relay table if available, enabling label generation visibility.
Added
Carrier Module Association
Cdiscount orders are now associated with both Colissimo and Mondial Relay modules.
Added
Crisp Chat Integration
Crisp chat has been integrated into the module.
Added
Octopia Seller API Documentation
Added reference to Octopia Seller API documentation.
Added
Module Changelog Link
Added direct link to module changelog.
Fixed
trim() Deprecation Warning
Resolved deprecation warning when passing null to trim() in cdiscount.tools.class.php.
Updated
.gitignore Configuration
Updated .gitignore file.
Updated
getUpdateProducts Function
Updated logic within getUpdateProducts.
Removed
Unused Directories and Files
Removed tips/, demo export ZIP files, and logs/product_update/ directory.
Removed
displayAdminOrderMain Hook
Removed displayAdminOrderMain hook.
Removed
Earliest Shipping Datetime Removal
Removed “Instructions” field from order data.
v4.5.33
Update
Fixed
New feature
Removed
Updated
Added
PrestaShop Dev Tools
Added development tooling configuration based on:
https://devdocs.prestashop-project.org/8/modules/testing/advanced-checks/
PHPStan, Fixer, CodeSniffer rules
PrestaShop Dev Tools to improve code qualitycomposer require --dev prestashop/php-dev-tools
PHP CS Fixer
To fix coding stylecomposer require --dev friendsofphp/php-cs-fixer
php vendor/bin/php-cs-fixer fix . --verbose --config=.php-cs-fixer.dist.php
PHPStan
For static analysiscomposer require --dev phpstan/phpstan
php vendor/bin/phpstan analyse -c tests/phpstan/phpstan.neon
php vendor/bin/phpstan analyse .
PHPUnit
To run testscomposer require --dev phpunit/phpunit
php vendor/bin/phpunit
PrestaShop Autoindex
For securitycomposer require --dev prestashop/autoindex
php vendor/bin/autoindex prestashop:add:index .
PrestaShop Header Stamp
For license headerscomposer require --dev prestashop/header-stamp
php vendor/bin/header-stamp --exclude=vendor --exclude=node_modules
PHP CodeSniffer
For optional coding standard fixcomposer require --dev squizlabs/php_codesniffer
php vendor/bin/phpcbf --ignore=vendor/*,node_modules/* .
php vendor/bin/phpcs --ignore=vendor/*,node_modules/* .
Added
Missing index.php in folders
Added missing index.php files in module directories.
Added
Missing License Header
The missing license header has been added in each CSS, JS, PHP, and TPL file.
Added
Module Build Scripts
Module build scripts have been added.
Fixed
Compatibility Issues
Resolved multiple module compatibility errors.
Fixed
Non-Unique HTML IDs
Resolved issues with duplicate element IDs.
Fixed
Invalid Security Key
Corrected invalid security key handling.
Fixed
SQL Injection Risk
Sanitized SQL request variables.
Updated
.gitignore Configuration
Updated .gitignore file.
Updated
PrestaShop Validation Compliance
Adjusted module to comply with PrestaShop validation rules.
Updated
PHP-CS-Fixer Rules
Updated coding standards configuration.
Updated
Order Shipping/Delivery Datetime
Corrected incorrect shipping and delivery datetimes.
Updated
Earliest Shipping Datetime Removal
Removed earliest shipping datetime as not provided by Octopia.
Updated
Credentials Field UI Width
Set width of client ID, client secret, and seller ID fields to 500px.
Updated
Code Formatting
Formatted JS and PHP files.
Removed
Legacy PrestaShop Support
Removed backward compatibility for PrestaShop versions below 1.6.
v4.5.32
Update
Fixed
New feature
Updated
Added
PHP-CS-Fixer Rule (single_blank_line_at_eof)
Added single_blank_line_at_eof rule to coding standards.
Fixed
Undefined Variables (API Wrapper)
Resolved undefined variables in cdiscount.apiwapper.class.php.
Fixed
Order Import (In-Preparation State)
Resolved issue preventing import of “in-preparation” orders.
Fixed
Loose Comparison Issue (0E Strings)
Avoided loose comparison issues for strings starting with 0E in model templates.
Updated
GDPR Compliance
Updated module for GDPR compliance.
Updated
Octopia Connection Documentation
Updated documentation for Octopia connection configuration.
Updated
Smarty Template Formatting
Formatted credentials.tpl template file.
Updated
Product Title Handling
Product title remains unchanged if no format is selected.
Updated
Offer Submission Interval
Increased waiting time to 10 minutes between offer package submissions.
Updated
Mapping Tab Layout
Moved attribute section above feature section.
Updated
Email Handling
Removed encrypted email and used email field from Octopia order response.
Updated
Octopia Webservice Integration
Applied category, carrier, order, product, and seller services from Octopia Webservice.
v4.5.31
Update
Fixed
Updated
Fixed
Missing Order Status on Import
Resolved issue where order status was missing during import.
Updated
Order Status Cron Query
Order status cron now supports querying orders within a date range.
Updated
Cleanup of Demo XML Folder
Removed xml/demo folder.
v4.5.30
Update
Fixed
Updated
Fixed
Universes File Loading
Resolved issue preventing universes file from loading.
Fixed
Model Creation Failure
Resolved issue preventing model creation.
Fixed
stdClass to String Conversion Error
Resolved error when converting stdClass object to string.
Updated
Access Token Caching
Seller access token is no longer cached.
v4.5.29
Update
Updated
Updated
Directory Security (index.php Requirement)
Each folder must contain an index.php file to prevent unauthorized access to repository contents.
v4.5.28
Update
Fixed
New feature
Updated
Added
Attribute Mapping in Model
Added support for mapping attributes within the model configuration.
Added
Hook displayAdminProductsExtra (PrestaShop 1.7)
Installed displayAdminProductsExtra hook for PrestaShop 1.7 compatibility.
Added
Update Inactive Products Option
Added option to allow updating inactive products during export.
Added
Update Out-of-Stock Products Option
Added option to allow updating out-of-stock products during export.
Added
Accepted Jewelry Size Attributes
Added JSON file for accepted jewelry sizes: json\products-integration\attributes\accepted_jewelry_size.json.
Added
EAN Validation Before Offer XML
Added validation to ensure product has EAN before inclusion in offer XML.
Added
Category Variant Indicator (isVariant)
Added isVariant field to categories JSON list.
Fixed
Required Attribute Enforcement (46830)
Ensured attribute 46830 is properly required.
Fixed
Product Size Attribute Handling
Corrected incorrect or missing product size attributes.
Fixed
Offer Package Format Validation
Resolved issues where offer package format was invalid.
Fixed
VariantGroupReference Usage
Ensured VariantGroupReference is only provided for variant categories.
Fixed
StrikedPrice Format Validation
Corrected validation for StrikedPrice format and pattern.
Updated
StrikedPrice Type Validation
Ensured StrikedPrice is correctly handled as float.fications.
Fixed
StrikedPrice Rule Validation
Ensured StrikedPrice is greater than or equal to Price.
Fixed
Price Format Rule
Enforced correct price format (10 digits before decimal, 2 after).
Updated
Accepted Shoe Size Attributes
Updated JSON file for accepted shoe sizes.
Updated
Accepted Color Attributes
Updated JSON file for accepted color attributes.
Updated
Variant-to-Standard Conversion Logic
Allows conversion of variant products into multiple standard products for categories that do not support variants.
Updated
Categories JSON Path
Updated categories JSON path to json\products-integration\categories\categories.json.
Updated
Category Label Display
Displays “is variant” text after level 3 category name.
Updated
Universes Template Cleanup
Removed unused universes template.
v4.5.27
Update
Fixed
New feature
Updated
Added
PHP CS Fixer Integration
Added PHP CS Fixer with command vendor/bin/php-cs-fixer fix for coding standards compliance.when listing, accepting, and importing orders.
Read more here: https://devdocs.prestashop-project.org/8/modules/testing/basic-checks/#coding-standards
Added
PHPStan Integration
Added PHPStan with command vendor/bin/phpstan analyse . --memory-limit=2G for static analysis.
Read more here: https://devdocs.prestashop-project.org/8/modules/testing/advanced-checks/
Fixed
Template Loading Issue
Resolved issue preventing template loading.
Updated
PrestaShop Validation Compliance
Updated module to comply with PrestaShop validation rules.
Updated
Class Naming Standardization
Renamed CDiscount class to Cdiscount.
Updated
Installation Configuration Behavior
Module no longer updates configuration during installation.
Updated
Uninstallation Configuration Behavior
Module no longer deletes configuration during uninstallation.
v4.5.26
Update
Fixed
New feature
Updated
Added
Service Fees Handling (Orders)
Added service fee handling when listing, accepting, and importing orders.
Added
Mandatory Category Indicator
Added red asterisk for mandatory category property reference.
Added
Service Fees in Specific Fee Calculation
Included service fees in total calculation (products, shipping, wrapping).
Fixed
Missing Variant Attributes (Color/Size)
Ensured mandatory attributes are included when integrating variant products.
Fixed
Incorrect Shipping Status Handling
Prevented shipping already shipped orders.
Fixed
In-Stock Filter Issue
Resolved issue where in-stock option did not work in export products.
Updated
Order Listing Table
Modified order listing table structure.
Updated
Delivery Modes List
Updated list of accepted delivery modes.
Updated
Template Structure Refactor
Split cdiscount.tpl into multiple files for maintainability.
Updated
Module Branding
Updated Cdiscount logo.
v4.5.25
Update
Fixed
New feature
Updated
Added
Model Properties in Product Integration
Included model properties in product integration package.
Added
Order Import Cron Filters
Added parameters channel-select, created-at-min, created-at-max, and status for cron-based order import filtering.
Fixed
Variant Product Integration
Resolved issues with integrating variant products.
Fixed
ShippingCharges Rounding
Ensured ShippingCharges is rounded to 2 decimal places in full offer package.
Fixed
Missing Address2 Import
Resolved issue where Address2 was not imported.
Fixed
Product Condition in Offer Package
Corrected incorrect product condition values.
Updated
Delivered Order Import Support
Allowed importing orders with Delivered status.
Updated
Phone Field Mapping
Mapped mobile phone to phone field during import.
Updated
Order Status Cron Date Range
Uses updated date for date range in order status cron.
Updated
Universes Loading Logic
Loads universes by filtering level 1 category label.
v4.5.24
Update
Fixed
Fixed
C Logistique Order Flag (IsCLogistiqueOrder)
Corrected handling of IsCLogistiqueOrder value in order response.
Fixed
C Logistique Order State Mapping
Ensured C Logistique order states are mapped correctly during import.
CDiscount Module – What’s New, First Quarter 2015
Fashion Category – At least one free shipping fee
From 02/17 all the products of the Fashion category will have at least one free shipping fee (normal, followed, recommended, global relay and/or relay box), otherwise the corresponding offer will not appear on CDiscount.
You bought the module by subscribing to the optional updates (Serenity) and your purchase is less than a year, you can get a free upgrade.
The module now allows you to apply this mandatory consideration:

But also to include all or part of the shipping fee normally calculated in the product price with the possibility to set a limit as a percentage of the product price, as shown in the configuration profile sample above.
So you can for example include 20% of the original shipping fee but not exceeding the price of the product, the module will cap the 20% to 10% of the product price in the example shown.
Messaging Tab
From March 2015, you can automatically send invoices as email attachments to the customer.
Will show you an order status since the time when it has been automatically triggered the sending of the PDF invoice to the customer:

You can also attach conditions of sale or return of products, also in PDF format.
PrestaShop Cronjobs
The PrestaShop Module Cronjobs made a discreet appearance in PrestaShop, but it is a revolution for users of PrestaShop;
Managing your scheduled tasks (cron) is now centralized in your PrestaShop backoffice and is a cinch to set up, you specify the URL of the task and the frequency.
In addition to this ease, we have added in the CDiscount module eponymous tab a button that configures your PrestaShop module Cronjobs with the tasks necessary to the marketplace, the frequency we recommend, that way you have nothing to configure.

Then you will see the performance of your stock updates by viewing the module log:

Please note that the screenshot of this post are in french, as the module targets the french market. It is available in english for international sellers for their convenience.