Skip to content

magento man

getting blank page after creating custom layout

I have created custom layout as below created 3-columns-double-footer.xml file inside Magento_Theme/page_layout folder <?xml version=”1.0″?> <layout xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_layout.xsd”> <update handle=”3columns”/> <referenceContainer name=”page.wrapper”> <container name=”footer-bottom” as=”footer-bottom” after=”footer” label=”Footer Bottom” htmlTag=”footer” htmlClass=”page-footer-bottom”> <container name=”footer-bottom-content” as=”footer-bottom-content” htmlTag=”div” htmlClass=”footer content” /> </container> </referenceContainer> </layout>… Read More »getting blank page after creating custom layout

Magento Js Override another Js File (which is already overriding a Magento Core js)

I need to overwrite a third party module js with my own one. I read in many articles which map is the way to do it. Foodentyco_Checkout/js/model/shipping-rate-service-override has to override Amasty_Checkout/js/model/shipping-rate-service-override. map: { ‘*’: { ‘Amasty_Checkout/js/model/shipping-rate-service-override’:’Foodentyco_Checkout/js/model/shipping-rate-service-override’ } } However, this… Read More »Magento Js Override another Js File (which is already overriding a Magento Core js)

Get random products error

I know that there is a bunch of questions on this topic but no one resolve my problem //@var MagentoCatalogModelResourceModelProductCollectionFactory $this->_productCollectionFactory $items = $this->_productCollectionFactory->create(); $items->addAttributeToSelect(‘*’); $items->getSelect()->orderRand()->limit(10); this piece of code return this error SQLSTATE[42000]: Syntax error or access violation: 1064… Read More »Get random products error