Quantcast
Channel: PrestaShop Developers' blog
Viewing all 939 articles
Browse latest View live

Do you speak PrestaShop? – March 2021 edition

$
0
0

Contributing to PrestaShop is not only about the code, it is also about taking part in the PrestaShop translation project! This report will tell you how the translations of the software evolved in March!

Crowdin Monthly banner

Project news

:two_hearts: Special thanks to newcomers

Many people subscribe to the project(s) of their choice each month, but not so many start translating straight away. For that reason, we would like to thank the ones who rushed into the effort immediately! So lots of love to the dedicated mandesign, Carlos Salas, and Elvis Crnić… Although Elvis is not completely new to the project, he registered for a new language! :muscle:

A few stats

  • 16 members were active on the project this month.
  • A total of 47,794 words have been translated and 4,316 validated.
  • All this in 12 different languages.

Thank you for your involvement!

Top contributors

A lot of you are working every day on Crowdin to have PrestaShop available in many languages, and PrestaShop cannot thank you enough for your dedication! Here are the 10 most active translators and proofreaders for March 2021.

Top 10 translators in March:

 TranslatorLanguage# Words
1.‫‬ Elvis Crnić (elvissaba)Bosnian, Croatian, Serbian (Latin)40,837
2.PrestaServiceProAzerbaijani3,830
3.Timo Korvenoja (timok)Finnish2,087
4.Rauno Riikman (weaver)Finnish383
5.mirmalEsperanto350
6.Sretko Devič (Chico)Slovenian111
7.Carlos Salas (car82sal)Spanish, Venezuela64
8.mandesignHungarian43
9.Sevindj (Osmanova)Azerbaijani33
10.Simon Thirsbro (simonpmt)Danish18

Top 3 proofreaders in March:

 ProofreaderLanguage# Words
1.Rauno Riikman (weaver)Finnish4,142
2.Sretko Devič (Chico)Slovenian111
3.Benjamin Gantikow (bbbenjie)German55

Congrats, and welcome to our new top contributors! :clap:

Remember, you can see who has been contributing to our translation project thanks to the Translators page.

Complete translations

Fully available languages

At the end of March, PrestaShop 1.7.7 was fully available (= 100% translated and validated) in 17 languages:

BosnianChinese traditionalDanishEnglish
FinnishFrenchGreekItalian
LithuanianPersianPortuguese, BrazilRomanian
SerbianSlovakSloveneSpanish, Spain
Swedish   

That is one more language compared to last month! Thank you all for your contribution! :tada:

Languages with the best evolution

The following languages had the best progress thanks to the translation community:

  • Finnish (+9% to reach 100% translated and validated)
  • Croatian (+5% to reach 100% translated)
  • Azerbaijani (+3% to reach 40% translated )

Congratulations! :muscle:

Best translation progress for March 2021

A huge thank you to all the contributors!

Of course, this is highlighting the languages that made some progress with new translations; but it does not mean that the languages that are not mentioned here are not active. Indeed, some editing and rewriting could be going on, but the percentage of translation would not be modified (since it is working on strings that are already translated). So let’s not forget about the work of other contributors! Thanks to you too!

If you have not joined us on Crowdin yet, it is never too late! :wink:

If you want to gather your fellow translators to work towards a better harmonization, start a glossary, or anything else, do let me know: I will include a word about it in the next monthly report.


PrestaShop Core Weekly - Week 13 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 29th of March to Sunday 4th of April 2021.

Core Weekly banner

General messages

Dear developers,

Last week was filled with lot of interesting events!

First, PrestaShop 1.7.7.3 was released on the 30st of March, 2021. This maintenance release fixes 10 bugs reported on previous 1.7.7 versions, as well as one security issue.

On the 31st of March, the maintainers team held again a video conferencing for the project public demonstrations session, streamed live on YouTube.

Two achievements were presented:

A complete summary of the session will soon be published.

Another repository was granted a security maintenance release: ps_emailsubscription v2.6.1.

Finally, we have entered the month of April which is the month where PrestaShop 1.7.8 should be feature frozen. The very last Pull Requests are being submitted and validated so we can complete the 1.7.8 milestone. Needless to say, maintainers are very busy at this moment! :muscle:

Releases

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

Code changes in the ‘develop’ branch

Core

Back office

Front office

  • #23841: Fix autocomplete UI going under the header on classic theme, by @NeOMakinG
  • #23528: Fix, hide desactivated categories in breadcrumbs. Thank you @mkdgs
  • #20929: Avoid loading all combinations in memory when only one is needed. Thank you @jbenezech

Tests

Code changes in the ‘1.7.7.x’ branch

Back office

Front office

Tests

Code changes in modules, themes & tools

Gamification module

Language selector module

Customer reassurance block module

Faceted search module

User documentation landing page

Wishlist block module

Example modules

OnBoarding module

Stylelint configuration

Docker images

Stylelint browser compatibility plugin

PrestaShop contributors website

Auto Upgrade module

  • #392: Improve link to requirements. Thank you @okom3pom
  • #347: Rename function name to avoid conflicts while upgrading several modules in a row, by @Quetzacoalt91

Core Weekly Generator tool

Changes in developer documentation

Prestashop UI Kit

Email subscription module

Buy button lite module

Issues Bot

PrestaShop PHPStan extension

  • #25: Add acceptance test for trait issue, by @matks

