PrestaShop Core Weekly – Week 43 of 2021

PrestaShop Core Weekly – Week 43 of 2021

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 25th to Sunday 31th of October 2021.

Core Weekly banner

Releases

A quick update about PrestaShop’s GitHub issues and pull requests:

Code changes in the ‘develop’ branch

Core

  • #26408: Use _PS_PRODUCT_IMG_DIR_ instead of _PS_PROD_IMG_DIR_ to avoid confusion with prod and dev env. Thank you @PululuK
  • #26395: PaymentModule: an array is only updated, but never queried, by @Matt75
  • #26312: Remove isPresent() in PrestaShopLogger. Thank you @PrestaEdit
  • #26310: Remove getJqueryPath() method. Thank you @PrestaEdit
  • #26292: Remove deprecated admin/ajax.php and js/admin-categories-tree.js, by @eternoendless
  • #26268: Deleting extra parameter. Thank you @christophe-rouille
  • #26164: PHPStan (Level 2) on classes/, by @Progi1984
  • #25794: Remove upgrade scripts in favor of autoupgrade process, by @PierreRambaud
  • #25406: Add doc block and improve readability of HistoryController::getUrlToInvoice & HistoryController::getUrlToReorder. Thank you @Sinepel
  • #24707: PrestashopLogger should save object type, even if object id is not set. Thank you @lmeyer1

Back office

  • #26464: Use latest npm version on JS routing GA, by @NeOMakinG
  • #26372: Dashboard – Correct display of the titles with panel-heading when the screen is reduced, by @khouloudbelguith
  • #26353: Fix display edit country. Thank you @okom3pom
  • #26241: Disable sorting on customer discount vouchers. Thank you @tegbessou
  • #26215: Checked select all checkboxes if all options are checked. Thank you @tegbessou
  • #26068: Fix footer from next invoice shown on invoice when exporting multiple invoices. Thank you @Ashley-Butcher
  • #26060: Clean Back-office templates, part 1 – common. Thank you @Hlavtox
  • #26021: Update every package-lock with npm 7, by @NeOMakinG
  • #25265: Add employee in mobile menu and quickaccess on search bar on mobile migrated pages, by @NeOMakinG
  • #21420: Set filters placeholder for Yes/NO & Fix bug when filters are emptied, by @Progi1984

Front office

Tests

Code changes in the ‘1.7.8.x’ branch

Core

Back office

Front office

Code changes in modules, themes & tools

GDPR module

Psssst Module analyzer

Changes in developer documentation sources

Search Bar module

Customer reassurance block module

Faceted search module

Sales and orders statistics module

presthubot

  • #39: Command slack:notifier : Remove modules with PR release from modules which need release, by @Progi1984
  • #38: Remove command github:review:report, by @Progi1984

PrestaShop Specifications

PrestaShop test scenarios

Auto Upgrade module

User documentation landing page

  • #147: chore(deps-dev): bump sass from 1.43.3 to 1.43.4. Built by @dependabot
  • #146: fix(deps): bump core-js from 3.18.3 to 3.19.0. Built by @dependabot
  • #145: chore(deps-dev): bump eslint-plugin-nuxt from 1.0.0 to 3.0.0. Built by @dependabot

Wishlist block module

New 8.0.0 Front-office theme

  • #95: Add number input and product thumbnail slider behavior, by @NeOMakinG
  • #94: Do not display unnecessary li tag ( ps_categorytree ). Thank you @okom3pom
  • #93: Fix working HMR for not vhost local environment . Thank you @Oksydan

Viewed products block module

The PrestaShop open source project

Available quantities statistics module

Product Comments module

Contact Form module

  • #57: Remove PrestaShop Addons Marketplace on configuration page, by @Matt75

Custom text module

Product details statistics module

  • #54: Do not display unnecessary li tag. Thank you @okom3pom

Best-selling products statistics module

  • #11: Replace deprecated displayPrice methods. Thank you @Hlavtox

Best categories statistics module

  • #12: Replace deprecated displayPrice methods. Thank you @Hlavtox

Best vouchers statistics module

  • #11: Replace deprecated displayPrice methods. Thank you @Hlavtox

Stats Dashboard module

  • #20: Replace deprecated displayPrice methods. Thank you @Hlavtox

Wire payment module

  • #64: Replace deprecated displayPrice methods. Thank you @Hlavtox

Check payment module

  • #52: Replace deprecated displayPrice methods. Thank you @Hlavtox
  • #51: Respect display_taxes_label setting when showing amount. Thank you @tswfi

Cash on delivery module

  • #37: Replace deprecated displayPrice methods. Thank you @Hlavtox
  • #46: Replace deprecated displayPrice methods. Thank you @Hlavtox
  • #34: Fixed Refunds in Total Sales Calculation, by @Progi1984

Dashboard Products module

Email Alerts module

  • #95: Replace deprecated displayPrice methods. Thank you @Hlavtox

Pages not found module

Shopping cart module

  • #79: Do not use legacy hook header alias , use displayHeader instead, by @PierreRambaud

Issues Bot

Architecture Decision Records repository

  • #22: Update 0014-drop-the-no-use-of-legacy-in-new-code-restriction.md, by @kpodemski

Catalog statistics module

Paymentexample module

Webservices PHP Client

  • #43: Allow price parameter in request URL for price management. Thank you @matthieume

Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @jolelievre, @okom3pom, @atomiix, @alexandrebrubeyonds, @NeOMakinG, @PierreRambaud, @dependabot, @eternoendless, @Progi1984, @boubkerbribri, @Saimis777, @hibatallahAouadni, @kpodemski, @Hlavtox, @jf-viguier, @PululuK, @intraordinaire, @Wrenbjor, @Matt75, @marwachelly, @Oksydan, @khouloudbelguith, @a-pare, @Prestaworks, @PrestaEdit, @nesrineabdmouleh, @christophe-rouille, @tswfi, @tegbessou, @matthieu-rolland, @matks, @mparvazi, @Ashley-Butcher, @psyray, @Sinepel, @lmeyer1, @moncef-essid, @Quetzacoalt91, @matthieume!

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!

This post is also available in: PrestaShop Core Weekly - Week 43 of 2021English