Category

Magento

Category

Start by removing all https from your config UPDATE core_config_data SET value=REPLACE(value, ‘https’, ‘http’) WHERE value LIKE ‘https%’; Then remove the secure redirection UPDATE core_config_data SET value=0 WHERE path=’web/secure/use_in_frontend’ OR path=’web/secure/use_in_adminhtml’ OR path=’web/url/redirect_to_base’; And the most important after this: delete content of var/cache var/full_page_cache var/session

You can use any one extension in your project Option 1: OVERVIEW Step 1: Create and setup Gmail Account Step 2: Setup Gmail SMTP for Magento 2 Be sure you’ve installed SMTP for Magento 2 by Mageplaza successfully. Read More: https://www.mageplaza.com/blog/configure-gmail-smtp-magento-2.html Option 2: CONFIGURING SMTP MAGENTO WHAT IS SMTP FOR MAGENTO? Simple Mail Transfer Protocol (SMTP) allows your Magento 2 store to send email through a specific third-party mail SMTP server. You can configure your…

Changing from the database is the best way to update the database even if you using multiple stores also. you can change the base URL just by using 2 commands. Step 1: Open your Phpmyadmin and login to using database user name and password. and if you forget what is your credentials you can check from .env file which is located in your folder app/etc/env.php file. For example: ‘dbname’ => ‘magento’, ‘username’ => ‘root’, ‘password’…

A valid $fileId[tmp_name] is expected” In Magento 2.3.6 Here I am using localhost, for the server you still use this path to the File directory. Step 2: Open Uploader.php. Open Uploader php filePlease note that this is the source directory of Magento 2, to edit it you must grant administrator privileges. Step 3: Scroll down to line 589. Comment line 589Replace $this->validateFileId($fileId); to //$this->validateFileId($fileId); Step 4: Save change. Run upgrade and compile command php -d…

MageSuite MagepackSetup and install Magepack for Magento 2.4.x Install node sudo apt update sudo apt install nodejs node -v sudo apt install npm magepack bundle magepack generate –cms-url=”https://websiteurl.com” –category-url=”hhttps://websiteurl.com/ta-cable-tie-mounts.html” –product-url=”https://websiteurl.com/662908-662908.html” sudo chmod -R 0777 var/ generated/ pub/static magepack bundle magepack generate –cms-url=”https://websiteurl.com” –category-url=”https://websiteurl.com/ta-cable-tie-mounts.html” –product-url=”https://websiteurl.com/cable-tie-mounts-766086b.html” bin/magento cache:clean php bin/magento indexer:reindex php bin/magento cache:clean Reference: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04 Reference: https://github.com/magesuite/magepackReference: https://developers.google.com/speed/pagespeed/module

You can check below Js code <script type=”text/javascript”> require([’jquery’], function($) { $(document).ready(function() { var ckbox = $(‘#checkout-order-approval-permission’); $(‘#checkout-order-approval-permission’).on(‘click’, function() { if (ckbox.is(‘:checked’)) { $(“#checkout-order-create-permission”).prop(‘required’, true); } else { $(‘#checkout-order-create-permission’).removeAttr(‘required’); } }); }); }); </script>

Example: After phasing this I searched multiple solution but finally this is working in my project. I saw the image has data-amsrc attribute. it is added by amasty “Google Page Speed Optimizer” module. There is config in admin to ignore images contain certain classes. Solution 1) in my case, this module also added style display:block to all images in my site. I change config Lazy Load Script => Native JavaScript Lazy Script fixed both issues…

https://www.youtube.com/watch?v=iojTx6u66Cs To enable Submission to Robots.txt in Magento 2, you need to follow these steps: Log in to your Admin Panel.Go to Stores > Settings > Configuration and choose XML Sitemap in the Catalog tab.Open the Search Engine Submission Settings tab and set Yes in the Enable Submission to Robots.txt dropdown.Click on the Save Conlig button. Robots.txt configuration in Magento 2Step 1Go to Content > Design> Configuration. Step 2In the opened grid, find the line…