-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re added manufacturers list #173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments, I suggest checking the latest code from getCategoryLink method for inspiration. ;-)
Should I change the version to 4.4.0 and add an upgrade file with this?
|
@Uhor Adrian, some last tweaks, can you check the tests? CS fixer is complaining aboout some lines, no space after casting etc. PHPStan is complaining about this, $image_link will always be set.
Change it to
You can also fix the typo - |
@Uhor OK, PHPStan is green. 🎉 Now:
to
And I think we will be good to go. :-) |
Changes applied. Should be fine now. |
@Uhor OK, good. Now PHPStan is complaining because there was a bad PHPDoc for the method we used - https://github.com/PrestaShop/PrestaShop/blob/aab3f53c9c31d79a6c60d9744d2a175c4d6c5194/classes/Link.php#L1038 It was fixed in PrestaShop 1.7.8. So, could you please go to |
@Hlavtox Done! :) |
After checking the error, I'm wondering if Also for category maybe, now: |
After some searching, Google has stopped using the tags links: |
@Uhor I don't understand why it's reporting that
Hmmm, I didn't know! :-) Yes, we can remove it, but I would do it in a separate PR, so we don't mix and match subjects. |
In the Manufacturer.php it only says
Ok ok, although Google still accept the syntax. But I probably will! (less code in file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @florine2623 & @Uhor!!! |
Thanks to you all! :D |
(**) by Hlavtox
Improvements for future versions:
It will be great to have a "checkbox" to let the user easily check if wants it or not in the Sitemap.
Also, have the option to choose which one you want in your sitemap (because maybe you just want the 3 best.
A screenshot of the test I made: