Skip to content

Commit

Permalink
Merge pull request #153 from seasoftjapan/#131
Browse files Browse the repository at this point in the history
スマートフォンからアクセスすると商品詳細ページが表示されない #131
  • Loading branch information
ryo-endo authored Oct 26, 2017
2 parents 800fe6c + 2e52161 commit 7d9ff10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/Smarty/templates/sphone/products/detail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<!--{* 画像の縦横倍率を算出 *}-->
<!--{assign var=detail_image_size value=200}-->
<!--{assign var=main_image_factor value="`$arrFile[$key].width/$detail_image_size"`}-->
<!--{assign var=main_image_factor value=$arrFile[$key].width/$detail_image_size}-->
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
<a rel="external" class="expansion" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" target="_blank">
<img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_image|h}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile.main_image.width/$main_image_factor}-->" height="<!--{$arrFile.main_image.height/$main_image_factor}-->" /></a>
Expand Down Expand Up @@ -421,4 +421,3 @@
</section>
<!--{include file= 'frontparts/search_area.tpl'}-->

0 comments on commit 7d9ff10

Please sign in to comment.