I want to add an index to an existing index using Setup/UpgradeSchema: $connection = $setup->getConnection(); $tableName = $setup->getTable('sales_order_grid'); $indexName = 'sales_ordergrid_netsuite_id'; $columnName = 'netsuite_id'; $connection->addIndex( $tableName, $indexName, $columnName, MagentoFrameworkDBAdapterAdapterInterface::INDEX_TYPE_FULLTEXT ); It’s creating new insted of adding to existing index. How can I add an index in existing(“FTI_65B9E9925EC58F0C7C2E2F6379C233E7”) index? Thank.
Magento
Can anyone have faced the below error while opening the product listing page at the storefront? After upgrade magento version 2.4.3 to 2.4.5 I am facing. 1 exception(s): Exception #0 (Exception): Notice: Object of class MagentoFrameworkPhrase could not be converted to int in /home/public_html/website/vendor/magento/module-catalog/view/frontend/templates/product/list/toolbar/limiter.phtml on line 26
Why is my plugin not getting called? app/code/Company/Configurator/etc/module.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Company_Configurator" setup_version="0.1.0"> <sequence> <module name="Magento_Quote"/> <module name="Magento_Csp"/> </sequence> </module> </config> app/code/Hausfux/Configurator/etc/di.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCspModelPolicyFetchPolicy"> <plugin name="company_configurator_after_fetch_policy" type="CompanyConfiguratorPluginFetchPolicyPlugin" /> </type> </config> app/code/Company/Configurator/Plugin/FetchPolicyPlugin.php: <?php namespace CompanyConfiguratorPlugin; class FetchPolicyPlugin { /** * @param MagentoCspModelPolicyFetchPolicy $subject […]
So i updated the pricing for the discount campaign. However, for the people who have added the products added in the cart can see the old pricing and add the coupon code. please help
We need to render the specific product review form on the CMS page for marketing purposes. Adding the below code into the CMS page but it’s not helpful. Please suggest the solution. {{block class="MagentoReviewBlockForm" template="Magento_Review::form.phtml" product_id="1212"}}
I have had this problem for some time, on the admin custom grid. can anyone tell me any solution to this ? Check This Below Screenshot For Reference: https://i.imgur.com/5XvLhIh.png
i try to check if the user logged in , and i logged in but it returns the message says that i’m not logged in why ?? i tried 2 methods <?php namespace MainStoreBlock; use MagentoCustomerModelSession; class wishlist extends MagentoFrameworkViewElementTemplate { protected $customerSession; /** * * @param MagentoFrameworkViewElementTemplateContext $context * […]
I created an event in custom module admin . After caling event need to send data from observer to phtml page on admin side in Magento 2
i have a problem with the functionality of the toolbar , i don’t know if it must work by default or i should implement its functionality. when i click on a number here, the page is refreshing and this appears in the url like it is working and it returns […]