i want to make search like below image in Magento2 please guide me When we click All button on left of the input field , it will list categories we can use feature like search in category
Magento
<?php namespace BlissPricePerCustomerBlockAdminhtmlTab; use MagentoCatalogModelProductVisibility; use MagentoFrameworkAppObjectManager; use MagentoStoreModelStore; use MagentoBackendBlockTemplateContext; use MagentoBackendHelperData; use MagentoCatalogModelProductFactory; use BlissPricePerCustomerModelResourceModelCustomerPriceProdcutCollectionFactory; use MagentoFrameworkRegistry; use MagentoFrameworkModuleManager; use MagentoStoreModelStoreManagerInterface; use MagentoBackendBlockWidgetGridExtended; class Productgrid extends Extended { /** * @var MagentoFrameworkRegistry */ protected $coreRegistry = null; /** * @var MagentoCatalogModelProductFactory */ protected $productFactory; /** * @var BlissPricePerCustomerModelResourceModelCustomerPriceProdcutCollectionFactory […]
I’m in the process of migrating my magento 2.4.4 to magento 2.4.6. This version of magento removed some Zend classes and replaced them with laminas. I’ve been able to fix my custom code almost entirely, my only issue is the Zend_Http_UserAgent_Mobile class which keeps throwing errors. How can I replace […]
I’m exporting database from Magento 2.4.2 with this command: mysqldump --single-transaction DBUSER --triggers | sed -e 's/DEFINER[ ]*=[ ]*[^*]**/*/' | gzip > FILENAME.`date +"%Y%m%d"`.sql.gz I get this error: mysqldump: Couldn’t execute ‘SHOW FIELDS FROM inventory_stock_1‘: View ‘DBNAME.inventory_stock_1’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights […]
I am new bee in API development and need to save bulk products in my Magento using API. Do I need to create custom API module or is there any default API to save the products in magneto2? What are the steps I need to follow?
I’m working on Magento 2.4.x and I want to integrate Magento’s native CAPTCHA functionality into a custom frontend form for better security. I’ve seen CAPTCHA being used on the customer login and registration forms, but I’m unsure how to implement it in my custom form. Here’s what I’ve done so […]
from yesterday, suddently we are facing the issue due to razorpay payment gateway in magento2. (function anonymous( ) { debugger }) checkout got messedup and had to disable it? Any solution?
I need to add groups fieldset or bundle fieldset with “Add Row” section. like – $form = $this->_formFactory->create(); $form->setHtmlIdPrefix('custom_'); $customerId = $this->_coreRegistry->registry( RegistryConstants::CURRENT_CUSTOMER_ID ); $storeid = $this->_storeManager->getStore()->getId(); $fieldset = $form->addFieldset( 'base_fieldset', ['legend' => __('Details')] ); $fieldset->addField( 'percentage', 'text', [ 'name' => 'percentage', 'data-form-part' => $this->getData('target_form'), 'label' => __('Percentage'), 'title' => […]
I’m using Magento 2 Commerce (EE) on Adobe Commerce Cloud and want to issue refunds to a customer’s store credit balance programmatically via the REST API. While I know that store credit functionality is supported natively in Magento Commerce (e.g., refunds to store credit through the admin panel), I’m unable […]