Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thank you for contributing to the PrestaShop project!
Please take the time to edit the "Answers" rows below with the necessary information.

Check out our contribution guidelines to find out how to complete it:
https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/#pull-requests
https://devdocs.prestashop.com/8/contribute/contribution-guidelines/#pull-requests
------------------------------------------------------------------------------>

| Questions | Answers
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generates an XML sitemap for your shop and keeps it up to date. Compatible with

## Compatibility

PrestaShop: `1.7.1.0` or later
PrestaShop: `8.2.0` or later

## Multistore compatibility

Expand Down Expand Up @@ -42,5 +42,5 @@ This module is released under the [Academic Free License 3.0][AFL-3.0]

[report-issue]: https://github.com/PrestaShop/PrestaShop/issues/new/choose
[prestashop]: https://www.prestashop-project.org/
[contribution-guidelines]: https://devdocs.prestashop-project.org/1.7/contribute/contribution-guidelines/project-modules/
[contribution-guidelines]: https://devdocs.prestashop-project.org/8/contribute/contribution-guidelines/project-modules/
[AFL-3.0]: https://opensource.org/licenses/AFL-3.0
4 changes: 2 additions & 2 deletions gsitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct()
$this->displayName = $this->trans('Google sitemap', [], 'Modules.Gsitemap.Admin');
$this->description = $this->trans('Generates an XML sitemap for your shop and keeps it up to date. Compatible with all major search engines.', [], 'Modules.Gsitemap.Admin');
$this->ps_versions_compliancy = [
'min' => '1.7.1.0',
'min' => '8.2.0',
'max' => _PS_VERSION_,
];
$this->confirmUninstall = $this->trans('Are you sure you want to uninstall this module?', [], 'Admin.Notifications.Warning');
Expand All @@ -91,7 +91,7 @@ public function __construct()
*/
protected function isManufacturerListingEnabled()
{
return (bool) Configuration::get(version_compare(_PS_VERSION_, '1.7.7.0', '>=') ? 'PS_DISPLAY_MANUFACTURERS' : 'PS_DISPLAY_SUPPLIERS');
return (bool) Configuration::get('PS_DISPLAY_MANUFACTURERS');
}

/**
Expand Down
Loading