I have a plugin for the afterSetCollection method, which is hung on the MagentoCatalogBlockProductProductListToolbar -> setCollection method. But for some reason, sorting occurs by the price, color and others fields, but by the field in the discount model object, sorting does not occur. But nevertheless, products with this filtering parameter […]
Magento
I have a strange issue on Magento 2.4.5-p1 on production (on dev I don’t get the issue) When I send a request e.g.: query { storeConfig { store_code code locale secure_base_media_url store_name newsletter_enabled } } I expect a response like: { "data": { "storeConfig": { "store_code": "default", ... but in […]
Create a custom module for Magento 2 where it needs to validate billing mobile numbers as per Indian standards, where it doesn’t allow more than 10 digits including 0
I am getting HTTP ERROR 500 error on the frontend and this error in error logs : [2023-01-27T16:23:35.766286+00:00] main.CRITICAL: Exception: Deprecated Functionality: Creation of dynamic property MagentoFrameworkErrorProcessor::$_errorDir is deprecated in /var/www/html/pub/errors/processor.php on line 171 in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:62
My layered navigation is not displaying categories in a filterable manner, screenshot below. Currently every category in my tree is set to anchor and when I go to a given category page, all the products associated with the child categories are displaying in the grid but all that is displaying […]
I’m trying to achieve a bulk update of products via the Magento (2.4.4) API. I’ve been following a guide here Magento 2 : How to update qty and stock status using API for multiple products? However it seems somewhat counter intuative. Individual products can be updated via a simple call […]
I’m using Mageplaza blog extension to create blogs, now I need to show those blogs in a slider, What I have to do? I’m new to Magento. thank you.
Iam running magento2 2.3.5 and i want to make trigger in db between those table which will showing in following : this is a table names dropship_order include 9 column each column will generate from different table such as order_id will generate from sales_order.order_id , warehouse_id will generate from dropship_product_qty_record.warehouse_id, […]
I have got 2 rewrite rules which work, but pub/ is added to the url when i dont want that. I add the rules to pub/.htaccess. If i add them to the .htaccess in the magento root, nothing happens. The URL https://www.example.com/xerox-everyday-toner-for-tn242y-yellow-toner-cartridge-006r04226 becomes https://www.example.com/pub/xerox-everyday-toner-for-tn242y-yellow-toner-cartridge. My rules are to remove the […]