バージョン選択

フォーラム

メニュー

オンライン状況

77 人のユーザが現在オンラインです。 (67 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 77
もっと...

サイト内検索

質問 > フロント機能 > 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}-->:&nbsp;¥
<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

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,854名です
総投稿数は109,989件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1291
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.