After a long suffering, I found that I’ve to use DI instead of object manager. However I’m trying to create block in custom module and call the method in success.phtml. But I got the following error : An error has happened during application run. See exception log for details. My […]
Magento
been struggling with finding a solution for this, seems like it should be an easy configuration change. All the products on my site have a huge BUY NOW button under the Add To Cart that is for the PayPal integration, I’m trying to get rid of that Buy Now button […]
I have copied my Magento 2 website from production to a: Local Environment: Ubuntu 20.04.4 LTS Apache 2.4.41 MySQL Version 15.1 Distrib 10.5.16-MariaDB PHP 7.4.30 in the normal way: Copied all Magento files to my new webroot Created a new database and copied the production database to it Adjusted app/etc/env.php […]
Following are my system configurations OS : Ubuntu 20.04 Server : Nginx RAM : 16 GB SSD Hard disk Setup:upgrade used to run faster before the fresh OS installation. I ran into some problem so re-installed the OS and now it is working slow. Even the OS seems to be […]
In Magento store, it sets America/Toronto timezone how to convert current date time to gmt date time,here is my current date time code $currentTimeZoneTime = $this->timezone->date()->format('Y-m-d'); $gmtTime = '?'
I have to use magento function for date and I wanna subtract 1 day from following code,how can I do it ? I do not want to use PHP function for date how can I subtract 1 day from follwoing code ? $fromDay = $this->timezone->date()->format('Y-m-d');
For some reason google analytics is not showing any visitors. I have added the google Account Number on backend. Analytics code also shows on the frontend but no data is being populated on google analytics. Can anyone help?
I’m developing a Magento 2.3.6-p1 store, using a based luma custom theme, and mini-cart is not showing added products, it only shows the products when i add a product, but when i reload the page, the mini-cart says it’s empty. Only will show the products if i add another one. […]
I want to display telephone number in the below format in my account address information page (2digits)9digits