Skip to content

Instantly share code, notes, and snippets.

View SiarheyUchukhlebau's full-sized avatar
🎯
Focusing

Siarhey Uchukhlebau SiarheyUchukhlebau

🎯
Focusing
View GitHub Profile
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
@SiarheyUchukhlebau
SiarheyUchukhlebau / list_of_magento_b2b_modules.txt
Last active July 20, 2022 11:43
List of B2B Magneto modules to disable
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)

MageWorx_DeliveryDateGraphQl

GraphQL API module for Mageworx Magento 2 Delivery Date extension.

Installation

1) Installation using composer (from packagist)

  • Execute the following command: composer require mageworx/module-deliverydate-graph-ql

2) Copy-to-paste method

@SiarheyUchukhlebau
SiarheyUchukhlebau / ProductUrlCollection.php
Created April 1, 2021 16:08
Example how to use custom resource
<?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
@SiarheyUchukhlebau
SiarheyUchukhlebau / editordershipping.php
Last active April 8, 2020 14:19
OrderEditor - Edit Shipping Method
<?php
/**
* Copyright © MageWorx. All rights reserved.
* See LICENSE.txt for license details.
*/
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('memory_limit', '5G');
error_reporting(E_ALL);
@SiarheyUchukhlebau
SiarheyUchukhlebau / editorder.php
Created March 30, 2020 08:14
Edit order amounts
<?php
/**
* Copyright © MageWorx. All rights reserved.
* See LICENSE.txt for license details.
*/
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('memory_limit', '5G');
error_reporting(E_ALL);
@SiarheyUchukhlebau
SiarheyUchukhlebau / editorderaddproduct.php
Created December 4, 2019 12:21
Edit order items; Add new items to order;
<?php
/**
* Copyright © MageWorx. All rights reserved.
* See LICENSE.txt for license details.
*/
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('memory_limit', '5G');
error_reporting(E_ALL);