mageplaza / module-delivery-time-graphql

mageplaza/module-delivery-time-graphql

Mageplaza Magento 2 Delivery Time GraphQl

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

Magento 2 Delivery Time GraphQL

Magento 2 Delivery Time GraphQL is now a part of Mageplaza Delivery Time extension that adds GraphQL features. This will be much helpful for PWA compatibility.

Mageplaza Delivery Time for Magento 2 is an effective solution that makes delivery easier and flexible for customers.

Customers can choose their preferred delivery dates through a smart calendar right next to the delivery date box. Your days off are also displayed in the fade mode and can’t be picked up on the calendar so that customers can easily choose the perfect time for their orders to be shipped. From the admin backend, you can also set up a fixed time frame that customers can only choose from. In this way, you will have more control over the delivery times and therefore, serve customers better.

Delivery Time for Magento 2 allows customers to leave messages on their orders so that they can communicate their specific preferences to the stores easily. Customers can note specific preferences about the location, delivery times, or anything else related to the orders to help shippers deliver the orders more easily.

Delivery Time is a great feature included free in Mageplaza One Step Checkout for Magento 2. Customers can choose their favorite delivery time right on the shipping method section, which is convenient for them. In this way, you can improve customer satisfaction on your website and reduce an incredible number of abandoned carts during the checkout.

1. How to install

Run the following command in Magento 2 root folder:

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

Note
Magento 2 Delivery Time GraphQL requires installing Mageplaza Delivery Time in your Magento installation.

2. How to use

To start working with GraphQl in Magento, you need to:

  • Use Magento 2.3.x. Return your site to developer mode.
  • Install chrome extension (currently does not support other browsers)
  • Set GraphQL endpoint as http://<magento2-3-server>/graphql in url box, click Set endpoint. (e.g. http://develop.mageplaza.com/graphql/ce232/graphql)
  • Mageplaza-supported queries are fully written in the Description section of Query.deliveryTime.DeliveryInfomation

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. You can create a pull request, so we will merge your changes in the main branch.

5. Get support

  • Don't hesitate to contact us if you have any question. Our support team is dedicated to finding the most practical solutions to your problems.
  • If you what you need in this post, please give it a Star star
Versions
Version Stability QA Status Compatibility Released
1.0.1 stable Fail Not compatible Details 2022-01-28 01:17:56
1.0.0 stable Not tested Not yet tested Details 2019-12-09 05:05:05

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 12 12 warnings (ruleset: Magento2) — 8 auto-fixable with phpcbf
PHPMD Warning 1 1 rule violation (IfStatementAssignment: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 29 29
2.4.8 29 35
2.4.9 35 35

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.