I’ve been exploring the configuration options for the Date column in Magento UI component grids. Specifically, I’m trying to understand the purpose of the <timezone> element in the XML configuration. According to the XSD definition vendor/magento/module-ui/view/base/ui_component/etc/definition/column.xsd, <timezone> is defined as a boolean: <xs:element name="timezone" type="xs:boolean"> <xs:annotation> <xs:documentation> For the Date […]
Magento
I want my website pwa to show custom product attributes. my product attribute is dropdown. Do you any have idea how to implement it?
I want my website pwa to show custom product attributes. my product attribute is dropdown. Do you any have idea how to implement it?
We have not done changes in the files. It’s strange that When we click on System > Import , it give below error. It was working fine yesterday. Exception #0 (BadMethodCallException): Missing required argument $data of FroogalCatalogModelImport. #1 MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34] #2 MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59] #3 MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() called […]
In Magento 2.4.1 I developed below code to compress the PDF and it was working fine Recently I updated Magento to 2.4.6-p3 and now compression stoped working. app/code/Vendor/CompressPDF/etc.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoSalesModelOrderPdfInvoice" type="VendorCompressPDFModelSalesOrderPdfInvoice" /> </config> app/code/Vendor/CompressPDF/Model/Sales/Order/Pdf <?php namespace VendorCompressPDFModelSalesOrderPdf; class Invoice extends MagentoSalesModelOrderPdfInvoice { /** * Set […]
<?php namespace AlexAskQuestionControllerSubmit; use AlexAskQuestionModelAskQuestionFactory; use MagentoFrameworkAppActionAction; use MagentoFrameworkAppActionContext; use MagentoFrameworkControllerResultJson; use MagentoFrameworkControllerResultFactory; use MagentoFrameworkDataFormFormKeyValidator; use MagentoFrameworkExceptionLocalizedException; class Index extends Action { public const STATUS_ERROR = 'Error'; public const STATUS_SUCCESS = 'Success'; /** * @var Validator */ private Validator $formKeyValidator; /** * @var AskQuestionFactory */ private $askQuestionFactory; /** * Index […]
We use Magento 2.4.6-p3, php8.2… I want to do mass edit of products attributes in backend grid. After choosing select All – confirmation is visible saying for example: 7565 records found (7565 selected). So, I select Update attribute, do editing and click Save. Unfortunately only first in the line/grid product […]
I want to add Installed version of current extension/module in admin menu like below screenshot. https://i.imgur.com/0P7QZSA.png Note: For creating menus in m2 admin, I am using following code from /etc/adminhtml/menu.xml file. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="My_Module::main" title="My Module" module="My_Module" sortOrder="999" parent="Magento_Backend::stores" resource="Magento_Backend::stores" /> <add id="My_Module::storeCredentials" title="Store Credentials" […]