You may face Unexpected (T_LNUMBER), expecting identifier (T_STRING) system error when you are trying to get value of JSON variable and that variable key contain any number.
Continue reading “PHP Unexpected (T_LNUMBER), expecting identifier (T_STRING)”Magento 2 Display USA at First Position in Country Dropdown
This blog post is useful for those who wanted to display either the USA or any specific counties at the first position in the Country drop-down.
Continue reading “Magento 2 Display USA at First Position in Country Dropdown”Magento 2 Make Zip Code Optional
Magento 2 requires a postal code on both customer account address forms and the checkout process. However, some business models do not require zip codes, such as selling virtual or downloadable products or providing only store pickup shipping. In this case, merchants can easily make zip code as an optional field from the Magento 2 admin. No customization or extension is required for this; you can do it only from the admin settings!
Continue reading “Magento 2 Make Zip Code Optional”Magento 2 Remove Company Field from Checkout
Some shopping websites do not require a Company name, so it’s good to just get rid of it. For example, if you are running an eCommerce website to sell Apparel, we don’t think you need a Company name during the checkout.
Continue reading “Magento 2 Remove Company Field from Checkout”Magento 2 Call Custom Page as a Home Page
You can call any CMS page as home page in Magento 2 or you can update the existing home page from the admin. NOTE: URL key of default home page is “home” in default Magento 2 website.
Continue reading “Magento 2 Call Custom Page as a Home Page”Magento 2 Update 404 Page Content
404 Page Not Found error means the website could not found the requested URL by use, it means the URL you entered in the browser is either changed or it does not exist.
Continue reading “Magento 2 Update 404 Page Content”Magento 2 Change Admin Language
We developed many websites in which we found that website is running in the English language but merchant wants to manage admin in their native language, so after reviving this blog post you will know how to change language for the Magento 2 admin only.
Continue reading “Magento 2 Change Admin Language”Magento 2 Create Custom 404 Page
Some time merchant wants to display a specific error message for the 404 page, for that, you can either update existing 404 page content or you can create a new CMS page and select that page as 404 page.
Continue reading “Magento 2 Create Custom 404 Page”Magento 2 Display Only One Country
Many merchants of the Magento eCommerce website only ship their product to their own country only, in this case, it’s good to just rid of all other countries from the website front-end. This Magento 2 technical blog shows you how you can do this easily from the Magento 2 admin.
Continue reading “Magento 2 Display Only One Country”Magento 2 Add Script to Head
You can add Script to head from Magento 2 Admin > CONTENT > Design > Configuration
Continue reading “Magento 2 Add Script to Head”
