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 Swap Memory in Centos 7?
Today I got 10 emails from my web hosting, all about High Memory Usage Messages. My hosting is 2 cores, 4 GB memories, online on Magento 2.3,6 based glasses shop for https://www.optical4u.com. I am using Centos 7, Nginx. I forgot the position of the swap memory location, we can use one of the following method… Continue reading How to Add Swap Memory in Centos 7?
How to Remove Login, Register, Search, Shopping Cart from Magento 2.3.6?
Edit: app/design/frontend/Eyewearca/glasses/Magento_Theme/layout/default.xml Add the following code: Tested under https://www.eyewearca.com
How to Install Magento 2.3.6 Under Nginx & Centos 7?
When I install Magento, the latest Magento version is Magento ver 2.4.3-p1, and ver 2.3.7-p2. You may ask why I do not install the latest version, instead, I choose Magento ver 2.3.6-p1. My hosting server is using Centos7, Nginx, and php7.3. Just because the PHP version is 7.3. I only can choose Magento ver 2.3.6-p1.… Continue reading How to Install Magento 2.3.6 Under Nginx & Centos 7?
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 Allow or Disallow A Customer to Access Admin Area of Magento?
Allow or Disallow certain ips to access Magento 2.3 admin area is very important for security reasons. I am using Nginx for my Magento 2.3 shop. I have tried the following method for Magento 2.3. Method One: Method Two:
How to Move Category CMS Block to Other Place?
By default, the category CMS block of Magento 2.3, and Magento 2.4 display its contents just under category description. How to move it to other places, say move it just after main content, after category product list, after page bottom, or just before footer. Say your custom verder name is “Canada”, and theme name is… Continue reading How to Move Category CMS Block to Other Place?
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.