質問 > フロント機能 > TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
papisan |
投稿日時: 2015/4/23 15:28
対応状況: −−−
|
新米 登録日: 2015/4/23 居住地: 投稿: 5 |
TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい こんにちは。
題名の通り、TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたいと思っております。 そもそも今カスタマイズ中のECサイトの前に、EC CUBEのサイトを持っており、そちらで使用していたブロックを新たなサイトで使用したいと思っております。 もともと持っていたサイトは外部の会社にシステムやデザインの構築などをお願いしていたので、商品を表示させるブロックがどのようなファイルと紐付いているかがわからない状態です。。。 ブロックのコード自体は下記の通りです。 ---------------------------------- <section id="newArrivalArea"> <h2><img src="/user_data/packages/default/add/x/img/top/tit_h2_recommend.gif" width="93" height="13" alt="NEW ARRIVAL"></h2> <p class="btnLink"><a href="http://www..jp/products/list.php?transactionid=&mode=search&category_id=0&search_product_statuses=4"><img src="/user_data/packages/default/add/x/img/top/btn_more.gif" width="45" height="13" alt="more"></a></p> <div id="newArrivalAreaIn" class="clearfix"> <!--{foreach from=$arrProducts item=arrProduct name=arrProducts}--> <!--{assign var=id value=$arrProduct.product_id}--> <!--{assign var=arrErr value=$arrProduct.arrErr}--> <a name="product<!--{$id|h}-->"></a> <section class="productItem"> <!-- ▼商品画像 --> <div class="productImageWrap"> <p class="productImage"><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" width="240" height="320" /></a></p> <!--★ステータス★--> <!--{if count($productStatus[$id]) > 0}--> <ul class="statusIcon clearfix"> <!--{foreach from=$productStatus[$id] item=status}--> <li> <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="28" height="28" alt="<!--{$arrSTATUS[$status]}-->"/> </li> <!--{/foreach}--> </ul> <!--{/if}--> </div> <!-- ▲商品画像 --> <div class="productContents"> <p class="hoverIcon"><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><img src="/user_data/packages/default/add/x/img/common/ico_hover_icon.png" width="50" height="50" alt=""></a></p> <!-- ▼商品コンテンツ --> <div class="productContentsIn"> <h3><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a></h3> <!--★価格★--> <!--{if $arrProduct.price01_min_inctax > 0}--> <p class="regular_price"><span class="price"> <span id="price01_default_<!--{$id}-->"><!--{strip}--> <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}--> <!--{$arrProduct.price01_min_inctax|number_format}--> <!--{else}--> <!--{$arrProduct.price01_min_inctax|number_format}-->〜<!--{$arrProduct.price01_max_inctax|number_format}--> <!--{/if}--> </span><span id="price01_dynamic_<!--{$id}-->"></span><!--{/strip}--></span></p> <!--{/if}--> <p class="sale_price"><strong><!--{$smarty.const.SALE_PRICE_TITLE}-->: ¥ <span class="price"> <span id="price02_default_<!--{$id}-->"><!--{strip}--> <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> <!--{$arrProduct.price02_min_inctax|number_format}--> <!--{else}--> <!--{$arrProduct.price02_min_inctax|number_format}-->〜<!--{$arrProduct.price02_max_inctax|number_format}--> <!--{/if}--> </span><span id="price02_dynamic_<!--{$id}-->"></span><!--{/strip}--></span></strong></p> <!-- ▲商品コンテンツ --> </div> </div> <!-- ▲商品コンテンツ --> </section> <!--{foreachelse}--> <!--{include file="frontparts/search_zero.tpl"}--> <!--{/foreach}--> </div> </section> ---------------------------------- 上記のブロック機能を他のEC CUBEサイトで動くようにするには、どういったファイルや操作が必要でしょうか? 荒い質問で申し訳ございませんが、ご教示頂けると幸いです。 よろしくお願い申し上げます。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい | papisan | 2015/4/23 15:28 |
Re: TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい | yuh | 2015/4/23 16:29 |
Re: TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい | papisan | 2015/4/26 16:45 |
Re: TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい | yuh | 2015/4/27 1:18 |
Re: TOPページにブロックとして、任意(ステータス)の商品一覧を表示させたい | papisan | 2015/5/7 11:54 |