Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3e18833
Fix: PHP Fatal error when deleting product image by Webservice API #3…
semicolonSimp Jan 4, 2026
e7764eb
Fix legacy profiler in the back office
kpodemski Jan 9, 2026
0c05e4c
Remove unused import of SymfonyContainer
kpodemski Jan 9, 2026
dfa00e9
Fix wanted quantity
Hlavtox Jan 18, 2026
d71df5d
Fix minimal quantity input once for all
Hlavtox Jan 18, 2026
b8d3128
Fix add to cart button, tests, add comments
Hlavtox Jan 18, 2026
890fc8b
Make values available in lazy array for listing
Hlavtox Jan 20, 2026
72df87a
Update VAT rates for Estonia and Romania
Codencode Jan 20, 2026
6f4e814
Limit classic and humming bird theme to patches only
jolelievre Jan 21, 2026
9a3513a
Merge pull request #40562 from Codencode/fix/vat-rates-ee-ro
Touxten Jan 22, 2026
454876d
Merge pull request #40479 from kpodemski/fix/profiler-filesize-check
kpodemski Jan 22, 2026
d2f0e6f
Add missing hooks in configuration
jolelievre Jan 22, 2026
2e70a2b
Update modules
jolelievre Jan 22, 2026
3cf76d4
Merge pull request #40585 from jolelievre/preliminary-tasks
jolelievre Jan 22, 2026
e4e3d6a
Update Changelog 9.0.3
jolelievre Jan 22, 2026
4d30c5f
Merge pull request #40588 from PrestaShop/changelog-903
jolelievre Jan 22, 2026
48d3a8a
Merge pull request #40442 from semicolonSimp/Prevent-error-on-deletin…
kpodemski Jan 22, 2026
e89c20f
Merge pull request #40538 from Hlavtox/fix-product-quantities
Hlavtox Jan 23, 2026
50bfc65
Test for discounts for guest creation
kpodemski Jan 23, 2026
dfb235c
Update classic to 3.0.6
Hlavtox Jan 26, 2026
216280c
Functional Tests : Fixed campaigns (Part 4)
Progi1984 Jan 21, 2026
5bab1e8
Functional Tests : Bump @prestashop-core/ui-testing
Progi1984 Jan 26, 2026
6ad420b
Merge pull request #40565 from Progi1984/91x_h2_part4
Progi1984 Jan 28, 2026
8b02481
Merge pull request #40607 from Progi1984/90x_bump
Progi1984 Jan 28, 2026
9644cfd
Merge pull request #40604 from Hlavtox/bump-classic
ShaiMagal Jan 29, 2026
cde770d
Merge pull request #40596 from kpodemski/fix/order-creation-for-guest…
kpodemski Jan 29, 2026
173e3a2
Merge branch '9.0.x' into merge-90-91-290126
jolelievre Jan 29, 2026
55087c1
Fix changelog order
jolelievre Jan 29, 2026
dc036f3
Merge pull request #40639 from jolelievre/merge-90-91-290126
nicosomb Jan 30, 2026
bf032f2
Add discountType endpoint
nicosomb Jan 29, 2026
620118a
Fix configuration of Dev mode and Debug profiling in the back office
kpodemski Jan 31, 2026
5df6ce4
Merge pull request #40536 from nicosomb/add-discount-type-endpoint
nicosomb Feb 2, 2026
c0d8136
Merge pull request #40657 from kpodemski/fix/36487
Hlavtox Feb 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ GitHub contributors:
- Georges Cubas
- Gerdus van Zyl
- ggedamed
- Giuseppe Tripiciano
- Giant Leap Lab
- Ginkosama
- ginodev
Expand Down Expand Up @@ -399,6 +400,7 @@ GitHub contributors:
- indesign47
- Ines Sallemi
- Inetbiz
- Inform-All
- ironwo0d
- Ish Gupta
- Ishiki
Expand Down Expand Up @@ -852,6 +854,7 @@ GitHub contributors:
- Salim Benouamer
- Sam Berry
- sallemiines
- Salvo Passaro
- Sam
- Sam Sanchez
- Samir Shah
Expand Down
7 changes: 2 additions & 5 deletions classes/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/

use PrestaShop\PrestaShop\Adapter\SymfonyContainer;
use PrestaShop\PrestaShop\Core\Exception\InvalidArgumentException;
use PrestaShop\PrestaShop\Core\Image\ImageFormatConfiguration;

Expand Down Expand Up @@ -930,17 +929,15 @@ public function getPathForCreation()
*/
private function deleteAutoGeneratedImage(array $imageType, string $imageFormat, array $filesToDelete): array
{
$configuration = SymfonyContainer::getInstance()->get('prestashop.adapter.legacy.configuration');

// Regular thumbnail
$filesToDelete[] = $this->image_dir . $this->getExistingImgPath() . '-' . $imageType['name'] . '.' . $imageFormat;

// Old 2x thumbnail, if present
$filesToDelete[] = $this->image_dir . $this->getExistingImgPath() . '-' . $imageType['name'] . '2x.' . $imageFormat;

// Watermarked thumbnail, if present
if ($configuration->get('WATERMARK_HASH')) {
$filesToDelete[] = $this->image_dir . $this->getExistingImgPath() . '-' . $imageType['name'] . '-' . $configuration->get('WATERMARK_HASH') . '.' . $imageFormat;
if (Configuration::get('WATERMARK_HASH')) {
$filesToDelete[] = $this->image_dir . $this->getExistingImgPath() . '-' . $imageType['name'] . '-' . Configuration::get('WATERMARK_HASH') . '.' . $imageFormat;
}

return $filesToDelete;
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"prestashop/blockreassurance": "^5",
"prestashop/blockwishlist": "^3.0",
"prestashop/circuit-breaker": "^4.0",
"prestashop/classic": "^3",
"prestashop/classic": "~3.1.0",
"prestashop/contactform": "^4",
"prestashop/dashactivity": "^2",
"prestashop/dashgoals": "^2",
Expand All @@ -71,7 +71,7 @@
"prestashop/hummingbird": "^2.0",
"prestashop/pagesnotfound": "^3",
"prestashop/productcomments": "^8.0",
"prestashop/ps_apiresources": "dev-add-combinations-endpoint",
"prestashop/ps_apiresources": "dev-add-discountType-resource",
"prestashop/ps_banner": "^2",
"prestashop/ps_bestsellers": "^1.0",
"prestashop/ps_brandlist": "^1.0",
Expand Down Expand Up @@ -212,7 +212,7 @@
},
"ps_apiresources": {
"type": "vcs",
"url": "https://github.com/sebajps/ps_apiresources"
"url": "https://github.com/PrestaShop/ps_apiresources"
}
},
"minimum-stability": "dev",
Expand Down
56 changes: 29 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading