<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amidaike</author_name>
  <author_url>https://blog.hatena.ne.jp/amidaike/</author_url>
  <blog_title> AmidaikeBlog</blog_title>
  <blog_url>https://amidaike.hatenablog.com/</blog_url>
  <categories>
    <anon>EC-CUBE3</anon>
    <anon>PHP</anon>
  </categories>
  <description>EC-CUBE3.0.14からPCとスマホを判別するMobile Detectというライブラリが導入されています。 mobiledetect.net 使い方は、PHP側からはShoppingService.phpに // device type if ($this-&gt;app['mobile_detect']-&gt;isMobile()) { $DeviceType = $this-&gt;app['eccube.repository.master.device_type']-&gt;find(DeviceType::DEVICE_TYPE_SP); } else { $DeviceType = $this-&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famidaike.hatenablog.com%2Fentry%2F2017%2F05%2F08%2F114130&quot; title=&quot;EC-CUBE3でPC、スマホ、タブレットの判定方法 -  AmidaikeBlog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-08 11:41:30</published>
  <title>EC-CUBE3でPC、スマホ、タブレットの判定方法</title>
  <type>rich</type>
  <url>https://amidaike.hatenablog.com/entry/2017/05/08/114130</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