Quality Assurance module

PrestaShop Specifications

  • #213: Multistore - Add spec for shops without URL, by @marionf
  • #210: Add specs and uat for listing in multistore, by @marionf
  • #179: Add image formats specifications & add multistore behaviors for image settings page, by @LouiseBonnard

User documentation (French)

Share Buttons module

Email Alerts module


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @dependabot[bot], @Progi1984, @jolelievre, @boubkerbribri, @PierreRambaud, @NeOMakinG, @matthieu-rolland, @okom3pom, @rickygzz, @WebHelpersPau, @eternoendless, @atomiix, @matks, @PululuK, @github-actions[bot], @marionf, @Julievrz, @kpodemski, @RomainBocheux, @zuk3975, @e-gaulue, @mkdgs, @KminekMatej, @davidglezz, @LouiseBonnard, @JevgenijVisockij, @jbenezech, @ks129, @Quetzacoalt91!

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!

PrestaShop Public OSS Demo - March 2021 session

$
0
0

The project’s third monthly public demo session was held and streamed live on March 31, 2021.

The session’s agenda was as follows:

You can use the timestamps to jump directly to the parts you want to watch.

Watch the replay on YouTube

Next session in April

The next session will be streamed live on Wednesday, April 28, 2021 at 2pm CEST.

We expect this session to be particularly interesting as PrestaShop 1.7.8 should have entered Feature Freeze by this time, meaning many projects will be complete.

PrestaShop Core Weekly - Week 14 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 5th to Sunday 11th of April 2021.

Core Weekly banner

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

Code changes in the ‘develop’ branch

Core

  • #23834: Remove code related to CACHE_FILE_MODULES_LIST, by @PierreRambaud
  • #23742: Fixed the quantity calculation of packs when containing product variations. Thank you @theodiablo
  • #21751: Show out of stock label on listing pages : Configuration & Display in FrontOffice, by @Progi1984

Back office

Front office

  • #23903: No image available in German: fix typo. Thank you @lmeyer1
  • #23760: Fix uses of #fff instead of $white in the classic and new-theme scss, by @NeOMakinG

Tests

Code changes in the ‘1.7.7.x’ branch

Core

Code changes in modules, themes & tools

Customer reassurance block module

Faceted search module

Changes in developer documentation

  • #926: Add notice tips override pdf tpls in module exemple. Thank you @PululuK
  • #922: Improve ` How to backup PrestaShop` doc. Thank you @PululuK
  • #920: Fix actionOrderStatusPostUpdate notice tips. Thank you @PululuK
  • #919: Improve actionFrontControllerSetVariables doc. Thank you @PululuK
  • #918: Fix little error in install-without-data image on How To Migrate to PrestaShop, by @matks
  • #916: Add NumberMinMaxFilterType code exemple. Thank you @PululuK
  • #915: Add YesAndNoChoiceType code exemple. Thank you @PululuK
  • #914: Add details about actionOrderStatusPostUpdate. Thank you @RomainMazB

User documentation landing page

Wire payment module

PrestaShop Specifications


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @jolelievre, @dependabot[bot], @PululuK, @eternoendless, @boubkerbribri, @nesrineabdmouleh, @mvorisek, @atomiix, @zuk3975, @matks, @lmeyer1, @matthieu-rolland, @RomainMazB, @PierreRambaud, @Prestaworks, @NeOMakinG, @theodiablo, @marionf, @Progi1984!

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!

Community survey – April 2021

$
0
0

The core product team is currently carrying out a survey oriented around the open-source project for the community.

You are many to express yourself on Slack, on the forum, or on Github about your pains and your wishes about the open-source project.

A lot of issues and suggestions are reported to the project every week. The maintainer’s team’s resources are limited, and it’s not possible to integrate all feedbacks experienced by all users.

We want to understand more about your wishes and pains in order to prioritize them.

If you have already contributed to the open-source project, in any way (pull request, bug report, suggestion of new features, participation in translations) then this survey is for you: https://forms-prestashop.typeform.com/to/rHr7tHII

We encourage everyone to express themselves, not only one person by agency or company.

We look forward to your responses, before April 23, in order to be able to establish the roadmap.

We will publish the results of this survey and keep you informed of the roadmap for version 1.7.9.0.

PrestaShop Core Weekly - Week 15 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 12th to Sunday 18th of April 2021.

Core Weekly banner

General messages

Dear developers,

We are immensely proud to announce that PrestaShop 1.7.8.0 is feature frozen!!! 🍾️ 🎉️ ☃️

This means that the development of this version has now entered the stabilization phase.

A quick look at the work done so far on 1.7.8:

The last weeks have been intense for all PrestaShop teams but we are very happy about the result… and we hope you will love it too.

The 1.7.8.x branch has been created and any new changes submitted in the develop branch will be milestoned for 1.7.9 .

What are the next steps?

Following the freeze, the QA team will perform a large test campaign to explore the 1.7.8.0 and evaluate how much stabilization it needs.

This test campaign will tell us how ‘mature’ the 1.7.8.x branch, and give us indications about when the Beta period could start.

Releases

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

Code changes in the ‘develop’ branch (for version 1.7.8.0)

Core

Back office

Front office

Tests

Code changes in the ‘1.7.7.x’ branch

