How to Create New Layout to Get Block Contents of Magento 2.4?

There are at least 100 categories under www.bestpriceglasses.com. My customer plan to add different contents from different blocks for some categories say prescription ski goggles and prescription swimming goggles, and we plan to display the contents within the footer section. All Magento 2.3. and Magento 2.4 default existing page layouts won’t meet my customer’s requirements,… Continue reading How to Create New Layout to Get Block Contents of Magento 2.4?

How to Add Responsive Blocks for Magento 2.4?

Here I share with you how to add 2 columns and 4 columns for desktop, and only 1 column for mobile. Step A: edit default_head_block.xml which is under “app/design/frontend/Optical4U/glasses/Magento_Theme/layout/ Step B: edit custom.css which is under “app/design/frontend/Optical4U/glasses/web/css/ Say we plan to add related articles at the bottom, same as https://www.optical4u.com/, login your magento 2.4 prescription… Continue reading How to Add Responsive Blocks for Magento 2.4?

How to Install Magento 2.4 Under Nginx?

Set php.ini, disable some PHP extensions and let your server be safer. Install some must-have PHP extensions for Magento 2.4 Install ElasticSearch Download Magento 2.4 and install it. Disable 2 Two-Factor Authorization so that you can access the admin area.