mageplaza / module-store-locator-graphql

mageplaza/module-store-locator-graphql

Magento 2 Store Locator GraphQl Extension

magento2-module Compatibility: Not compatible Code Quality: Fail Tests: N/A Security: Pass proprietary

Magento 2 Store Locator / Store Pickup GraphQL / PWA

Magento 2 Store Locator GraphQL is now a part of the Mageplaza Store Locator extension that adds GraphQL features. This supports PWA compatibility.

Mageplaza Store Locator for Magento 2 enables stores to show their addresses on the Internet and customers to locate the nearest store locations.

The stores can get their locations to display online so that customers can easily find the store and conveniently see the location most convenient for them to come. They can get accurate directions to your store without any difficulty. That all your store’s locations show up when customers search on the Internet builds trust for them about your store. Imagine they can’t find your locations anywhere, you will be most likely to lose potential customers.

Integrated with Google Maps and GPS, the extension enables customers to quickly find the nearest store by typing some letters in the search box. A noticeable icon marker will display when the store location is found. The store admin can also easily change their stores' location and preview the changes instantly right from the backend.

At the sidebar of the store locator page, the store’s information will be displayed in detail, including photos preview in a slider. Customers can view the information quickly and choose the most suitable location. Moreover, the extension provides you with the four most-used map designs that are more outstanding and eye-catchy than the Default. You can also add more beautiful map designs that fit your store better or upload the icon marker with ease.

The status of the store can be displayed according to the working hours and holidays you set for your store location from the backend. Your store can be set to “Open” during the working hour and “Close” when the working day ends.

The local SEO is also supported. It helps local customers find the nearest store. Local SEO feature enables store owners to optimize for SEO by adjusting meta title, meta description, and keywords.

Besides, the extension also supports store pick-up. Customers can choose the store they want to drop by and hand-pick their orders. This adds another shipping method to the online store that brings convenience to the customers’ shopping process. Customers can set up the available time for pick-up so that it’s better for the store to prepare the products for customers.

1. How to install

Run the following command in Magento 2 root folder:

composer require mageplaza/module-store-locator-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Note:
Magento 2 Store Locator GraphQL requires installing Mageplaza Store Locator in your Magento installation.

2. How to use

To start working with Magento 2 Store Locator, you need to:

  • Use Magento 2.3.x. Return your site to developer mode.
  • Set DraphQL enpoint http:///graphql in URL section. Click on Set endpoint. For example, http://develop.mageplaza.com/graphq
  • Mageplaza supports query and mutation to view the information by locations by store, configuration by store, pickup config, etc. See more details here.

3. Devdocs

Click on Run in Postman to add these collections to your workspace quickly.

Magento 2 blog graphql pwa

4. Contribute to this module

Feel free to Fork and contribute to this module.

If you have any ideas, please create a pull request, then we will consider and merge your proposed changes in the main branch.

5. Get support

  • Feel free to contact us if you have any questions. We highly appreciate your contribution to this post. if you have any problem and queries, our support team is also willing to help.
  • If you find it helpful, don't hesitate to leave a Star star
Versions
Version Stability QA Status Compatibility Released
1.1.0 stable Fail Not compatible Details 2021-02-23 08:57:08
1.0.0 stable Not tested Not yet tested Details 2020-06-30 10:28:49

No dependencies declared

This package's composer.json doesn't declare any required, suggested, replaced, or conflicting packages.

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Fail di error Fail di error
2.4.8 Fail di error Fail di error
2.4.9 Fail di error Fail di error

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 18 18 warnings (ruleset: Magento2) — 18 auto-fixable with phpcbf
PHPMD Warning 1 1 rule violation (UnusedFormalParameter:1)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 36 36
2.4.8 36 52
2.4.9 52 52

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
proprietary
Authors

More from mageplaza

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.