Core

  • #24017: Update SHOP_LOGO_* configuration when changing shop logo, by @atomiix

Back office

  • #23819: Open tracking url in a new tab and add the link to the order preview, by @atomiix

Tests

Code changes in modules, themes & tools

PHP Developer Tools

PrestaShop Specifications

User documentation landing page

Customer reassurance block module

Faceted search module

Prestashop UI Kit

Eslint configuration

Changes in developer documentation

Decimal

PrestaShop on Docker

Circuit breaker

Check payment module

  • #48: Do not display warning if module disabled. Thank you @okom3pom

Wire payment module

  • #62: Do not display warning if module disabled. Thank you @okom3pom

Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @PierreRambaud, @boubkerbribri, @marionf, @Progi1984, @nesrineabdmouleh, @dependabot[bot], @sowbiba, @matks, @jolelievre, @github-actions[bot], @SebSept, @matthieu-rolland, @NeOMakinG, @eternoendless, @SD1982, @atomiix, @mvorisek, @zuk3975, @okom3pom, @Quetzacoalt91, @PululuK, @JevgenijVisockij!

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!

PrestaShop Core Weekly - Week 16 of 2021

$
0
0

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

Core Weekly banner

General messages

Dear developers,

The next public open source demo is going to happen on next Wednesday, April 28, 2021 at 2pm CEST.

During this session we will present some of the new 1.7.8 achievements.

Releases

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

Code changes in the ‘develop’ branch

Core

Back office

Front office

  • #24019: Improve complexity of assignCase var in CMS Controller. Thank you @Sinepel
  • #23858: Fix breadcrumb and h1 on prices drop page, by @marionf
  • #22908: Set different 404 strings for different behaviors on classic theme, by @NeOMakinG

Installer

Tests

Code changes in the ‘1.7.7.x’ branch

Back office

Tests

Code changes in modules, themes & tools

Webservices PHP Client

presthubot

User documentation landing page

Changes in developer documentation

Customer reassurance block module

Faceted search module

Nightly board

Circuit Breaker

stylelint configuration

eslint configuration

Prestashop UI Kit

Wire payment module

PrestaShop Specifications

  • #215: Edit multistore spec for specific settings drop-down, by @marionf

Architecture Decision Records repository


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @RubenMartins, @boubkerbribri, @Progi1984, @dependabot[bot], @PierreRambaud, @matks, @marionf, @NeOMakinG, @jolelievre, @eternoendless, @PululuK, @atomiix, @JevgenijVisockij, @sowbiba, @Sinepel, @mvorisek, @Amin-Hosseini, @bpato!

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!

PrestaShop Public OSS Demo - April 2021 session

$
0
0

The project’s fourth monthly public demo session was held and streamed live on April 28, 2021.

The session’s agenda was as follows:

You can use the timestamps to jump directly to the parts you want to watch.

Watch the replay on YouTube

Next session in May

The next session will be streamed live on Wednesday, May 26, 2021 at 2pm CEST.

The May session will feature more of the new projects delivered with PrestaShop 1.7.8.


Release of PrestaShop 1.7.7.4

$
0
0

PrestaShop 1.7.7.4 is now available. This maintenance release fixes 13 issues reported since the 1.7.7.0.

1.7.7.4 is available!

We suggest upgrading your shop quickly in order to benefit from these fixes. Of course, don’t forget to backup before.

Main fixes

Back-office

Front-office

Core

Acknowledgements

Contributors to this patch version, from both the Core team and the community at large:

crezzur, matthieu-rolland, boubkerbribri, atomiix, PierreRambaud, nesrineabdmouleh, NeOMakinG, Progi1984 and RomainBocheux

Thank you!

Download PrestaShop 1.7.7.4 now!

For any upgrades problems or PrestaShop’s bugs, please create a new issue here.

If you have questions or need help, do not hesitate to take a look at our community platforms or support plans.

Since version 1.7.7.4 is a “patch” update to version 1.7.7, upgrading from any 1.7.7 version will be easy: features will work better, and modules & themes which worked fine on 1.7.7.x will work just as well with 1.7.7.4. Upgrades from a standard 1.7.x version should work just as well.

PrestaShop Core Weekly - Week 17 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 26th of April to Sunday 2nd of May 2021.

Core Weekly banner

General messages

Dear developers,

PrestaShop 1.7.7.4 was released on the 3rd of May, 2021. This maintenance release fixes 13 bugs reported on previous 1.7.7 versions.

Releases

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

Code changes in the ‘develop’ branch

Core

Back office

Front office

  • #24019: Improve complexity of assignCase var in CMS Controller. Thank you @Sinepel
  • #23858: Fix breadcrumb and h1 on prices drop page, by @marionf
  • #22908: Set different 404 strings for different behaviors on classic theme, by @NeOMakinG

Installer

Tests

Code changes in the ‘1.7.7.x’ branch

Back office

Tests

Code changes in modules, themes & tools

Webservices PHP Client

presthubot

User documentation landing page

Changes in developer documentation

Customer reassurance block module

Faceted search module

Nightly board

Circuit Breaker

stylelint configuration

eslint configuration

Prestashop UI Kit

Wire payment module

PrestaShop Specifications

  • #215: Edit multistore spec for specific settings drop-down, by @marionf

