バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > ブロック新規作成、表示

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
luceo
投稿日時: 2019/6/27 21:27
対応状況: −−−
一人前
登録日: 2019/5/20
居住地:
投稿: 133
ブロック新規作成、表示
スマホ用にブロック新規作成しましたが
表示されません。

規定のブロックに入れ替えると表示されます。

<ブロック新規作成>時にはエラーはでませんでしたが
ファイル名は変更できる状態になっています。

これは作成が完成していないという状態でしょうか?

お教えいただけますととても嬉しいです。

どうぞよろしくお願い申し上げます。


tao_s
投稿日時: 2019/6/28 12:20
対応状況: −−−
仙人
登録日: 2008/8/20
居住地: 東京
投稿: 799
Re: ブロック新規作成、表示
中身にはどんなコードを書きましたか?


----------------
EC-CUBEカスタマイズ相談してください。
緊急のEC-CUBEの障害対応
EC-CUBEカスタマイズブログ

luceo
投稿日時: 2019/6/28 13:33
対応状況: −−−
一人前
登録日: 2019/5/20
居住地:
投稿: 133
Re: ブロック新規作成、表示
ご連絡ありがとうございます。

購入しましたプラグインのソースを記載しました。
長文となりますが具体的には以下です。
どうぞよろしくお願い申し上げます。

{#
* Plugin Name : CustomerRank
*
* Copyright (C) BraTech Co., Ltd. All Rights Reserved.
* http://www.bratech.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
#}

{% block stylesheet %}
<style>
#customer_rank {
margin-bottom: 50px;
}

#customer_rank .heading02 {
background: #333333;
padding: 16px;
color: #ffffff;
}

#customer_rank .current-rank {
font-size: 2rem;
margin-bottom: 30px;
}

#customer_rank span {
color: #ff4500;
font-weight: bold;
}

#customer_rank .rank {
color: #2981ba;
font-weight: bold;
}

#customer_rank .next_info {
background: #f7f7f9;
padding: 10px 25px;
border: 1px solid #e1e1e8;
}
</style>
{% endblock stylesheet %}

<!--会員ランク表示-->
{% if CurrentCustomerRank or CheckCustomerRank or NextCustomerRank%}
<div id="customer_rank">
<h2 class="heading02">会員ランク情報</h2>
<div class="container-fluid">
<div class="col-md-10 col-md-offset-1">
{% if CurrentCustomerRank %}
<p class="current-rank">現在のランクは「<span class="rank">{{ CurrentCustomerRank.name }}</span>」です。</p>
{% endif %}
{% if CheckCustomerRank %}
<p class="next_info">次回更新時のランクは「<span class="rank">{{ CheckCustomerRank.name }}</span>」です。</p>
{% endif %}
{% if NextCustomerRank %}
<div class="next_info">
{% set nextAmount = NextCustomerRank.condAmount - CurrentCondition.total_amount %}
{% if nextAmount > 0 %}
<p>あと <span>{{ nextAmount|number_format() }}円</span></p>
{% endif %}
{% set nextBuytimes = NextCustomerRank.condBuytimes - CurrentCondition.total_buytimes %}
{% if nextBuytimes > 0 %}
<p>あと <span>{{ nextBuytimes|number_format() }}回</span></p>
{% endif %}
{% if nextAmount > 0 or nextBuytimes > 0 %}
<p>ご購入頂くと「<span class="rank">{{ NextCustomerRank.name }}</span>」にランクアップします。</p>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

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

投稿数ランキング

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.