Prestashop oppdateringer

PrestaShop Core Weekly – Week 51 of 2021

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 20th to Sunday 26th of December 2021.

Core Weekly banner

General messages

Dear all, the PrestaShop maintainer team hopes that you are having a good time as the end of the year gets closer! The next Core Weekly will be published in 2022. We would like to thank you once again for being part of this community in 2021. One small step for each of you, one giant leap for the project!

This year has featured many important changes in PrestaShop and PHP.

PHP 8.0.0 was released at the end of 2020 and we have seen it slowly being adopted everywhere during 2021. The same happened for PrestaShop 1.7.7. We launched the public demos, we released PrestaShop 1.7.8 and finally we announced what we expect to happen for the future of PrestaShop. We do not forget the birth of the PHP foundation that we hope will improve greatly how the language evolves.

We hope to see more great news in 2022…

Releases

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

Code changes in the ‘develop’ branch

Core

Back office

Front office

  • #27022: Do not autohook ps_featuredproducts on displayCrossSellingShoppingCart. Thank you @Hlavtox
  • #26898: Display fixed index in profiling for easier navigation. Thank you @unlocomqx
  • #26663: Fix position of cart crosselling hook. Thank you @Hlavtox

Tests

Code changes in the ‘1.7.8.x’ branch

Core

Back office

Front office

Tests

  • #27071: Do not trust the new composer binary mode (cherry pick of #27067), by @atomiix

Code changes in modules, themes & tools

Google Analytics module

  • #107: Check if array key products exists before using it, by @atomiix
  • #106: Make sure autoload file exists before loading it, by @PierreRambaud
  • #104: Update sent transaction date with type sql NOW(). Thank you @gadnis
  • #99: Prevent error when GoogleAnalyticEnhancedECommerce is not set. Thank you @camlafit

Dashboard Activity module

User documentation landing page

  • #171: fix(deps): bump core-js from 3.20.0 to 3.20.1. Built by @dependabot
  • #170: chore(deps-dev): bump sass from 1.45.0 to 1.45.1. Built by @dependabot

Changes in developer documentation sources

  • #49: Remove code related to live update (push), by @atomiix

Dashboard Products module

  • #37: Remove code related to live update (push), by @atomiix

LocalizationFiles

  • #25: Added states (regions) in gy.xml according to ISO 3166-2 and updated …. Thank you @rickygzz
  • #24: Added states in ve.xml according to ISO 3166-2 and updated distance u…. Thank you @rickygzz
  • #23: Added states (departments) in uy.xml according to ISO 3166-2 and upda…. Thank you @rickygzz
  • #21: Added states (departments) in py.xml according to ISO 3166-2, updated…. Thank you @rickygzz
  • #20: Added states (provinces) in ec.xml according to ISO 3166-2.. Thank you @rickygzz
  • #18: Added states (regions) to cl.xml according to ISO 3166-2.. Thank you @rickygzz
  • #15: Added NY, moved DC, added outlying areas AS, GU, MP and UM.. Thank you @rickygzz

MJML Theme Converter

  • #19: Remove link tags generated by mjml.. Thank you @lmeyer1

Customer reassurance block module

Faceted search module

  • #45: Do not autohook on displayCrossSellingShoppingCart. Thank you @Hlavtox

Traces

PrestaShop Specifications

Auto Upgrade module

  • #439: Fix untranslatable Tabs for shops upgraded to 1.7.8.0. Thank you @Prestaworks
  • #437: Drop column id_tax_rules_group in carrier table. Thank you @jf-viguier

Modules Distribution API

  • #1: Refacto, adds new /prestashop endpoints and delete module download endpoint, by @atomiix

Product Comments module

  • #115: Remove addons suggestion in module configuration. Thank you @PrestaEdit

Wishlist block module

  • #133: Extend addedToWishlist by chosen product attribute id. Thank you @mleczakm

Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @kpodemski, @PrestaEdit, @atomiix, @PierreRambaud, @dependabot, @jf-viguier, @rickygzz, @matthieu-rolland, @nesrineabdmouleh, @matks, @lmeyer1, @mullerpetr76, @Hlavtox, @eternoendless, @intraordinaire, @NeOMakinG, @Progi1984, @jolelievre, @marionf, @WebHelpersPau, @Prestaworks, @unlocomqx, @pnucci, @sowbiba, @Saimis777, @gadnis, @alexandrebrubeyonds, @mleczakm, @camlafit!

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: English

author-avatar

About Aksel Lian

En selvstendig full stack webutvikler med en bred variasjon av kunnskaper herunder SEO, CMS, Webfotografi, Webutvikling inkl. kodespråk..