Architecture Decision Records repository


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @RubenMartins, @boubkerbribri, @Progi1984, @dependabot[bot], @PierreRambaud, @matks, @marionf, @NeOMakinG, @jolelievre, @eternoendless, @PululuK, @atomiix, @JevgenijVisockij, @sowbiba, @Sinepel, @mvorisek, @Amin-Hosseini, @bpato!

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!

Results of community survey – April 2021

$
0
0

The core product team carried out a survey in April, concerning the open source project and the community. The goal of this survey was to better know and understand the pains and the wishes of the community about the open source project.

Build survey banner

:two_hearts: Special thanks to the respondents

We received 98 responses, which makes a completion rate of 28.6%, and wanted to thank everyone who participated in this survey. Your opinions are very important for us and we care a lot about your satisfaction!

Results of the community survey of April 2021

How do you contribute to the open source project?

The answers to the first question show that the majority of contributors report bugs and suggest improvements or new features for the open source project.

The code contribution with pull requests comes in 3rd position with 35.7%.

And 21.4% of respondents do not contribute to the project.

How do you contribute to the open-source project?

Remember that the best way to contribute to the open-source project is to open an issue when you are facing a problem and to fix it with a pull request if you have the technical skills. If you are not a developer, you can consider hiring a specialist to help you. If you manage to get the problem fixed, then contribute the fix back to the project as a Pull Request. Remember that the more people contribute, the better PrestaShop becomes for everyone :muscle:

When do you contribute to the open source project?

54.5% of the respondents contribute during their working time, while 45.5% contribute in their free time.

When do you contribute to the open-source project?

Sort the opportunities for the open source project in order of importance

The two most important needs identified are the major issues related to prices, taxes, and cart rules.

Then comes the update of the SymfonyLTS version and the support of PHP 8

Sort the opportunities for the open-source project in order of importance

Sort the technical subjects in order of importance

The first topic that emerged from this question is the fix of major known bugs.

Then comes the easibility of customizing the back-office and extending PrestaShop.

It’s followed by the Symfony migration of the back office.

Sort the technical subjects in order of importance

Sort the community topics in order of importance

What matters most to the community is the review & merge of pull requests and the review of the feature requests.

Sort the community topics in order of importance

Next steps

Again, a huge thank you to all the participants!

There will certainly be more polls in the future and we encourage everyone to express themselves, so stay tuned!

Do you speak PrestaShop? – April 2021 edition

$
0
0

Contributing to PrestaShop is not only about the code, it is also about taking part in the PrestaShop translation project! This report will tell you how the translations of the software evolved in April!

Crowdin Monthly banner

Project news

:two_hearts: Special thanks to newcomers

Many people subscribe to the project(s) of their choice each month, but not so many start translating straight away. For that reason, we would like to thank the ones who rushed into the effort immediately! So lots of love to the dedicated Vitor Rodrigues and SNor42 (who is also in the top translators this month! :tada:)

A few stats

  • 15 members were active on the project this month.
  • A total of 6,969 words have been translated and 3,446 validated.
  • All this in 13 different languages.

Thank you for your involvement!

Top contributors

A lot of you are working every day on Crowdin to have PrestaShop available in many languages, and PrestaShop cannot thank you enough for your dedication! Here are the most active translators and proofreaders for April 2021.

Top 10 translators in April:

 TranslatorLanguage# Words
1.‫‬ SNor42Hungarian2,586
2.‫דניאל שפירא‬ (danielshapiro9)Hebrew2,298
3.PrestaServiceProAzerbaijani1,265
4.mirmalEsperanto325
5.Begi Ganellari (begiganellari1997)Albanian168
6.Ahmad Abu Ashour (gpsarab)Arabic116
7.ols (olegsv)Hebrew77
8.Marcin Orzechowski (Martinovy)Polish57
9.Tantely R. (rabtaray)Malagasy32
10.joseantgvItalian9

Top 5 proofreaders in April:

 ProofreaderLanguage# Words
1.‫דניאל שפירא‬ (danielshapiro9)Hebrew2,316
2.Marcin Orzechowski (Martinovy)Polish758
3.Enrique García (quiquegarcia)Spanish, Mexico158
4.Tantely R. (rabtaray)Malagasy130
5.ols (olegsv)Hebrew68

Congrats, and welcome to our new top contributors! :clap:

Remember, you can see who has been contributing to our translation project thanks to the Translators page.

Complete translations

Fully available languages

At the end of April, PrestaShop 1.7.7 was fully available (= 100% translated and validated) in 18 languages:

BosnianChinese traditionalDanishEnglish
FinnishFrenchGreekHebrew
ItalianLithuanianPersianPortuguese, Brazil
RomanianSerbianSlovakSlovene
Spanish, SpainSwedish  

That is one more language compared to last month! Thank you all for your contribution!

Almost fully translated languages

Korean, Polish, Czech, and Turkish are 99% translated. Almost there! :muscle: If you would like to contribute to these projects, do not hesitate to join us on Crowdin!

Languages with the best evolution

The following languages had the best progress thanks to the translation community:

  • Hebrew (+5% to reach 100% translated and validated :tada:)
  • Hungarian (+3% to reach 86% translated)
  • Azerbaijani (+1% to reach 42% translated )

Congratulations! :muscle:

Best translation progress for April 2021

A huge thank you to all the contributors!

