GraphQL API module for Mageworx Magento 2 Delivery Date extension.
1) Installation using composer (from packagist)
- Execute the following command:
composer require mageworx/module-deliverydate-graph-ql
2) Copy-to-paste method
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * fix_empty_titles.php — v5 | |
| * Usage: php fix_empty_titles.php in.serialized out.serialized | |
| */ | |
| declare(strict_types=1); | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', 'stderr'); |
| /** | |
| * Copyright © Inventivo. All rights reserved. | |
| * See LICENSE.txt for license details. | |
| */ | |
| define([ | |
| 'jquery', | |
| 'Magento_Catalog/js/price-utils', | |
| 'uiRegistry', | |
| 'underscore', | |
| 'mage/template', |
| import os | |
| import sys | |
| def split_file(input_file, output_dir, chunk_size_mb=100): | |
| if not os.path.exists(output_dir): | |
| os.makedirs(output_dir) | |
| chunk_size = chunk_size_mb * 1024 * 1024 | |
| header = None | |
| current_chunk = [] |
| var Prototype = { | |
| Version: "1.7.3", | |
| Browser: (function () { | |
| var b = navigator.userAgent; | |
| var a = Object.prototype.toString.call(window.opera) == "[object Opera]"; | |
| return { | |
| IE: !!window.attachEvent && !a, | |
| Opera: a, | |
| WebKit: b.indexOf("AppleWebKit/") > -1, | |
| Gecko: b.indexOf("Gecko") > -1 && b.indexOf("KHTML") === -1, |
| Magento_Inventory Magento_InventoryAdminUi Magento_InventoryAdvancedCheckout Magento_InventoryApi Magento_InventoryBundleImportExport Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi Magento_InventoryBundleProductIndexer Magento_InventoryCatalog Magento_InventorySales Magento_InventoryCatalogAdminUi Magento_InventoryCatalogApi Magento_InventoryCatalogFrontendUi Magento_InventoryCatalogSearch Magento_InventoryCatalogSearchBundleProduct Magento_InventoryCatalogSearchConfigurableProduct Magento_InventoryConfigurableProduct Magento_InventoryConfigurableProductFrontendUi Magento_InventoryConfigurableProductIndexer Magento_InventoryConfiguration Magento_InventoryConfigurationApi Magento_InventoryDistanceBasedSourceSelection Magento_InventoryDistanceBasedSourceSelectionAdminUi Magento_InventoryDistanceBasedSourceSelectionApi Magento_InventoryElasticsearch Magento_InventoryExportStockApi Magento_InventoryIndexer Magento_InventorySalesApi Magento_InventoryGroupedProduct Magento_InventoryGroupedPro |
| sudo -u www-data php7.4 bin/magento module:disable Magento_B2b Magento_BundleNegotiableQuote Magento_BundleRequisitionList Magento_BundleSharedCatalog Magento_Company Magento_CompanyCredit Magento_CompanyPayment Magento_ConfigurableNegotiableQuote Magento_ConfigurableRequisitionList Magento_ConfigurableSharedCatalog Magento_GiftCardNegotiableQuote Magento_GiftCardRequisitionList Magento_GiftCardSharedCatalog Magento_GroupedRequisitionList Magento_GroupedSharedCatalog Magento_NegotiableQuote Magento_NegotiableQuoteSharedCatalog Magento_PurchaseOrder Magento_PurchaseOrderRule Magento_QuickOrder Magento_RequisitionList Magento_SharedCatalog MageWorx_ShippingRulesCompany MageWorx_ShippingRulesCompanyCredit Magento_RequisitionListGraphQl Magento_DownloadableRequisitionListGraphQl Magento_BundleRequisitionListGraphQl Magento_ConfigurableRequisitionListGraphQl Magento_GiftCardRequisitionListGraphQl Magento_CompanyGraphQl Magento_CompanyCreditGraphQl Magento_CheckoutAddressSearchNegotiableQuote Magento_NegotiableQuot |
| `\"exit_code\"\: [^0]` - test ended with error (not 0 extir code) | |
| `Finished with the \\\"[^0]+\\\"` - command ended with error (not 0 exit code) |
GraphQL API module for Mageworx Magento 2 Delivery Date extension.
1) Installation using composer (from packagist)
composer require mageworx/module-deliverydate-graph-ql2) Copy-to-paste method
| <?php | |
| /** | |
| * Copyright © MageWorx. All rights reserved. | |
| * See LICENSE.txt for license details. | |
| */ | |
| namespace MageWorx\Example\Model\ResourceModel; | |
| use Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator; | |
| use Magento\Framework\App\ResourceConnection; |
| sudo apt install php7.4-mbstring php7.4-intl php7.4-xml php7.4-bcmath php7.4-curl php7.4-gd php7.4-json php7.4-readline php7.4-xsl php7.4-zip php7.4-soap php7.4-mysql |