On specific categories (not all of them), when switching between store views for products, I am getting 403 Forbidden (Nginx). This only happens for products, not categories. Following the debugging process, I found out that the problem comes from the “uenc” parameter (vendor/magento/module-store/App/Response/Redirect.php > _getUrl() method) which is not returning […]
Magento
I’m trying to create a custom dropdown for the size swatch of configurable products. I was getting an error on my iPhone which doesn’t show the size attribute on mobile so I was converting the size swatch to a phtml file rather than javascript, some developers already created the custom […]
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
<?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?