Of course, this is highlighting the languages that made some progress with new translations; but it does not mean that the languages that are not mentioned here are not active. Indeed, some editing and rewriting could be going on, but the percentage of translation would not be modified (since it is working on strings that are already translated). So let’s not forget about the work of other contributors! Thanks to you too!

If you have not joined us on Crowdin yet, it is never too late! :wink:

If you want to gather your fellow translators to work towards a better harmonization, start a glossary, or anything else, do let me know: I will include a word about it in the next monthly report.

PrestaShop Core Weekly - Week 18 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 3rd to Sunday 9th of May 2021.

Core Weekly banner

Releases

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

Code changes in the ‘develop’ branch

Core

Back office

  • #24359: eMail Preview - wrong value in {total_products}. Thank you @okom3pom
  • #24352: Search Conf Incorrect successful alert message. Thank you @okom3pom
  • #24345: No alert displayed when we click on “Save then add another value” button. Thank you @okom3pom
  • #24328: Email “Fwd: Customer” message ; link is not correct. Thank you @okom3pom
  • #24211: Make multistore dropdown appear in group shop context , by @matthieu-rolland

Front office

Tests

Code changes in the ‘1.7.7.x’ branch

Core

Back office

  • #24353: Fix module activation checkbox in module configuration pages. Thank you @IcarusSosie
  • #24273: Implement Address Format in the View Order Page, by @Progi1984
  • #24269: Fix already selected condition group on safari inside catalog price rules, by @NeOMakinG
  • #23902: Take customizations into account when performing operations on orders, by @atomiix
  • #23492: Fixed Ecotax when editing an Order ((Add/Update)ProductToOrder), by @Progi1984

Tests

Code changes in modules, themes & tools

Changes in developer documentation

  • #982: gitignore “resources” - there are only built assets. Thank you @zuk3975
  • #979: Add basic carrier module doc, by @eternoendless
  • #973: Update release process - only regressions fixed in stabilization, by @matks
  • #966: Add notice warning about default database prefix. Thank you @PululuK
  • #964: Add FAQ about StockAvailable and StockMovement, by @jolelievre
  • #963: Explain domain service and its usage in command handler. Thank you @zuk3975

The PrestaShop open source project

  • #57: Update links for classic-rocket. Thank you @lmeyer1
  • #36: Return to the page product or other . Thank you @okom3pom

Wishlist block module

Docker images

Faceted search module

stylelint configuration

User documentation landing page

Gamification module

Customer reassurance block module

Core Weekly Generator tool

Example modules

User documentation (English)

  • #3: Add information about db prefix. Thank you @okom3pom

QA nightly results

PrestaShop PHPStan extension

  • #27: Ignore traits for UseTypeHintForNewMethodsRule and UseTypedReturnForNewMethodsRule, by @matks

GDPR module

  • #115: Fix install number of characters 70 to 64. Thank you @TemKaSD

Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @boubkerbribri, @Progi1984, @zuk3975, @eternoendless, @okom3pom, @IcarusSosie, @lmeyer1, @nesrineabdmouleh, @matks, @dependabot[bot], @sowbiba, @PierreRambaud, @NeOMakinG, @atomiix, @SD1982, @PululuK, @jolelievre, @matthieu-rolland, @mvorisek, @Hlavtox, @TemKaSD, @Rolige!

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!

PrestaShop Core Weekly - Week 19 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 10th to Sunday 16th of May 2021.

Core Weekly banner

Releases

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

Code changes in the ‘develop’ branch

Front office

  • #24426: Fix error on favicon when maintenance mode is enabled. Thank you @okom3pom

Tests

Code changes in the ‘1.7.7.x’ branch

Core

  • #24443: Fix upgrade from 1.6.1.24 on certain installation, by @atomiix

Back office

Tests

Code changes in modules, themes & tools

Customer reassurance block module

Faceted search module

Changes in developer documentation

  • #992: Attachments Webservice endpoint was delivered in 1.7.8, by @matks
  • #991: Correct location of generatable-input.js. Thank you @JevgenijVisockij
  • #985: Introduce Architecture -> Modern and reorganize docs about controllers. Thank you @zuk3975
  • #984: Order view page reference. Thank you @zuk3975
  • #983: Add information about id_reference when a carrier is edited. Thank you @okom3pom
  • #981: Order create page reference. Thank you @zuk3975
  • #975: Fix inverted lifecycle posts, by @matks

Gamification module

Email subscription module

Language selector module

GDPR module

Customer data privacy block module

Search Bar module

Shopping cart module

Simple HTML table display module

Custom text module

OnBoarding module

Check payment module

Product Comments module

Order Notifications on the Favicon module

User documentation landing page

PHP Developer Tools

Example modules

  • #57: Bump lodash from 4.17.19 to 4.17.21 in /example_module_mailtheme. Built by @dependabot[bot]
  • #56: Bump hosted-git-info from 2.8.8 to 2.8.9 in /example_module_mailtheme. Built by @dependabot[bot]
  • #55: Bump hosted-git-info from 2.8.8 to 2.8.9 in /demodoctrine/js. Built by @dependabot[bot]
  • #54: Bump lodash from 4.17.20 to 4.17.21 in /demodoctrine/js. Built by @dependabot[bot]
  • #53: Clean code ; remove unneeded use statement. Thank you @okom3pom
  • #52: Bump url-parse from 1.4.7 to 1.5.1 in /example_module_mailtheme. Built by @dependabot[bot]

