Optimising mobile site speed

Hi all,
I’ve run a Magento 2 based webshop in the past and now work with a lot of clients that are running a Magento 2 webshop, advising them on various digital marketing related projects.

One I think I noticed on my own website and now on basically every client website is that the mobile performance of Magento 2 seems to be poor in pretty much every case. It doesn’t matter if they’re running a custom build theme or an off the shelve theme, the mobile speed is horrendous according to Pagespeed Insights from Google. These sites are all being run on very decent hosting servers, so I’ve ruled that out as a possible cause.

Does anyone have any recommendations on improving mobile site speed beyond the default caching stuff in Magento 2 already? Any help would be much appreciated.

submitted by /u/ForeverDutch92
[link] [comments]

Magento 2.3.5 Release: Everything to Know About Latest Magento 2.3.5 Features

In recent, the latest Magento version “Magento 2.3.5” has been released on 28th April 2020. So definitely, it’s good news for Magento enriching communities after Magento 2.3.4 release.

As a Magento developer, you must be wondering about the latest Magento 2.3.5 new features and enhancements.

Let’s take a deep dive… https://www.krishaweb.com/magento-2-3-5-release

submitted by /u/krishaweb
[link] [comments]

Magento 2 security question

My company has a lot of people working from the Magento admin. To reduce risks I’ve enforced 2FA with Google Authenticator. It would seem the Magento admin is now well protected.

But I just tried using the REST API with a 2FA-protected account and I was able to so with just a username and password – there was no 2FA interference. Through the API I can do same things that I’d be able to do in the Magento admin.

Doesn’t that mean 2FA is there just for show and is easily bypassed? A person with stolen credentials would just use the API instead of the admin to achieve the same result, wouldn’t he?

Or am I overlooking something?

submitted by /u/Necessary_Mammoth
[link] [comments]

layout files in magento 2.3

I created default.xml for my module.

When i made some modification in this file using “before.body.start” this works fine.

But if i try made any modification to “header” or “top” i can’t i tried different names like: “header.panel”,




…. with no effect.

<referenceBlock name=”amgeoipredirect\\\\\\\\\\\\\\\_popup” remove=”true” /> – WORKS

<referenceContainer name=”after.body.start”> – WORKS

<referenceContainer name=”after.page.wrapper.start”> – HAS NO EFFECT

I want prepend my block to <header>, how to do this?

submitted by /u/bjag2
[link] [comments]

Handling .htaccess file for redirecting multiple websites

Hi all, here I am again, and by the way thanks all for the support, I really started understanding Magento a bit because of you.

After that said, as the title says I have some trouble on understanding how to edit my htaccess file to see my second website. I tried to set up like my default which is working, but nothing happen, shows me the “Whoops” page.

Thanks in advance for the help.

EDIT: I’m on Magento 2

submitted by /u/mr85albi85
[link] [comments]

Email On Click?

I would like to add a link to each product page that when clicked it will open up a small google captcha. Once that is completed and the user hits send I want the server to send me an email with the persons username and the product link.

I want to use this for error reporting on our project pages. Is there such a monster? Is there an easy way to implement this?

submitted by /u/Dontaskwhyokay
[link] [comments]

Groups/Websites handling

Hi all. I’m quite new to Magento2, working on a project since 2 weeks more or less. I have to make, and I already made, two website for two different kind of customers(even if my idea was to use a single one with a groups handling). I just don’t understand, is it possible to set only one single group of customers for each website?For example, does make sense having a website for customers within only a customers group and one website for retailers just with retailers group? I apologize in advance if I was a bit confusing, but trying to get into a world that’s not mine (btw I’m basically a Java dev)

submitted by /u/mr85albi85
[link] [comments]