Skip to content

Commit

Permalink
Merge pull request #47 from ryo-endo/feature/1.0.0/asset_path_problem
Browse files Browse the repository at this point in the history
EC-CUBE3.0.8以前でjs/cssが読み込めない問題への対処
  • Loading branch information
ryo-endo authored Dec 1, 2016
2 parents ec622a8 + 3437c87 commit dfc38ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Resource/template/front/related_product.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@
</div>
</div>
</div>
<script src="{{ app.config.root_urlpath }}/plugin/relatedproduct/assets/js/related_product_plugin.js"></script>
<link rel="stylesheet" href="{{ app.config.root_urlpath }}/plugin/relatedproduct/assets/css/related_product_plugin.css">

{# EC-CUBE 3.0.10以降のみをサポートする場合は、{{ app.config.plugin_urlpath }} を利用して簡潔に記述可能 #}
<script src="{{ app.config.front_urlpath }}/../../plugin/relatedproduct/assets/js/related_product_plugin.js"></script>
<link rel="stylesheet" href="{{ app.config.front_urlpath }}/../../plugin/relatedproduct/assets/css/related_product_plugin.css">

0 comments on commit dfc38ea

Please sign in to comment.