Wishlist block module

PrestaShop contributors website

Prestashop UI Kit

  • #156: Add hover state on helpbox and add helpbox to storybook, by @NeOMakinG

Stylelint browser compatibility plugin

stylelint configuration

Core Weekly Generator tool

Buy button lite module

Issues Bot

Quality Assurance module

Webservices PHP Client


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matks, @boubkerbribri, @dependabot[bot], @JevgenijVisockij, @matthieu-rolland, @PierreRambaud, @atomiix, @okom3pom, @SD1982, @nesrineabdmouleh, @NeOMakinG, @zuk3975, @Progi1984, @dali-rajab, @fdonnet, @mvorisek, @radoslawkoziol!

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!

PrestaShop Core Weekly - Week 20 of 2021

$
0
0

This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 17th to Sunday 23th of May 2021.

Core Weekly banner

General messages

Dear developers,

The next public open source demo is going to happen on next Wednesday, May 26, 2021 at 2pm CEST.

During this session we will present more of the new 1.7.8 achievements!

Releases

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

Code changes in the ‘develop’ branch

Back office

  • #23863: Enable to extends module card_list.html.twig and use custom actions. Thank you @PululuK

Tests

Code changes in the ‘1.7.7.x’ branch

Back office

  • #24579: BO - Order Messages - Avoid message with duplicate name, by @Progi1984
  • #24568: BO - Order Preview - Use the tracking number in tracking url, by @Progi1984
  • #24427: Fixed wrong price of the delivery slip of the document list, by @Progi1984

Tests

Code changes in modules, themes & tools

Wishlist block module

Customer reassurance block module

Faceted search module

Gamification module

Email Alerts module

Example modules

  • #60: Example how to implement console command. Thank you @zuk3975
  • #59: Show how to override object model and add database column. Thank you @zuk3975

Changes in developer documentation

TranslationTools Bundle

OnBoarding module

GDPR module

Prestashop UI Kit

Buy button lite module


Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Progi1984, @jolelievre, @dependabot[bot], @PululuK, @atomiix, @boubkerbribri, @kpodemski, @zuk3975, @nesrineabdmouleh, @matks, @PierreRambaud, @jorgevrgs, @matthieu-rolland, @NeOMakinG, @henri9813, @daresh, @alfonsolr09, @MathiasReker!

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!


PrestaShop is now available on Composer

$
0
0

Released almost 10 years ago, Composer is the most popular package manager for the PHP ecosystem. PrestaShop has been using it since 1.7.0 to manage its dependencies, including all the native modules.

Today we are announcing the general availability of PrestaShop itself through Composer. Thanks to this, it is now possible to easily create a new PrestaShop project from the command line, like this:

composer create-project prestashop/prestashop

Or, if you want to download a specific version instead of the latest release:

composer create-project prestashop/prestashop:1.7.7.0

Now you have more flexibility to kickstart your PrestaShop projects from the command line. Enjoy!

Heads up: old development branches are going away

$
0
0

The month of June is fast approaching, so it’s time for a late Spring clean!

On June 1st, 2021 we will delete all branches from our main repository that are no longer subject to new releases.

The affected branches are:

  • 1.7.0.x
  • 1.7.1.x
  • 1.7.2.x
  • 1.7.3.x
  • 1.7.4.x
  • 1.7.5.x
  • 1.7.6.x

Future branches will be deleted as well once they will become stale (e.g. 1.7.7.x will be deleted shortly after 1.7.8 is out).

Important note: Please be aware that this is a routine cleanup and has absolutely no impact on source code availability for previous versions.

You can always retrieve any older version of PrestaShop using git tags, just like before:

git clone https://github.com/PrestaShop/PrestaShop.git --branch 1.7.5.2

We are providing this heads up because it has come to our attention that some people are relying on development branches for their deployment scripts. Don’t do that! Branches are for development only. Use tags for automation.

PrestaShop Public OSS Demo - May 2021 session

$
0
0

The project’s fifth monthly public demo session was held and streamed live on May 26, 2021.

The session’s agenda was as follows:

You can use the timestamps to jump directly to the parts you want to watch.

Watch the replay on YouTube

Next session in June

The next session will be streamed live on Wednesday, June 30, 2021 at 2pm CEST.

Introducing TypeScript

$
0
0

Following a recent Architecture Decision Records (ADR) submission and a Proof of Concept (POC), the Core Maintainers team has decided to introduce TypeScript (TS) on the project.

Why TypeScript?

During the last few years, the PrestaShop Project has been increasingly raising the code quality bar. To help maintainers ensure that quality keeps increasing, a number of automatic quality verification tools have been added to the CI pipeline:

  • ESLint analyzes the whole JavaScript codebase to ensure it follows our code style and find problems.
  • Stylelint verifies SCSS files, including the UIKit files.
  • PHPStan finds errors and prevents introducing risky behavior in PHP files.
  • PHP CS Fixer verifies code style in PHP files.

In addition, we have started enforcing strict types in all new PHP classes since PrestaShop 1.7.7, which allows us to catch a lot of problems before they become bugs. This is why our next step is to bring strict types to JavaScript as well!

What are the benefits?

We have already seen the benefits of strictly typing in PHP: it has increased the codebase’s robustness by making type juggling bugs evident while coding and in CI. A type-safe environment reduces the chances of errors and enhances developers’ confidence in what they are building.

