All Projects → EaDesgin → magento2-mobiledetect

EaDesgin / magento2-mobiledetect

Licence: other
Mobile detect change theme and redirect based on device type. Magento 2 module.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to magento2-mobiledetect

rebuild-urlrewrite
Rebuild Url Rewrite for magento 2
Stars: ✭ 26 (+0%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-prometheus-exporter
Simple Magento 2 Prometheus Exporter.
Stars: ✭ 40 (+53.85%)
Mutual labels:  magento, magento2-extension, magento2-module
customer-ajax-login
Free magento 2 extension for Popup and AJAX based Login and Sign Up | Manish Joy
Stars: ✭ 14 (-46.15%)
Mutual labels:  magento, magento2-extension, magento2-module
Dev-Tools-Magento-2-Module
A collection of utilities meant to improve the experience of developing modules for Magento without breaking existing functionality.
Stars: ✭ 18 (-30.77%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-showoutofstockprice
This Magento2 Module adds prices and the add-to-cart button to out-of-stock configurable products.
Stars: ✭ 22 (-15.38%)
Mutual labels:  magento, magento2-extension, magento2-module
module-translation
magefan.com/magento-2-translation-extension
Stars: ✭ 35 (+34.62%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-sample-imageuploader
A Magento 2 sample module demonstrating how to upload an image file within a grid and form UI Component.
Stars: ✭ 27 (+3.85%)
Mutual labels:  magento, magento2-extension, magento2-module
DiscountCodeUrl
Magento 2 module that applies a discount code automatically via URL
Stars: ✭ 33 (+26.92%)
Mutual labels:  magento, magento2-extension, magento2-module
module-geoip
Detect Country by IP in Magento 2
Stars: ✭ 51 (+96.15%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-pimcore-bridge
Magento 2 module for Pimcore integration.
Stars: ✭ 28 (+7.69%)
Mutual labels:  magento, magento2-extension, magento2-module
LargeConfigProducts
Large Configurable Products workaround for Magento 2
Stars: ✭ 83 (+219.23%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-catalog-lazy-load
Improve the load time of your Magento 2 categories pages by loading your images on demand with our Lazy Load Extension
Stars: ✭ 56 (+115.38%)
Mutual labels:  magento, magento2-extension, magento2-module
magento2-checkout-success-misc-script
Add Miscellaneous HTML and JavaScript codes to Magento2 checkout conformation page
Stars: ✭ 26 (+0%)
Mutual labels:  magento, magento2-extension, magento2-module
module-lazyload
magefan.com/magento-2-image-lazy-load-extension
Stars: ✭ 47 (+80.77%)
Mutual labels:  magento, magento2-extension, magento2-module
module-blog-comments-recaptcha
module-blog-comments-recaptcha
Stars: ✭ 17 (-34.62%)
Mutual labels:  magento, magento2-extension, magento2-module
magento-ngrok
Magento 2 module for ngrok.io service support
Stars: ✭ 45 (+73.08%)
Mutual labels:  magento, magento2-extension, magento2-module
module-blog-sample-data
Sample data for Magento 2 blog extension
Stars: ✭ 15 (-42.31%)
Mutual labels:  magento, magento2-extension, magento2-module
module-wysiwyg-advanced
Extend TinyMCE 4 & 5 tools in Magento 2
Stars: ✭ 60 (+130.77%)
Mutual labels:  magento, magento2-extension, magento2-module
module-catalog
Fixes for some known Magento 2 issues in Catalog
Stars: ✭ 23 (-11.54%)
Mutual labels:  magento, magento2-extension, magento2-module
magento-2-security
Magento 2 Security extension FREE. Security extension gives store owners the ability to detect the IP addresses that are intentionally attacking their store at any given time. Therefore, they have timely measures to prevent this issue such as blocking those IP addresses or sending warning emails to store owners.
Stars: ✭ 40 (+53.85%)
Mutual labels:  magento, magento2-extension, magento2-module

Magento 2 Mobile Detect Theme Change

Build Status

Magento 2 Mobile detect system can be used to load different themes base on the client device (desktop, tablet, mobile). It uses the library https://github.com/serbanghita/Mobile-Detect.

How to use the module

The main configuration can be done under the Content > Design > Configuration. There (Design Rule > User Agent Rules) you can add user agent expressions.

  • add eadesign_is_mobile to load a theme for mobile
  • add eadesign_is_tablet to load a theme for tablet
  • add eadesign_is_desktop to load a theme for desktop

Under system configurations you need to enable the extension. Also there you will find 3 fields for redirects. If you add a url to the mobile field for example the user will be redirected to the url in there. This can be useful if you want to use a different website/store view url for the mobile theme.

Installation.

You can install the module via composer or manually by adding it to the app/code directory. The module is available on packagist.org.

Via composer

composer config repositories.magento2-mobiledetect git [email protected]:EaDesgin/magento2-mobiledetect;
composer require eadesignro/module-mobiledetect;
php bin/magento setup:upgrade;

Uninstall

You need to remove the module.

composer remove eadesignro/module-mobiledetect;
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].