Category "magento2"

Magento 2 - How to add new block to admin panel in product page?

) I'm new to the Magento world and couldn't find a solution, how to add a new block of the Catalog>Products>Edit>Content>Description type, for examp

Magento 2 product collection sorting is not working (I am doing with custom attribute)

This is my code $_productCollection = $block->getLoadedProductCollection()->addAttributeToSort('article_position', 'DESC'); echo '<pre>'; print_r(

Magento 2 : Allow customer to edit custom options on Cart

I am trying to add functionality to allow a customer to edit options. I have created a Module Vendor/COptions. This is loading custom options and select, howev

Issue link magento with vuestorefront

I have a store built with Magento Ver.-2.4.3-p1 and I am trying to replace the front end with VueStorefront 2. But when i'm trying to connect the VueStorefont 2

Store / Website Column in Magento 2 Admin Grid - Custom Module

I have created a custom module in magento 2. I have two tables, first one is the main table and the other one is for the stores. The second table has the foreig

Invalid Value provided for RegionId field in Magento 2

I am getting this error while the controller run -'Invalid value of "491" provided for the regionId field.'. I want to transfer the telephone number from the bi

Magento 2 - Controller returning blank page

Been spending the last 1 day to find a fix for this. Basically everything works normal if I delete all the contents of generated folder and then generate the f

Not able to override collapsible.js in magento 2

I'm working on Magento EE 2.1.1 and I need to extend activate method functionality which located in lib/web/mage/collapsible.js . but I can't find the right way

Magento 2.4.3 - Products are not showing in the catalog page after we import a database from Magento 2.3 site

we have a fresh build of Magento 2.4.3 which when we sync products from an api call works fine and the products display correctly but we want to import the data

UPS Method title is not visible for US Address in magento 2.4.3-p1

UPS method title is not visible for US address meanwhile it is visible for Canada address. See Image

Magento2 : Admin redirection issue

I have installed Magento2 on my WAMP server. And when I tried to access http://127.0.0.1/magento2/admin/ it's redirecting to http://localhost/admin/admin/dashbo

Magento 2 products disable hover

I have Magento 2 Luma theme installed. I want to remove the hover effect on my products' page and the 'add to cart' button be visible all the time. This works o

Magento 2 - Custom rest api endpoint for PDF download - net::ERR_HTTP2_PROTOCOL_ERROR 200

I have created custom rest api endpoint in magento for downloading pdf file. When testing it locally: From separate react JS project I am sending request to th

Magento 2 - Custom rest api endpoint for PDF download - net::ERR_HTTP2_PROTOCOL_ERROR 200

I have created custom rest api endpoint in magento for downloading pdf file. When testing it locally: From separate react JS project I am sending request to th

Magento2: product not visible after import

I'm using this piece of code: $product->setSku($csvProduct[0]); // Set your sku here $product->setName($csvProduct[6]); // Name of Product