0

How can i use user agent in mobile for different view? I mean want to see different webpage on mobile from desktop any suggestion? Know it on PHP on Magento2 i don't know how to use it

1

you can installed below extension and configure this extension working for you
https://marketplace.magento.com/eadesignro-module-mobiledetect.html

or User agent rule

iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini

Try to create multiple exceptions for each device enter image description here

| improve this answer | |
0

You can create a new theme with the parent as your current theme. Next set up the new theme as an exception for the mobile. In the new theme, you can override your files

| improve this answer | |
  • Is it works on any mobile devices? – MGPM Jan 23 '19 at 8:43
  • 1
    Yes, this is agent detection – MGPM Jan 23 '19 at 8:44
0

You can apply a new theme to your current store in admin -> content -> Design -> Configuration as shown in image.

enter image description here

Select the theme you want to show from Theme Name dropdown.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.