ブランド・コミュニティ・ガイド
ecスタジオ

ecスタジオは、商品選択に必要最小限度の機能のみを有効にしたアプリです。アプリはデータセンター内のサーバー上で立ち上げられ、一般ユーザーはブラウザを通じてアプリを操作することができます。

右パネルでは、下記のバリエーションを表示しています。

  • Mesh/メッシュ(型/サイズ)
  • Material/マテリアル
  • カスタム・アイテム(商品組み合わせ例)
設定事項

Material Variationを表示するためには、Define Materialレコード上で以下の項目に値が入力されている必要があります。
- ITEM SETTING TAB LABEL
- ITEM SETTING TAB LABEL (JA)

ℹ️
Custom Item(s)を特定のDesign Familyのec studioに表示させる

まず、Custom Item(s)に対して、以下の処理を行ってください。

  • ステイタス: Open
  • 特定のDesign Familyに紐づける

上記が完了したら、R.Designサポートに対して、当該Custom Item(s)のシーン・パッケージングをご依頼ください。

貴社のWEBサイトにecスタジオを表示させましょう
手順1 埋込み先ウェブサイトのドメインをホワイトリスト

R.Designのサーバーエンジニアがホワイトリストの作業を行いますので、埋め込み先のWEBサイトのドメインをお知らせください。

手順2 対象アイテムについてecスタジオ向けのパッケージを準備
  • 対象アイテムが属するデザイン・ファミリーについて、ecスタジオ向けにベイク作業を行い、ecスタジオ向けにパッケージを行います(R.Designチーム)。
  • デザイン・ファミリーのStatus | ec studioフィールドの値を「新規依頼」にして、R.Designチームに作業依頼をしてください。
手順3 ec studioでデバグを行う

下記のDebug専用ページに行き、「Default」を選択してください。
https://ecstudio.streaming.r.design/

デバグを行うアイテムのDesign Version IDを入力して、エンターキーを押してください。

Design Version IDは、Brand Communityのデザイン・バージョンの表でご確認頂けます。

デバグ対象の商品が表示されたら、Openをクリックしてec studioを開き、シミュレーターをスタートしてください。

デバグが完了したら、デザイン・ファミリーレコードの「Status | ec studio」フィールドの値を「承認済み」にして保存してください。

手順4 ec studioをウェブサイトに埋め込む

対象アイテムのストリーミング用URLを取得

コミュニティサイトのマイページ内から、デザイン・ファミリーのタブページを開いて下さい。
R.Design | https://community.r.design/en/my_page/design_families

デバグが完了した商品を探して、「Studio URL」をクリックします。

必要な項目にチェックを入れて、パラメーターをURLに加える。

手順4 iframeの設定

貴社ページ内にiframeを設定下さい。iframeはレスポンシブである必要があります。

デフォルトのストリーミングサイズは1280px x 720pxです。
埋め込むサイトのページ幅がこれより広い場合であっても、原則、1280px幅で表示させて下さい。
サーバーのGPUの消費を安定させる上で、iframeの最大サイズを1280pxに設定して頂く必要があります。

適用するCSSとHTML

下記コードを、ウェブサイトの開発者の方に該当するページに適用頂くよう、ご依頼ください。但し、<iframe> の src 属性には、各対象アイテム毎に指定されたURLを記入して下さい。

<style>
.rdesign-ec-studio .rdesign-iframe{display:none}
.rdesign-ec-studio iframe {
	width: 100%; height: 100%; display: block; position: absolute; margin: 0 auto; top: 0; left: 0;
}
.rdesign-ec-studio .rdesign-iframe {
	padding-top: 56.25%; position: relative; width: 100%;
}
@media (min-width: 1280px){
	.rdesign-ec-studio iframe { width: 1280px; height: 720px; }
}
@media (max-width: 575px){
	.rdesign-ec-studio iframe{ margin: 0 15px; height: 100%; }
}
</style>
<div class="rdesign-ec-studio">
	<a class="rdesign-studio-cover" href="javascript:void(0)"><img src="...cover-image.png" /></a>
	<div class="rdesign-iframe">
		<iframe src="" data-src="https://ec.streaming.r.design/ec-studio?design_version_id=.........." frameborder="0" allowfullscreen="allowfullscreen" rel="nofollow"></iframe>
	</div>
</div>
// use jQuery to play studio when clicked on cover image
jQuery(function($){
	$('.rdesign-studio-cover').click(function(){
		var iframe = $('.rdesign-iframe');
		iframe.find('iframe').attr('src', iframe.find('iframe').data('src'));
		$(this).hide();
		iframe.show();
	})
})
ℹ️
Full Screen Mode

In order to make your EC Studio goes fullscreen mode, you must add `allowFullScreen="allowFullScreen"` attribute to the iframe
To support full browser, please use these attributes:

Most recent browsersallowfullscreen="allowfullscreen"
Old Firefoxmozallowfullscreen="mozallowfullscreen"
Old Internet Explorermsallowfullscreen="msallowfullscreen"
Old Operaoallowfullscreen="oallowfullscreen"
Old Chromewebkitallowfullscreen="webkitallowfullscreen"
Fullscreen button for iOS Safari browser

The fullscreen feature of that browser was stopped supporting from version 12. You can check the browser compatibility here

In order to fake a feature like fullscreen mode, we can make the iframe to fixed position by CSS, the width and height of that iframe is equal to the browser and can be overlap everything in the website.

<iframe> の src 属性の値(iframeで埋め込むURL)
Step 4-2 Configure an iframe in a popup

Iframe in a popup (general) - add iframe to content of popup  (like Embed the ec studio on your site by iframe)
 - The popup will have size like iframe (Default iframe size: 1280px x 720px)
 - On closed popup need run the code:
//example iframe added <iframe id="rdesign_studio_iframe" ...></iframe>document.querySelector('#rdesign_studio_iframe').src += "" Iframe in a popup (Wordpress & use Plugin Popup Maker)
 - add iframe to content of popup.
The html exmaple:
<div class="rdesign-ec-studio"> <div class="rdesign-iframe"> <iframe id="rdesign_studio_iframe" src="..." frameborder="0" allowfullscreen="allowfullscreen"></iframe> </div> </div>  - make size popup is 1280px x 720px
 - on closed popup will run the code:
jQuery(function($){$('.pum-close.popmake-close').click(function(){document.querySelector('#rdesign_studio_iframe').src += "";})})

「カートに入れる」ボタンをECサイトと連動させたい場合(オプション機能)
手順1 Manage Store Viewレコードの作成

Preparation:

  • A web page where you want to embed our EC Studio streaming

手順:

  • Step 1: Give your web page domain name to our EC Studio server. Your URL should be whitelisted by our server developer.
  • Step 2: 貴社ページ内にiframeを設定下さい。iframeはレスポンシブである必要があります。Develop an iframe in your web page. That iframe can responsive with all screens to have a best experience.
設定項目
Back to top