PrestaShop Core Weekly - Week 2 of 2022
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 10th to Sunday 16th of January 2022.
A quick update about PrestaShop’s GitHub issues and pull requests:
- 47 new issues have been created in the project repositories;
- 46 issues have been closed, including 18 fixed issues on the core;
- 128 pull requests have been opened in the project repositories;
- 126 pull requests have been closed, including 109 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #27339: Set disabled class for label if the input is disabled, by @Progi1984
- #27337: Upgrade Smarty to 3.4.43, by @matks
- #27291: Removed deprecated in class Cookie, by @Progi1984
- #27242: Remove code about AdminSupplyOrders, AdminStockCover, AdminStockInstantState, AdminStockConfiguration & AdminStockMvt, by @Progi1984
- #27223: Add new hook
actionFilterDeliveryOptionList
. Thank you @PululuK - #27127: Allow overriding
_PS_DISPLAY_COMPATIBILITY_WARNING_
in defines_custom.inc.php. Thank you @PrestaEdit - #27111: Remove Tools::addonsRequest(‘module’) calls, by @Progi1984
Back office
- #27317: Fix form mapper to handle mapping with only one selector, by @jolelievre
- #27273: Clean shortcuts code from product form, by @jolelievre
- #27052: Fix unclosed foreach. Thank you @okom3pom
- #26700: In BackOffice, fixed problems for RTL languages. Thank you @mparvazi
- #26617: Update combination using delta quantity. Thank you @zuk3975
- #25742: Add specific price modal in experimental product page. Thank you @zuk3975
Front office
Tests
- #27349: Fix nightly 12/01/2022 - Fix Credit slip options test. Thank you @nesrineabdmouleh
- #27287: PHPStan (Level 5) on tests/, by @Progi1984
- #27269: Create basic helper file. Thank you @nesrineabdmouleh
- #27247: PHPStan (Level 5) on tests-legacy/, by @Progi1984
Code changes in the ‘1.7.8.x’ branch
Back office
- #27259: Fix left padding of header when sidebar menu is closed, by @NeOMakinG
Code changes in modules, themes & tools
Registrations statistics modules
- #15: Set tab property. Thank you @PrestaEdit
Google Sitemap module
- #150: Set property tab. Thank you @PrestaEdit
- #149: Bump prestashop/php-dev-tools from 3.15.1 to 3.16.1. Built by @dependabot[bot]
Social Follow module
- #31: Set tab property. Thank you @PrestaEdit
Shop search statistics module
- #18: Set tab property. Thank you @PrestaEdit
- #17: Revert “Set tab property”, by @Progi1984
- #16: Set tab property. Thank you @PrestaEdit
- #14: Release 2.0.2, by @PierreRambaud
Best sellers module
- #20: Set tab property. Thank you @PrestaEdit
- #19: Revert “Set tab property”, by @matthieu-rolland
- #18: Set tab property. Thank you @PrestaEdit
Products in the same category module
- #30: Set tab property. Thank you @PrestaEdit
- #29: Set tab property. Thank you @PrestaEdit
Dashboard Goals module
- #27: Set tab property. Thank you @PrestaEdit
Catalog evaluation statistics module
- #22: Set tab property. Thank you @PrestaEdit
Best-selling products statistics module
- #15: Set tab property. Thank you @PrestaEdit
- #13: Release 2.0.1, by @PierreRambaud
Sales and orders statistics module
- #28: Set tab property. Thank you @PrestaEdit
Product details statistics module
- #30: Set tab property. Thank you @PrestaEdit
Available quantities statistics module
- #20: Set tab property. Thank you @PrestaEdit
Best categories statistics module
- #16: Set tab property. Thank you @PrestaEdit
- #14: Release 2.0.1, by @PierreRambaud
Customer data privacy block module
- #37: Set tab property. Thank you @PrestaEdit
Best customers statistics module
- #26: Set tab property. Thank you @PrestaEdit
- #23: Do not use hook AdminStatsModules alias, use displayAdminStatsModules & Bump version to 2.0.4. Thank you @PrestaEdit
Best suppliers statistics module
- #13: Set tab property. Thank you @PrestaEdit
Pages not found module
- #21: Set tab property. Thank you @PrestaEdit
- #19: Release 2.0.2, by @PierreRambaud
Dashboard Activity module
- #30: Set tab property. Thank you @PrestaEdit
Stats Dashboard module
- #24: Set tab property. Thank you @PrestaEdit
Newsletter statistics module
- #14: Set tab property. Thank you @PrestaEdit
- #12: Release 2.0.3, by @PierreRambaud
Registered customer information statistics module
- #18: Set tab property. Thank you @PrestaEdit
- #15: Release 2.0.4, by @PierreRambaud
Dashboard Products module
- #39: Set tab property. Thank you @PrestaEdit
Catalog statistics module
- #24: Set tab property. Thank you @PrestaEdit
Best vouchers statistics module
- #15: Set tab property. Thank you @PrestaEdit
- #13: Release 2.0.1, by @PierreRambaud
Best manufacturers statistics module
- #13: Set tab property. Thank you @PrestaEdit
Data mining for statistics module
- #22: Set tab property. Thank you @PrestaEdit
Carrier distribution statistics module
- #13: Set tab property. Thank you @PrestaEdit
- #11: Release 2.0.1, by @PierreRambaud
Cross-selling module
- #32: Set tab property. Thank you @PrestaEdit
Email subscription module
- #87: Set tab property. Thank you @PrestaEdit
New Products module
- #12: Set tab property. Thank you @PrestaEdit
Banner module
- #41: Set tab property. Thank you @PrestaEdit
Language selector module
- #27: Set tab property. Thank you @PrestaEdit
Customer “Sign in” link module
- #43: Set tab property. Thank you @PrestaEdit
Customer account links module
- #38: Set tab property. Thank you @PrestaEdit
Custom text module
- #68: Set tab property. Thank you @PrestaEdit
Currency selector
- #26: Set tab property. Thank you @PrestaEdit
Search Bar module
- #45: Set tab property. Thank you @PrestaEdit
- #43: Improved displaying of the search bar placeholder, by @kpodemski
Theme customization module
- #50: Set tab property. Thank you @PrestaEdit
Special offers module
- #6: Set tab property. Thank you @PrestaEdit
Share Buttons module
- #52: Set tab property. Thank you @PrestaEdit
Customer reassurance block module
- #338: Bump mini-css-extract-plugin from 2.4.6 to 2.4.7. Built by @dependabot[bot]
- #337: Bump webpack from 5.65.0 to 5.66.0. Built by @dependabot[bot]
User documentation landing page
- #178: chore(deps-dev): bump sass from 1.47.0 to 1.48.0. Built by @dependabot[bot]
- #177: chore(deps-dev): bump sass from 1.46.0 to 1.47.0. Built by @dependabot[bot]
Core Weekly Generator tool
- #110: Bump follow-redirects from 1.9.0 to 1.14.7. Built by @dependabot[bot]
- #109: Handle unknown branches, by @matks
New Front-office theme
- #149: Remove empty scripts after build. Thank you @mparvazi
- #148: Auto RTL feature. Thank you @mparvazi
Buy button lite module
- #57: Bump follow-redirects from 1.5.2 to 1.14.7 in /app. Built by @dependabot[bot]
Faceted search module
- #592: Bump webpack from 5.65.0 to 5.66.0. Built by @dependabot[bot]
- #591: Bump @babel/register from 7.16.8 to 7.16.9. Built by @dependabot[bot]
- #590: Bump @babel/node from 7.16.7 to 7.16.8. Built by @dependabot[bot]
- #588: Bump @babel/cli from 7.16.7 to 7.16.8. Built by @dependabot[bot]
- #587: Bump @babel/preset-env from 7.16.7 to 7.16.8. Built by @dependabot[bot]
PrestonBot
- #125: Bump smarty/smarty from 3.1.39 to 3.1.43. Built by @dependabot[bot]
Decimal
Example modules
- #84: Fix compatibility version, by @kpodemski
Changes in developer documentation sources
- #1268: Fix link to symfony doc (form as service). Thank you @SebSept
- #1266: Add link to all example modules. Thank you @okom3pom
- #1265: Add link to all example modules. Thank you @okom3pom
- #1264: Add displayAfterTitleTag hook. Thank you @jf-viguier
- #1263: add displayAfterTitleTag hook. Thank you @jf-viguier
- #1254: Refer to nodejs compatibility table and add node 16, by @NeOMakinG
Changes in developer documentation site
Contact informations module
- #44: Fix trying to access array offset on value of type null. Thank you @Hlavtox
- #43: Add shop legal details to template. Thank you @Hlavtox
Wishlist block module
- #154: Use translated string for the Sort by: in lists, by @NeOMakinG
- #152: Disable add-to-cart button when you click on it until the bootstrap modal hide, by @NeOMakinG
- #151: Correct error when coming back to another combination, by @NeOMakinG
- #150: Add flash notification on form save, by @NeOMakinG
- #148: Remove unused class doing conflic with corejs, by @NeOMakinG
Product Comments module
- #125: To prevent google from indexing the icon names use data-icon and css to show the icons. Thank you @tswfi
Payment example module
- #7: Create README.md. Thank you @daptordarattler
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @PrestaEdit, @Progi1984, @matthieu-rolland, @dependabot[bot], @nesrineabdmouleh, @mparvazi, @matks, @atomiix, @kpodemski, @SebSept, @jolelievre, @okom3pom, @NeOMakinG, @jf-viguier, @Hlavtox, @PululuK, @PierreRambaud, @tswfi, @zuk3975, @daptordarattler!
Thank you to the contributors whose PRs haven’t been merged yet! And of course, a big thank you to all those who contribute with issues and comments on GitHub!
If you want to contribute to PrestaShop with code, please read these pages first:
…and if you do not know how to fix an issue but wish to report it, please read this: How to use GitHub to report an issue. Thank you!
Happy contributin’ everyone!