Skip to content

Update configuration and add explicit configuration in hooks#907

Merged
tblivet merged 8 commits intoPrestaShop:developfrom
tblivet:feat/config-update
Jan 26, 2026
Merged

Update configuration and add explicit configuration in hooks#907
tblivet merged 8 commits intoPrestaShop:developfrom
tblivet:feat/config-update

Conversation

@tblivet
Copy link
Contributor

@tblivet tblivet commented Jan 22, 2026

Questions Answers
Description? Update configuration and add explicit configuration in hooks inpired by @jolelievre PR 👍
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? --
Sponsor company @PrestaShopCorp
How to test? --

@github-project-automation github-project-automation bot moved this to Ready for review in PR Dashboard Jan 22, 2026
config/theme.yml Outdated
compatibility:
from: 9.0.0
from: 9.1.0
to: ~
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need it !

@tblivet tblivet requested a review from ga-devfront January 23, 2026 13:42
config/theme.yml Outdated
compatibility:
from: 9.1.0
to: ~
to: ^9.1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im' not sure the core is able to understand this format 🤔

Copy link
Contributor Author

@tblivet tblivet Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, it seems that this field is not used at all. In any case, @ga-devfront and I think it would be better to introduce this rather than having no version limit. What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was searching where it's checked, and its seems like it's never used...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can but it means we'll have to update it for 10.0 Which gives us some time 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we will need to update this for v10. Hopefully, in the future, we will use Composer for this 👍
So, do you think we should just use to: 9.1.x or to: 9.1.99 at the moment ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use ~9.1.0 if you want to limit to >= 9.1.0 and < 9.2.0 But I think it's ok, I believe you already planned a future major version anyway no? So this will probably evolve
Besides, the core doesn't even check this field anyway 😅

Comment on lines +43 to +44
- ps_brandlist
- ps_supplierlist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these two modules disabled as well? They were working fine, the UI tests were green on ps_supplierlist at least (I didn't work on the other, so I don't know about the other one but it probably works as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, they are working correctly, but they are disabled simply for design purposes and because they don’t bring much value for merchants, who most of the time don’t use them.

@Hlavtox, do you have an opinion on the use of these modules?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me @Progi1984 it means you'll probably have to adapt the tests for these two modules by forcing them to be enabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spoke about this with him and will do the same as for the wishlist 👍

Copy link
Contributor

@Hlavtox Hlavtox Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tblivet ps_supplierlist is 100% out of the picture, I don’t know anybody who would use suppliers in FO, it's an internal thing. Why should anyone know your suppliers, to open the same shop? 🤣

Regarding the brand list - could be used, but since it's a left column module and we already have a brand filter in faceted search, also no value. No merchant in my case.

However! If the module displayed brand logos nicely on displayHome, then it would be a different story, would be cool. 😎

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Hlavtox, I share the exact same point of view.
Reworking the module to feature brand logos on the homepage sounds like a great idea to me 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tblivet Cool, it would be a great addition, and it would not be difficult to do. :-)

I have a custom module for it. Either a custom list of manufacturers, alphabetically, or from most popular. https://eshop.agrola.cz/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it would be nice, especially because the brand page link is not displayed by default, not even in the footer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to go to the sitemap to find it

jolelievre
jolelievre previously approved these changes Jan 23, 2026
@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Jan 23, 2026
@ingridusta ingridusta self-assigned this Jan 23, 2026
Copy link

@ingridusta ingridusta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tblivet 🤗,

I tested your pr and it works perfectly :

  • Hummingbird theme installs correctly

  • On the contact page, contact infos appear only in the left column :

Image
  • The Brand List and Supplier List module are disabled and not displayed on categorie pages (also sub categories) :
Image
  • The Viewed Products module and Category Products display only 4 products :
Image

Np regression detected on hummingbird theme.

It's QA approved 🔥

@tblivet tblivet merged commit e971bbc into PrestaShop:develop Jan 26, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from To be tested to Merged in PR Dashboard Jan 26, 2026
@ps-jarvis
Copy link

PR merged, well done!

Message to @PrestaShop/committers: do not forget to milestone it before the merge.

@ingridusta ingridusta removed their assignment Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants