Skip to content

magento2.4

Auto Added by WPeMatico

Magento2.4 How to override MagentoCheckoutControllerCart?

Even if I simply copy the file without changes, it does not work as a preference. Any idea why? I created a preference in 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”> <preference for=”MagentoCheckoutControllerCartAdd” type=”MycompanyMyappControllerCartAdd” /> </config> I am simply trying to… Read More »Magento2.4 How to override MagentoCheckoutControllerCart?

Graphql return null values

Schema.graphqls type Query { getGoogleMedia: [GoogleMedia] @resolver(class: “Test\LocationData\Model\Resolver\GoogleMediaResolver”) } type GoogleMedia { image_view_all_link: String images: GooglePhotos video_view_all_link: String videos: GoogleVideos } type GooglePhotos { id: Int review_id: String image: String } type GoogleVideos { id: Int review_id: String video_link: String… Read More »Graphql return null values