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

スマートフォンからアクセスすると商品詳細ページが表示されない #131 #153

Merged
merged 2 commits into from
Oct 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'}-->