Skip to content

magento man

Unable to ship ordered item when quantity is less than 1 in magento 2.4.4

I ordered an item with quantity is less than one. when creating shipment it shows the error “Shipment Document Validation Error(s): You can’t create a shipment without products. ” . Ordered item details – https://www.awesomescreenshot.com/image/31863006?key=80f59a34739a24c9bd03dde6874ac300 when clicking on ship button… Read More »Unable to ship ordered item when quantity is less than 1 in magento 2.4.4

How can I get the a selected option of Admin->configuration->Sales->Deliver Methods->field id? I need to inject this into a class

I will be injecting this into a ViewModel or Plugin. I have a custom configurable field in the Admin->configuration->Sales->Deliver Methods->flatrate and I need to check the value of it to compare with another string because it will change over time.… Read More »How can I get the a selected option of Admin->configuration->Sales->Deliver Methods->field id? I need to inject this into a class

Magento 2 SessionHandler is trying to read data from a directory belonging to a different cpanel account after duplicating account for a staging site

I followed the steps in this tutorial to duplicate a cPanel account containing our live Magento 2 site. I had to do this to retroactively create a staging site, as it would take months to set up a duplication of… Read More »Magento 2 SessionHandler is trying to read data from a directory belonging to a different cpanel account after duplicating account for a staging site

I have to add loader inside return pickupLocationsService (till get result from server side)

/** Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details. */ define([ ‘jquery’, ‘underscore’, ‘uiComponent’, ‘uiRegistry’, ‘Magento_Ui/js/modal/modal’, ‘Magento_Checkout/js/model/quote’, ‘Magento_Customer/js/model/customer’, ‘Magento_Checkout/js/model/step-navigator’, ‘Magento_Checkout/js/model/address-converter’, ‘Magento_Checkout/js/action/set-shipping-information’, ‘Magento_InventoryInStorePickupFrontend/js/model/pickup-locations-service’, ‘Magento_Checkout/js/checkout-data’ ], function ( $, _, Component, registry, modal, quote, customer, stepNavigator, addressConverter, setShippingInformationAction,… Read More »I have to add loader inside return pickupLocationsService (till get result from server side)

Upload pdf threw ui components

I’m trying to upload a pdf in custom form, but i’m failing. My controller doesn’t seems to receive the data. <field name=”pdf” sortOrder=”100″ formElement=”fileUploader”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”source” xsi:type=”string”>booklet</item> </item> </argument> <settings> <elementTmpl>ui/form/element/uploader/uploader</elementTmpl> <dataType>string</dataType> <label translate=”true”>Booklet… Read More »Upload pdf threw ui components