I have a module with a Ui Component that is part of a magento widget (based on the Magento chooser widget). At one point, the widget makes an AJAX call that pulls in a view (a .phtml file), which is where I want to initialize the Ui Component. However, if […]
Magento1
I have tracked this down to Firefox. I have an attribute: video_link that I fill out with a YouTube video embed link: If I try to have the video display in a product tab in a phtml, the video will not display and there are no errors. < ?php $_product […]
On a fresh Magento 2 Open Source install, I accidentally named the site “foo.locale” instead of “foo.local”. I’ve updated the database with the correct value [1] but when accessing the homepage foo.local I am still getting redirected to foo.locale with a parameter: $ curl -I http://foo.local HTTP/1.1 302 Found Location: […]
I installed varnish 5.2 and Magento 2.3.2 after that I check the varnish header and it worked very well but after move default.vlc it does not work. this is my default.vlc https://pastebin.com/Bz7WA1RB where I am going wrong?
I have problem witch search on my magento When I start a search for the word “hard drives”, for some reason my server crashes. But if I search by some other keywords, everything works well what could it be? Does anyone have any options? I have about 80 thousand products […]
I was stuck while installing an extension pack, here is my screen: I used: windows 10, php 7.2.0 ( xampp ), magento 2.3.2 If you need any additional information I will provide. Any help would be greatly appreciated.
I have loaded the category and sub-category, now I need to load image as well but I’m not sure how to do that. Below is the code I have used: In block file: public function getStoreCategories($sorted = false, $asCollection = false, $toLoad = true) { return $this->_categoryHelper->getStoreCategories($sorted , $asCollection, $toLoad); […]
How I can add a IP field in contact form email? I added this field to the email template {{IP}} {{var data.ip}} but where I can get the data? in magento 1 I used this in indexController.php: // Add the IP.. $postObject->setData( 'ip', $_SERVER['REMOTE_ADDR'] ); Any help would be appreciated.