Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube動画を商品情報に追加するサンプルを追加 #166

Merged
merged 3 commits into from Feb 24, 2021

Conversation

tao-s
Copy link
Contributor

@tao-s tao-s commented Jan 7, 2021

東京UGでの勉強会でリクエストあったやつ

@okazy okazy added the Customize カスタマイズ向け情報 label Jan 7, 2021
@okazy okazy added this to the 4.0 milestone Jan 7, 2021
@tao-s
Copy link
Contributor Author

tao-s commented Jan 12, 2021

動作確認をし、コードを修正しスクリーンショットを追加しました。

@tao-s
Copy link
Contributor Author

tao-s commented Jan 13, 2021

ref: #164

@okazy
Copy link
Contributor

okazy commented Feb 24, 2021

動作確認できました。

image

ローカルだったせいか、私の環境では src="{{Product.youtube_url}}{{'&origin='|raw}}{{absolute_url('/')}}" ではうまくいきませんでした。
src="{{Product.youtube_url}}" で無事に Youtube を表示できました。

@okazy okazy merged commit 149b074 into EC-CUBE:master Feb 24, 2021
@okazy
Copy link
Contributor

okazy commented Feb 24, 2021

@tao-s ありがとうございます!マージしました!

ドキュメントは以下のページです。
https://doc4.ec-cube.net/sample-code/add-youtube-to-product-detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customize カスタマイズ向け情報 improvement 改善
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants