Skip to content

magento man

Issue with implementing unique_purchases column in main table using leftJoin in Grid ResourceModel

I have a SQL query that does what I need SELECT ipi.*, COALESCE(unique_purchases, 0) AS unique_purchases FROM mst_inventory_planner_inventory AS ipi LEFT JOIN ( SELECT product_id, COUNT(DISTINCT order_id) AS unique_purchases FROM sales_order_item GROUP BY product_id ) AS soi ON ipi.product_id =… Read More »Issue with implementing unique_purchases column in main table using leftJoin in Grid ResourceModel

Zend replacement for Magento 2.4.6

I have an old module that uses this in the constructor Zend_Filter_Interface $templateProcessor Can anyone tell me what I can replace this with as it throws error on setup:di:compile when upgrading to 2.4.6

How to delete a file uploaded by FileUploader UI Component without submitting the form

I have prepared an admin form containing a file upload field. This form is configured in an .xml form file. <field name=”files” formElement=”fileUploader” sortOrder=”40″> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”dataType” xsi:type=”string”>string</item> <item name=”label” xsi:type=”string” translate=”true”>Files</item> <item name=”notice” xsi:type=”string”>Maximum… Read More »How to delete a file uploaded by FileUploader UI Component without submitting the form

show custom price related attribute show on the MiniCart and the checkout

This is my Product attribute <?php namespace VendorModuleSetupPatchData; use MagentoCatalogModelProduct; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; class CustomAttribute implements DataPatchInterface { /** * ModuleDataSetupInterface * * @var ModuleDataSetupInterface */ private ModuleDataSetupInterface $moduleDataSetup;… Read More »show custom price related attribute show on the MiniCart and the checkout

After install live search in magento cloud i am getting Cannot instantiate interface MagentoServicesIdModelServicesConfigInterface

After install Live search in cloud magento its giving below errors. Cannot instantiate interface MagentoServicesIdModelServicesConfigInterface#0 /vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() #1 /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get() #2 /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument()

Switching and Paying For Two Servers

Can someone tell me if it is normal to have to pay for two severs while: a) Switching with same provider onto one server to another b) G… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1914834&goto=newpost