Skip to content

Commit

Permalink
chore(main): release 3.5.6 (#24)
Browse files Browse the repository at this point in the history
* chore(main): release 3.5.6

* misc(plugin): update prestashop plugin version and chercksum

* misc(standards): fix prestashop plugin standards for module validation

* misc(readme): update readme

* misc(product): check index in LengowProduct

* misc(checksum): update checksum

* misc(standard): fix standards and update checksum

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alexis Hermanns <alexis.hermanns@lengow.com>
  • Loading branch information
github-actions[bot] and alherlengow authored Sep 25, 2024
1 parent 741e513 commit ed4b478
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 15 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog


## [3.5.6](https://github.com/lengow/plugin-prestashop/compare/v3.5.5...v3.5.6) (2024-09-23)


### Bug Fixes

* **lengow:** [ECP-108] Change lengow's logo for the new logo ([#22](https://github.com/lengow/plugin-prestashop/issues/22)) ([741e513](https://github.com/lengow/plugin-prestashop/commit/741e513c494344f339c92bac775a10bbbc85eb23))
* **orders:** [PST-21738] prestashop orders from mirakl are not imported ([#23](https://github.com/lengow/plugin-prestashop/issues/23)) ([3c50b2d](https://github.com/lengow/plugin-prestashop/commit/3c50b2d5725403f45a8250a6cfe6a844a557965f))

## [3.5.5](https://github.com/lengow/plugin-prestashop/compare/v3.5.4...v3.5.5) (2024-08-28)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- **Requires at least:** 1.7.7
- **Tested up to:** 8.1.7
- **Requires PHP:** 7.4
- **Stable tag:** 3.5.5
- **Stable tag:** 3.5.6
- **License:** Apache-2.0
- **License URI:** http://www.apache.org/licenses/LICENSE-2.0

Expand Down
2 changes: 0 additions & 2 deletions classes/models/LengowGender.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,9 @@ public static function getGender($name)
$result = Db::getInstance()->ExecuteS($query);

if ($result && is_array($result)) {

return (string) $result[0]['id_gender'] ?? '';
}

return '';
}
}

5 changes: 4 additions & 1 deletion classes/models/LengowProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,10 @@ protected function getShippingCost($idProductAttribute = null)
protected function getImageLink($name, $idProductAttribute = null)
{
$index = explode('_', $name);
$idImage = $index[1] - 1;
$idImage = (isset($index[1])) ? $index[1] - 1 : null;
if (is_null($idImage)) {
return '';
}
if ($idProductAttribute) {
$attributeImages = $this->combinations[$idProductAttribute]['images'];
if (!empty($attributeImages)) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prestashop/lengow",
"description": "Lengow",
"version": "3.5.5",
"version": "3.5.6",
"autoload": {
"psr-4": {
"Lengow\\": "src/"
Expand Down
18 changes: 9 additions & 9 deletions config/checkmd5.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/fr.php|0688c5e6237bf1c4ebf4d8f7a622a794
/index.php|be8b25f88c14bddd7711e4585ebae316
/it.php|14e76520f64429f3436543e904e13015
/lengow.php|551ea5f47289c2c84351242b10c69ee0
/lengow.php|b00b40fe6d900ecd34863812bb0e915d
/loader.php|b3d94d65d0a074088758bc1e50736a01
/config/index.php|be8b25f88c14bddd7711e4585ebae316
/translations/en.csv|cf623351741049d7c05788415205a56c
Expand Down Expand Up @@ -33,7 +33,7 @@
/classes/models/LengowConfiguration.php|56e7cb5ecb1847656df21ac0625b300d
/classes/models/LengowLog.php|5ca3e0b79356d72945bb5fe721f4f246
/classes/models/LengowHook.php|94a1cb07d3730a3b2a7339cdeb98a342
/classes/models/LengowGender.php|be904df135ff78f17a55ea60ab1413d5
/classes/models/LengowGender.php|ea44d0c65c0bef2f1925bd78cf1d91ed
/classes/models/LengowToolbox.php|16c719778050e0492cbed92d2adf75e1
/classes/models/LengowCarrier.php|ec7de4fba34adbbb30cbde3ef9bb59c8
/classes/models/LengowOrderError.php|a6764f224b3b42fdd5b5c765cef9aaaf
Expand All @@ -44,8 +44,8 @@
/classes/models/LengowPaymentModule.php|7b3d642f1ea4d80eb20571f6fbdfddb7
/classes/models/LengowMethod.php|269ff651d60ba3e2604e3f4ee98ac883
/classes/models/LengowOrderDetail.php|c0ea8445020fc1c49b3d9e7099650d7a
/classes/models/LengowMarketplace.php|a21f95bc5e68dbfe49d5db53c5b04625
/classes/models/LengowProduct.php|b7952d0f3d20ce2b70eb88538cf0a51e
/classes/models/LengowMarketplace.php|4b18f91131193a3eee53d2eb917c5b94
/classes/models/LengowProduct.php|43dbe5291302cf1d1da8c5ed50dd4a2d
/classes/models/LengowCart.php|dd2dc66b0c046a3ef8461807d4432280
/classes/models/LengowMain.php|68ff3498a94537a51bc5e6b61bd854df
/classes/models/LengowList.php|31030820ccfc2ed94bfc5249c72d94f6
Expand Down Expand Up @@ -130,11 +130,11 @@
/views/img/modal-close.png|32cadb3a7cfff33ff4d79b53b817f8e2
/views/img/home-orders.png|db05b21ec6b166d844b42c0e807cb265
/views/img/plugin-update.png|a350fb0045bd61298a90268d0026e022
/views/img/lengow-blue.png|fae0834ea05ab923912a47bbcb3af59b
/views/img/lengow-blue.png|33ff5e10a4ae11fd3c0fc780e1be15ea
/views/img/unplugged.png|55b5eeee08952d538185a659abbbb932
/views/img/plane.png|7d27896af3e0f3cf6e353cccef8f8267
/views/img/clock.png|499ea8d7905f77624cb64b1af3f955b5
/views/img/lengow-white.png|0324647d065652cd15282d7fac4ef8ff
/views/img/lengow-white.png|5de4e9d3f4037deb17f73b257504b102
/views/img/connected-prestashop.png|190c1dd936024ad8bb95d42491e7fe1e
/views/img/flag/XK.png|6d8d386104193e251f4c3077e5bf5d3b
/views/img/flag/PE.png|2213daa82fbd4344c53ed14272064ed3
Expand Down Expand Up @@ -395,13 +395,13 @@
/views/img/home-settings.png|4f7751e943137d3c10b71da358f7b1d7
/views/img/tick.png|93392d528788c75f2c61f48632e3a93e
/views/img/carret-up.png|3e14398dbf0566a04e32160d61fb0dd8
/views/img/lengow-white-big.png|6e6178f2db21104a157aebb27f9a5ca2
/views/img/lengow-white-big.png|d55ced676fd66c03f5dd6ec637c1da15
/views/img/laser-gun.png|5b09dfd39f2c17e6e818e79fdf8c03c0
/views/img/home-products.png|99ff45448ea094f8c70b58a0cd4d9303
/views/img/index.php|be8b25f88c14bddd7711e4585ebae316
/views/img/connected-lengow.png|c80e8065bd5d1568efca50388622fd42
/views/img/connected-lengow.png|0a6a7a3e04ed7f6281f7c24a25cae074
/views/img/box-close.png|73512c2351bfc39c6d10b95a3f2810c3
/views/img/logo-blue.png|20c05b7249c00f126861223ecc5b6ce9
/views/img/logo-blue.png|0d58de36da9bda59f6d3057d77ad9b76
/views/css/bootstrap-datepicker.css|d5260247b97663d887f4efe8ec894353
/views/css/font-awesome.css|bf4b58c946c9234e4a6b9f7a70d38006
/views/css/select2.css|8969ac4614d64a13dfc32e1eb4e731f7
Expand Down
2 changes: 1 addition & 1 deletion lengow.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct()
{
$this->name = 'lengow';
$this->tab = 'export';
$this->version = '3.5.5';
$this->version = '3.5.6';
$this->author = 'Lengow';
$this->module_key = '__LENGOW_PRESTASHOP_PRODUCT_KEY__';
$this->ps_versions_compliancy = [
Expand Down
Binary file modified tools/vars.enc
Binary file not shown.

0 comments on commit ed4b478

Please sign in to comment.