项目地址:Optimise Web's Mobile Detect Class for Magento
Optimise Web's Mobile Detect Class for Magento
MobileDetect.net is a lightweight PHP class for detecting mobile devices. Optimise Web's Magento extension allows using Mobile Detect's functions from within Magento.
Usage
Mage::helper('mobiledetect')->isMobile()
You can find all the mobile detection functions that Mobile_Detect provides on their Github project page and on their MobileDetect.net website. You just have to use Mage::helper('mobiledetect')-> instead of $detect->
This extension is primarily for use by developers who wish to write PHP conditionals to detect mobile devices.
FAQs
1. Should I backup Magento's files and database?
Not required. This extension doesn't touch Magento's core file system and it also doesn't interface with the database. Still, please make it a point to backup your files and database before installing or upgrading any Magento module.
2. Do you offer support for this extension?
This is a free extension and support will be limited. Please write to us and we'll do our best to help you out.
下载包:Optimiseweb_MobileDetect-0.2.2
原文/转自:Magento: 判断是否为手机浏览 Optimise Web's Mobile Detect Class for Magento
相关推荐
MagentoBeginner's Guide.pdf [Packt]出品,最早的Magento精品书之一,原书地址:http://www.amazon.com/Magento-Beginners-Guide-William-Rice/dp/1847195946
NULL 博文链接:https://justcoding.iteye.com/blog/2100394
Optimize Web的Magento扩展允许从Magento内部使用Mobile Detect的功能。 用法 Mage::helper('mobiledetect')->isMobile() 您可以在其Github项目页面和MobileDetect.net网站上找到Mobile_Detect提供的所有移动检测...
magento判断用户是否登录和怎么获取登录者名称:
magento:magento-ce 2.4.0
Apress.The.Definitive.Guide.to.Magento.Dec.2009.pdf Apress于2009重磅推出的Magento上手书籍,原书地址:http://www.apress.com/book/view/9781430272298
VueFrontCMS Connect App for Magento 显示你的 :red_heart: -给我们一个 :star: 帮助我们将这个项目发展到最好! VueFront是CMS不可知的SPA和PWA前端,适用于您的老式Blog和电子商务网站。 Magento通过最佳的电子...
Magento:registered:2数据集成借助Datatric Connect扩展程序,可以轻松地将Magento:registered:2商店与Datatrics平台连接起来。安装在开始安装过程之前,我们建议您对webshop文件以及数据库进行备份。 有两种安装...
通过SFTP或SSH导航到Magento [Magento]/app/code/ 。 上载带有扩展名的Dropday/OrderAutomation目录。 打开终端并导航到Magento根目录。 运行以下命令以启用Dropday扩展: php bin/magento module:enable Dropday_...
最早专注于Magento开发的著名技术博客Inchoo(http://inchoo.net/blog/)推出的电子书,把在博客中发布的经典Magento开发日志、问题描述结集出版。
magento:Magento CE 1.x源代码
用于连接到Magento Web服务的Python库。 用法 import magento url = 'http://domain.com/' apiuser = 'user' apipass = 'password' # Create an instance of API client = magento . API ( url , apiuser , apipass...
ansible-magento要求: -流浪汉-可以指示: 克隆此仓库无所事事在浏览器中导航到magento.dev。MySQL 数据库:magento 用户名:magento 密码:password123 这是基于的工作而进行的一些更改,以简化启动和运行过程...
fresh-magento:新鲜的magento
为 Magento 添加 Gimmie 奖励,让用户在购买和推荐朋友时获得积分并获得真正的奖励。 要安装此插件,我们提供。 建造 克隆此插件所需的所有子模块(gimmie php 项目) $git submodule init && git submodule ...
马恩托 magento 项目
马真托Magento片段。
Magento 2的Bolt Checkout插件1.要求Magento 2.3.0或更高Composer PHP依赖管理器2.插件安装打开命令提示符,转到<MAGENTO>文件夹并运行以下命令: $ composer require boltpay/bolt-magento2$ php bin/magento setup...
docker-magento:Mark Shust的Magento Docker配置
Magento Beginner's Guide