最近チェックした商品の表示位置の変更

商品の詳細ページに

 

ご注文から商品のお届けまでの流れ

 

送料の詳細

 

などを追加してカスタマイズすると、

 

【最近チェックした商品】の表示場所が一番下に

 

なってしまいます

 

 

これだとチェックした商品と比較しにくくなってしまいます。

 

 

そこで、【最近チェックした商品】の位置を変更しましょう

 

ページの種類【共通】の中にある下記のソースを切り取って、ページの種類【トップページ】や【商品詳細】の適当な場所に貼り付けてください

 

<!– 最近チェックした商品 –>

<{if $history_num != 0}>

<div class=”ci”>

<div class=”title”>最近チェックした商品</div>

</div>

<table class=”checkitem_table”><tr><td>

<{section name=num loop=$history max=10}>

<div class=”checkitem” align=”center”>

<div class=”img”>

<{if $history[num].img_url != “”}>

<a href=”<{$history[num].link_url}>”><img src=”<{$history[num].img_url}>” class=”ci_img” alt=”” /></a>

<{else}>

<a href=”<{$history[num].link_url}>”><img src=”http://img.shop-pro.jp/tmpl_img/25/noimg.gif” class=”ci_img” alt=”” /></a>

<{/if}>

</div>

<div class=”name”><a href=”<{$history[num].link_url}>”><{$history[num].name}></a></div>

<div class=”price”>

<{if $members_login_flg == true && $history[num].discount_flg == true}>

<!– 通常販売価格 –>

<p class=”regular_price_top”><{$history[num].regular_price}></p>

<{/if}>

<!– 販売価格 –>

<p class=”price_top”><{$history[num].price}></p>

<{if $members_login_flg == true && $history[num].discount_flg == true}>

<!– 割引率 –>

<p class=”discount_rate_top”><{$history[num].discount_rate}>OFF!!</p>

<{/if}>

<{if $history[num].soldout_flg == true}><span style=”background:#ddd;padding:3px 20px 2px;font-size:10px;”>SOLD OUT</span><{/if}>

</div>

</div>

<!– 5個で改行(最後は含まない) –>

<{if $smarty.section.num.iteration % 5 == 0 and $smarty.section.num.last == false}>

</td></tr><tr><td>

<{/if}>

<{/section}>

</td></tr></table>

<{/if}>

<!–//最近チェックした商品 –>