TypeScript also allows more expressive code, which will help new developers and contributors.

In addition to strict types, TypeScript also provides a lot of useful language features that JavaScript doesn’t, such as private methods, interfaces, generics, and more.

Why TypeScript and not another strict type library such as Flow?

One good reason is that many big JavaScript projects like Vue and Jest have recently switched their codebases from Flow to TypeScript – This means that a lot of developers are building their projects using TypeScript. Hence, we think that using TypeScript will maximize the chances that developers won’t be lost when reading PrestaShop’s code.

There are many more reasons:

  • TypeScript has better performance.
  • It has a larger community (TypeScript is listed on state of JS).
  • It’s open-source and backed by a big company (Microsoft).
  • Most IDEs support it out of the box, providing autocomplete and inspections.

What’s next?

For the moment, only new components will be written using TypeScript. In time, we will progressively refactor important components such as grids and page scripts, to benefit from the enhanced stability and maintainability provided by TypeScript’s strong-typing features.

PrestaShop 1.7.8.0 beta is open for feedback!

$
0
0

The first Beta version of PrestaShop 1.7.8.0 is now ready for you to test!

We are very happy to announce today the release of the beta version of 1.7.8. This version includes many features and bug fixes, we count on you to test the Beta and report any bugs you encounter.

Main new features are: the redesign of the translation system that facilitates the export and the translation of your modules and themes, a new header for multistore allowing to configure the different stores more easily and quickly, and many other improvements.

With more than 1,340 merged Pull Requests and 242 bug fixes, including 15 major and 5 Topwatcher (issues that are followed by more than 5 people), this is one of our biggest releases yet!

Also, a big thank you to our 163 contributors without whom we would not have had this beautiful version. And a warm welcome to the 93 new contributors for their first contribution.

This Beta release is a great opportunity for you to start working with it before we release a stable version. Go download and install this Beta version as a test store, either on your machine or your web hosting, then play with it – and give us your feedback! We need you to test this new version of PrestaShop.

If you find regressions compared to previous versions, please create an issue on Github to help us make it stable more quickly.

Remember, this beta version is pre-release software and is expected to have bugs. Do not use it in your production shop!

New features & improvements

Translations

  • The translation feature has been revamped, adding the possibility to export back-office, front-office, email, themes, and module translations.

The new translation export

  • Modules using the new translation system introduced in 1.7.6 can now distribute their own translation files in the XLF format. Users can use the export tool to migrate from legacy PHP catalogue to XLF catalogue

Multistore

New Multistore header

One of the main difficulties for the merchants using the multistore was to know which store they were configuring in the back-office and this was bringing a lot of configuration errors.

This is why a new back-office header has been added. Its color can be customized for each shop or group of shop(s) in the multistore parameters. It makes it easier for the merchants to know which shop or group they are configuring and therefore avoid configuration mistakes.

The new multistore header

New specific settings drop-down

This drop-down is displayed in the “all shops” context and group contexts. It allows the user to see which settings have been customized in one or several specific shops. Therefore the settings that will not be overridden following a change made in “all shops” or in a group context are easier to spot.

For now, it has been implemented only in the Maintenance page of the back-office.

The new multistore specific setting drop down

Checkboxes

Checkboxes are displayed in a specific shop context and a group context.

They are displayed before each field/toggle/parameter and allow merchants to apply specific settings to a store or a group of shops. Merchants just need to select the parameter to modify, bring their modifications, and then save.

For now, they have been implemented only in the Maintenance page of the back-office.

Many users reported that the linklist module was not compliant with multistore, as it was quite important for their activity to be able to feature different links in the footer depending on the shop.

This is why it was decided to make a new version (v5.0.0) of this module to make it compatible with multistore and it was achieved thanks to the great work of Krystian Podemski :pray:

Experimental features

The version 1.7.8 introduces Experimental features. With that, complex new features can be disabled or hidden by default until they are considered stable. Experimental features also called “feature flags”, allow developers to deliver small incremental improvements without compromising the system stability, which is a common practice in the software world. Developers or experienced users can enable or disable an experimental feature in Advanced Parameters > Experimental Features, knowing the risks involved.

The new Experimental features page

Back-office Product page

New features and improvements have been shipped for the product page. However, as the product page is a key piece of the back-office, we are delivering them with extra caution:

  • In 1.7.8, the changes are added in an Experimental product page behind a feature flag: back-office user must enable the Experimental page before using it. This should allow the community to try out this improved page in test environments and give us a lot of feedback.
  • In the version after 1.7.8, the new and improved product page will replace the current page.

This 2-step delivery aims to ensure the stability of the changes before they are made definitive.

The new experimental product page includes:

  • A bulk suppression in the image manager

It allows the user to remove images from the product easily (especially useful when the product features a large number of images).

  • The possibility to replace an image

It allows the user to avoid having to remove then add then re-assign an image.

  • A new pagination on the list of combinations

The current product page loads every combination of the product, even if there are hundreds of them, which can make the page very slow. The new pagination allows loading only a relevant number of combinations providing a nice performance improvement.

  • A filter system to help user find combinations. Back-office user can filter the combinations by attributes

It will help the user to find the right combination quickly.

