Revision 20540,
2.3 KB
checked in by Seasoft, 13 years ago
(diff) |
#627(ソース整形・ソースコメントの改善)
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Id
-
Property svn:mime-type set to
text/x-smarty-template; charset=UTF-8
|
Line | |
---|
1 | <!--▼こんな商品も買っています--> |
---|
2 | <!--{foreach from="$arrRecommendProducts" item="arrProduct" name="arrProduct"}--> |
---|
3 | <!--{if $smarty.foreach.arrProduct.first}--> |
---|
4 | <div id="undercolumn" class="product product_detail" style="margin-top: 0;"><!--{* FIXME detail.tpl と id 重複 *}--> |
---|
5 | <div id="whoboughtarea"> |
---|
6 | <h2><img src="<!--{$smarty.const.PLUGIN_URL|h}--><!--{$arrPluginInfo.path}-->/img/title_recommend.png" width="580" height="30" alt="この商品を買った人はこんな商品も買っています" /></h2> |
---|
7 | <div class="whoboughtblock"> |
---|
8 | <!--{/if}--> |
---|
9 | |
---|
10 | |
---|
11 | <!--{if ($smarty.section.cnt.index % 2) == 0}--> |
---|
12 | <!--{if $arrProduct.product_id}--> |
---|
13 | <div class="whoboughtleft"><!--{* XXX whoboughtleft は本来左列用なので、動作に不具合があるかもしれない。 *}--> |
---|
14 | |
---|
15 | <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id}-->"> |
---|
16 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|u}-->&width=65&height=65" alt="<!--{$arrProduct.name|h}-->" /></a> |
---|
17 | |
---|
18 | <!--{assign var=price02_min value=`$arrProduct.price02_min`}--> |
---|
19 | <!--{assign var=price02_max value=`$arrProduct.price02_max`}--> |
---|
20 | <h3><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a></h3> |
---|
21 | |
---|
22 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
23 | <!--{if $price02_min == $price02_max}--> |
---|
24 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
25 | <!--{else}--> |
---|
26 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
27 | <!--{/if}-->円</span></p> |
---|
28 | <p class="mini"><!--{$arrProduct.comment|h|nl2br}--></p> |
---|
29 | </div> |
---|
30 | <!--{/if}--> |
---|
31 | <!--{/if}--> |
---|
32 | |
---|
33 | |
---|
34 | <!--{if $smarty.foreach.arrProduct.last}--> |
---|
35 | </div> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | <!--{/if}--> |
---|
39 | <!--{/foreach}--> |
---|
40 | <!--▲こんな商品も買っています--> |
---|
Note: See
TracBrowser
for help on using the repository browser.