I am getting error on creating an shipment TypeError: Argument 2 passed to MagentoSalesModelOrderValidationShipOrder::MagentoSalesModelOrderValidation {closure}() must be an instance of MagentoSalesApiDataShipmentItemCreationInterface, instance of MagentoSalesModelOrderShipmentItem given in /vendor/magento/module- sales/Model/Order/Validation/ShipOrder.php:127 Here is how I am creating the shipment <?php namespace NavienCustomModel; class ShipmentManager { protected $_objectManager; protected $orderInterface; /** * @var MagentoSalesModelOrderShipmentTrackFactory […]
Yearly Archives: 2022
I tried to overwrite Magento_Catalog/js/catalog-add-to-cart.js only to extend the submitForm method as follows: app/code/Vendor/Module/view/frontend/requirejs-config.js /** * Copyright © Onectus, Inc. All rights reserved. * See COPYING.txt for license details. */ var config = { map: { '*': { productIframe: 'Vendor_Module/js/product-iframe', } }, config: { mixins: { 'Magento_Catalog/js/catalog-add-to-cart': { 'Vendor_Module/js/catalog-add-to-cart-mixin': true […]
I am working on a custom module in which I’ve implemented graphql. One of the key in response contains different fields. For example, in the below json response the dynamic_fields content will depend on item_type and will be different. "response" : { "items": { "item_id" : 1, "item_type" : "custom1" […]
i’ve made changes using di.xml file , related to module/sequnce.php . but that affects padding for both . I want invoice number like 1001 and order number like 10000001 . here i need different padding for both
mini, micro, c, firewire, lightening, the old wide ipad one. why? just one. Don’t get it? If it works, why change it. my iphone is lightning, ipad is c, kindle mini, trying to find all the cables a nightmare. The sooner it all goes wireless the better
Digital marketing is a fast-growing industry. The number of people involved in this is increasing day by day. There are countless customers who really like to buy online as well as more offline business that wants to join the online business and get their benefits. There are many types of […]
I recently moved from Chrome to Edge. Great browser, except it wants to force feed you Bing. I’ve changed my default search engine to Google. However, I still can’t remove bing from Edge homepage or new tab Can’t remove Bing from edge search engine list, remove button is not present. […]
I had a tool on Windows that I don’t remember the name of and wondering if someone could help. It was a very basic Windows GUI. I used it once to convert a Cisco firewall configuration into chunks of commands for a completely different firewall vendor. What it did was […]
On Windows 10, is there a way I can create a scheduled task that kicks off on the next system reboot or user login but then never runs ever again? Currently I can create a scheduled task that runs on reboot but it runs this task on EVERY reboot every […]