Improvements of the UI Kit

  • PrestaShop back-office UI Kit has been improved to have a solid Design System with adjustment of alert colors, font size, buttons contrasts, and an enhancement of the responsiveness. #16587#22358#104

the new mobile improvements

Front-Office improvements

  • Improvements of classic theme images width, accessibility and some lighthouse KPI #23352#20775
  • The implementation of Native Lazy Loading on theme Classic (see the complete detail of the feature) #19549
  • The label ‘Out of Stock’ is displayed on Catalog pages #21105
  • The images on the Product Page can now be swiped on mobile for Classic theme #20431
  • The subcategories are displayed on Categories pages #10407
  • Return a 404 response when user visits product page for a product that does not exist #21330

Back-Office improvements

  • TinyMCE mobile theme is enabled in the back-office #23225
  • The overrides active in a shop are displayed in the Informations tab #21368
  • A new order internal note is available in the Order View Page #14753
  • Back-office users can upload custom avatars #18653

Notable fixes

Topwatchers:

  • When Clear cache button was clicked twice, the user would see an error page #11105 (Major)
  • Profiler was not compatible with hooks and module #9659
  • Double click on “Add to cart” on the product page FO was freezing the page #9634 (Major)
  • Select the payment method if only one available by default #11435
  • Wrong translations of back-office menu tabs #9816

Major bugs:

Front-Office

  • When a product had a specific price applied and was discounted by unit, the discount displayed on the product page was false #16163
  • Guest Order Tracking redirected to shop Homepage when Friendly URLs were disabled #20194
  • An error was displayed on checkout when Legal compliance module was installed #12509
  • Checkout slowdown when many orders were made with a Guest account #16584
  • Ecotax was displayed tax excl. instead of tax incl. #18835
  • Confirmation button on Checkout should be disabled if Terms and conditions are not approved #19161

Back-Office

  • An exception was thrown when adding an invalid parameter to the Language form and “No picture” image #22500
  • In Back-Office, some of the JavaScript code relied on form field’s ids and attributes that were modified in 1.7.8 #21819
  • When creating a customer account, the number of characters was only checked browser-side #19505
  • It was possible to create a catalog price rule with percentage value greater than 100% #19013
  • A bug in TinyMCE 4.0.16 was creating errors, fixed by upgrading TinyMCE to 4.9.8 #11011
  • Unit price was reset to 0 upon activating/disabling or duplicating products from the Product List #10792
  • Installing PrestaShop with SSL was complex because some settings were not acknowledged #10482

WebServices

  • The id_group_shop was shared instead of id_shop_group in webservice parameter #19566

Distribution

  • .docker folder should not be inside release zip #22233

Notable technical improvements

Hooks

  • New hooks into Presenters, allowing to enrich the data built by these services #11125
  • New mechanism to extend TinyMCE configuration #19408
  • New hooks for cart modal - crosseling and promotion #17709
  • Ability to enable and disable Hooks #20848
  • Allow override of checkoutProcess construction #19848

Tooling

  • Apply PHPStan level 4 #16471
  • Use a custom PHPStan extension for PrestaShop #22728
  • Apply ESLint to themes and Classic Theme folders #20080
  • Apply ESLint to default back-office Theme #22998
  • Apply StyleLint to default back-office Theme #22885

Theme

  • Remove microdata in HTML flow and replace by JSON-LD for Classic theme #22867
  • CSS classes / element attributes selectors now prefixed by js-#14346
  • Add selectors mapping so themes can override it #20002
  • Update jQuery from 3.4.1 to 3.5.1 #23122

Other

  • Fix sessions cookies SameSite bug #22711
  • Enabled High DPI support in ImageRetriever #19798
  • Make the back-office menu translatable through the translation interface and fix many translation problems when installing other languages #9762
  • There is no more legacy back-office service container, the Symfony container is now available everywhere: #14995
  • New Webservices endpoint to manage and download Attachments #12728
  • The UI Kit source files are now imported #18396
  • Update jQuery from 3.4.1 to 3.5.1 on default BO theme #23122
  • Update BO theme style in legacy pages to match the UI kit #22435
  • Introduce Javascript component loading through window.prestashop #20591

Dependencies and Software compatibility

  • Add blockwishlist v2.0.0 as native module #23617
  • Remove archived modules from the ZIP #23617
  • Update CLDR to latest version 38 (2020-10-28) #21678
  • Enable use of Composer 2.0 #20986
  • Enable compatibility for PHP 7.4 #16477

Symfony migration

See the new pages migrated in Symfony, we are now about 65% of the Back-Office pages migrated.

  • Catalog > Attributes & Features > Attributes listing
  • Shop parameters > Order settings > Statuses > Add new / edit order status
  • Shop parameters > Order settings > Statuses
  • Shop parameters > Order settings > Statuses > Add new / edit order return status
  • International > Locations > Zones
  • International > Locations > Add new / edit zone

Download

You can download PrestaShop 1.7.8.0 beta here:

Download PrestaShop 1.7.8.0 beta now!

How to help test 1.7.8

Your feedback on this beta is essential. The more regressions you find right now, the fewer bugs there will be on the final release, which means fewer patch versions and fewer problems on your (or your customer’s) online store.

You must:

If you have any questions about the version and its features, feel free to share them on the PrestaShop open source project’s Slack.

Known issues

Viewing all 939 articles
Browse latest View live