Can anyone explain how security works on graphql on venia pwa? I don’t see any tokens or sessions or something like this at Venia. So any developer can create a graphql query and get all data from my site?
Magento1
I want to prevent the decrease product QTY after the shipment generation. Actually my client is using NetSuite and he want to update the QTY from there. They are managing all orders from the NetSuite. So, is there any way to prevent QTY update after shipment generation. Please let me […]
Payment Method for Affirm show as a Guest, however the billing and shipping info show the name of the customer – Payapal and CC payment do not have this issue. Magento ver. 2.4.6-p3. I am using the magento default email template. I did update the guest templet, basically i copied […]
I migrated from a cpanel hosting to plesk hosting, going thru error by error and resolving them. Right now facing a bottleneck when trying to login to admin backend it results in error as below. Fatal error: Interface 'Zend_Session_SaveHandler_Interface' not found in /var/www/vhosts/site/app/code/core/Mage/Core/Model/Resource/Session.php on line 35 Any ideas? Ps, I […]
I have created a custom category attribute using below code. AyakilCustomCategoryAttributeSetupPatchDataAddMyDescriptionCategoryAttribute.php public function apply() { $this->moduleDataSetup->getConnection()->startSetup(); /** @var EavSetup $eavSetup */ $eavSetup = $this->eavSetupFactory->create(['setup' => $this->moduleDataSetup]); $eavSetup->addAttribute( MagentoCatalogModelCategory::ENTITY, 'my_description', [ 'type' => 'text', 'label' => 'my_description', 'input' => 'textarea', 'sort_order' => 444, 'source' => '', 'global' => ScopedAttributeInterface::SCOPE_WEBSITE, 'visible' => […]
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 = soi.product_id; I have trouble implementing an equivalent in Grid ResourceModel. […]
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
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; /** * EavSetupFactory * * @var EavSetupFactory */ private EavSetupFactory […]