This edition of the Core Weekly report highlights changes in PrestaShop core codebase during the last two weeks, from Monday 7th of September to Sunday 20th.


The current stable version of PrestaShop is version of PrestaShop, and this week we released the Release Candidate for the second patch version of branch 1.6.1.x: we need you to test that v1.6.1.2 RC1 is ready for production and does indeed fix the closed issues!

Meanwhile, the team is hard at work on version, and we published some information on this blog already:

More information is coming soon, among which explanation of where we aim to take the new architecture that was introduced in v1.6.1.0, and details about some forthcoming design changes.

Do you want to contribute your code skills to the PrestaShop project? Make sure your Git setup is correctly configured, and that you follow our new branching model! Then, read these documentation pages.

The Core Weekly will now have separate sections for major branches. You can see the work being done on the following branches: 1.6.1.x, develop, and feat/starter-theme.

Of note among the merged PRs since the last Core Weekly Report:

Code changes in 1.6.1.x

Let’s review the merged pull-requests on the 1.6.1.x branch since the last Core Weekly Report!

Front office

  • 3764: Fix current_url variable used in pagination. Thank you gskema!
  • 3958: gets the carrier available with weight attribute. Thank you DogSports!
  • 3861: take account of PS_SSL_ENABLED_EVERYWHERE in file manager config, by @gRoussac.
  • 3789: Fix negative prices on product page, by @gRoussac.
  • 3831: Fix dead code in product-list.tpl, by @gRoussac.
  • 3941: Table ‘ps_product_reductions’ already exists, by @gRoussac.
  • 3917: Fix fatal error Property CustomerThread->id_order is not valid, by @gRoussac.
  • 3975: Fix OrderHistory multishop getCustomerOrders shared orders, by @gRoussac.
  • 3950: Fix notice on customizedDatas, by @gRoussac.
  • 4026: Footer fix in default-bootstrap theme: nocache on copyright year, by @xGouley.
  • 4027: fix when clicking filters labels, not checkbox, by @xGouley.
  • 3829: Fix no alt on subcategories images, by @gRoussac.
  • 3830: Fix missing nofollow in pagination.tpl, by @gRoussac.
  • 3809: newsletter flag for customer if previously registred as guest, by @gRoussac.
  • 3837: Css fix for TOS width on small devices, by @gRoussac.
  • 3908: Possible error Cannot read property ‘iso_code’ of undefined, by @gRoussac.
  • 4034: Use floor() instead of round() to show correct amount of loyalty points. Thank you @sambrista!
  • 3968: Top menu not always active on mobile. Thank you @eric-rouvier!

Back office


  • 3927: Add iso_code_num to Currency entity, by @julienbourdeau.
  • 3932: Bad norm function getCountry, by @gRoussac.
  • 3945: Fix 1.6.1.x sql upgrade files, by @Shudrum.
  • 3972: Fix undefined variable delivery_address in classes/pdf/HTMLTemplateOrderSlip.php on line 165, by @gRoussac.
  • 3970: fix bad cache_default_attribute, + bad clear cache on colors, by @gRoussac.
  • 3999: Typo, by @hiousi & @gRoussac.
  • 4001: Catalog Rule for a specific shop do not save, by @gRoussac.
  • 4003: Fix hard coded table name in configuration class, by @gRoussac.
  • 3777: Cart / Correct cache_key name for getOrderedCartRulesIds(). Thank you @prestamodule!
  • 4009: Allow invoice template override, by @jnadaud.
  • 3778: Give the possibility to filter on active field in getCustomers(), by @gRoussac.
  • 3780: Use DB delete() method in cleanGroups() in Product class. Thank you @prestamodule!
  • 3769: Use DB delete() method in deleteAccessories() & deleteFromAccessories() methods in Product class. Thank you @prestamodule!
  • 3765: Call orderbyPrice() only if there are some results. Thank you @prestamodule!
  • 3938: Property StockAvailable->id_product is empty, by @gRoussac.
  • 4016: DbMySQLi and socket + add driver in AdminInformation, by @gRoussac.
  • 3784: Use DB delete() method in deleteCategoriesFromShop(). Thank you @prestamodule!
  • 3795: Fix case statement in HTMLTemplateInvoice. Thank you @gskema!
  • 3782: Use DB delete() method in cleanGroups() & cleanAssoProducts(). Thank you @prestamodule!
  • 3838: Reflect 6 decimals for product weight according to db structure, by @gRoussac.
  • 3987: Fix #PSCSX-6814, bad sql query in Lanqguage::loadUpdateSQL(), by @gRoussac.
  • 4028: Media::getMediaPath improved, by @tchauviere.
  • 4014: enable invoice number reset, by @gRoussac.
  • 3936: Fix inconsistent cart rule country restriction, by @gRoussac.
  • 4011: add category thumbnail, by @gRoussac.
  • 4037: Fixed currency convertion. Thank you @Amazzing!


  • 4012: Blocklanguages add hreflang and rel alternate to the links for a better SEO and avoid duplicate content. Thank you @cgordenne!
  • 4021: Add rel attribut for google plus link in blocksocial, by @maximebiloe.
  • 4022: Correct points on product load in loyalty module, by @maximebiloe.
  • 4024: Add to cart button for accessories, by @maximebiloe.

Code changes in

Let’s review the merged pull-requests on the ‘develop’ branch since the last Core Weekly Report!

Note that the Start Theme repo (see next section) is entirely part of the PrestaShop project.

Back office

  • 4023: Import registration date for customer, by @maximebiloe.
  • 4043: Enable product pack and product dematerialized for accessories. Thank you @quadrateam!


Code changes in Starter Theme

Let’s review the merged pull-requests on the ‘feat/starter-theme’ branch since the last Core Weekly Report!

See all the PRs merged into the codebase since September 7th here.

Thank you to our contributors whose Pull Requests were merged since the last Core Weekly Report: alexsegura, cgordenne, DogSports, eric-rouvier, gskema, hiousi, prestamodule, PrestanceDesign, prestarocket, quadrateam, sambrista, and sfroment42. Also, 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 tickets on the Forge!

If you want to contribute to PrestaShop with code, read those:

…and if you do not know how to fix an issue but wish to report it, read this: How to use the Forge to contribute to PrestaShop. Thank you!

Happy contributin’ everyone!