バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > 一部消してしまいました

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
JCCF
投稿日時: 2013/3/25 15:55
対応状況: −−−
新米
登録日: 2013/3/25
居住地:
投稿: 2
一部消してしまいました
すいません、まったくの初心者です。
現在お試し期間でwebshopを作っていたのですがポイントを付与させないつもりで
デザイン管理>PC>ページ詳細設定のポイントに関する部分を消してしまって、webショップから商品をカゴに入れるをクリックするとシステムエラーとなってしまいました。
(とても大事なところも消してしまったようです)

復活させる方法はないでしょうか?
(ホントの初心者ですみません)

現在の状況
<!--{*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*}-->
<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.js"></script>
<link rel="stylesheet" type="text/css" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.css" media="screen" />
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
$('a.expansion').facebox({
loadingImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/loading.gif',
closeImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/closelabel.png'
});
});
//]]></script>

<!--▼CONTENTS-->
<div id="undercolumn">
<div id="undercolumn_cart">
<h2 class="title"><!--{$tpl_title|h}--></h2>

<!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}-->

<!--{/if}-->
<!--{/if}-->

<p class="totalmoney_area">
<!--{* カゴの中に商品がある場合にのみ表示 *}-->
<!--{if count($cartKeys) > 1}-->
<span class="attentionSt"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->は同時購入できません。<br />
お手数ですが、個別に購入手続きをお願い致します。
</span>
<!--{/if}-->

<!--{if strlen($tpl_error) != 0}-->
<p class="attention"><!--{$tpl_error|h}--></p>
<!--{/if}-->

<!--{if strlen($tpl_message) != 0}-->
<p class="attention"><!--{$tpl_message|h|nl2br}--></p>
<!--{/if}-->
</p>

<!--{if count($cartItems) > 0}-->
<!--{foreach from=$cartKeys item=key}-->
<div class="form_area">
<form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?">
<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
<input type="hidden" name="mode" value="confirm" />
<input type="hidden" name="cart_no" value="" />
<input type="hidden" name="cartKey" value="<!--{$key}-->" />
<input type="hidden" name="category_id" value="<!--{$tpl_category_id|h}-->" />
<!--{if count($cartKeys) > 1}-->
<h3><!--{$arrProductType[$key]}--></h3>
<p>
<!--{$arrProductType[$key]}-->の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。
<!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
<!--{if $arrInfo.free_rule > 0}-->
<!--{if !$arrData[$key].is_deliv_free}-->
あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!!
<!--{else}-->

現在、「<span class="attention">送料無料</span>」です!!
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</p>
<!--{else}-->
<p>
お買い上げ商品の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。
<!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
<!--{if $arrInfo.free_rule > 0}-->
<!--{if !$arrData[$key].is_deliv_free}-->
あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!!
<!--{else}-->
現在、「<span class="attention">送料無料</span>」です!!
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</p>
<!--{/if}-->

<table summary="商品情報">
<col width="10%" />
<col width="15%" />
<col width="30%" />
<col width="15%" />
<col width="15%" />
<col width="15%" />
<tr>
<th class="alignC">削除</th>
<th class="alignC">商品写真</th>
<th class="alignC">商品名</th>
<th class="alignC">単価</th>
<th class="alignC">数量</th>
<th class="alignC">小計</th>
</tr>
<!--{foreach from=$cartItems[$key] item=item}-->
<tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
<td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a>
</td>
<td class="alignC">
<a class="expansion" target="_blank"
<!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
<!--{/if}-->
>
<img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$item.productsClass.name|h}-->" />
</a>
</td>
<td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
<!--{if $item.productsClass.classcategory_name1 != ""}-->
<!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
<!--{/if}-->
<!--{if $item.productsClass.classcategory_name2 != ""}-->
<!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
<!--{/if}-->
</td>
<td class="alignR">
<!--{$item.price|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
</td>
<td class="alignC"><!--{$item.quantity}-->
<ul id="quantity_level">
<li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->','up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.jpg" width="16" height="16" alt="+" /></a></li>
<li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->','down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.jpg" width="16" height="16" alt="-" /></a></li>
</ul>
</td>
<td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
</tr>
<!--{/foreach}-->
<tr>
<th colspan="5" class="alignR">小計</th>
<td class="alignR"><!--{$tpl_total_inctax[$key]|number_format}-->円</td>
</tr>
<tr>
<th colspan="5" class="alignR">合計</th>
<td class="alignR"><span class="price"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円</span></td>
</tr>
<!--{if $smarty.const.USE_POINT !== false}-->
<!--{if $arrData[$key].birth_point > 0}-->
<tr>
<th colspan="5" class="alignR">お誕生月ポイント</th>
<td class="alignR"><!--{$arrData[$key].birth_point|number_format}-->pt</td>
</tr>
<!--{/if}-->
<tr>
<th colspan="5" class="alignR">今回加算ポイント</th>
<td class="alignR"><!--{$arrData[$key].add_point|number_format}-->pt</td>
</tr>
<!--{/if}-->
</table>
<!--{if strlen($tpl_error) == 0}-->
<p class="alignC">上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p>
<!--{/if}-->
<div class="btn_area">
<ul>
<li>
<!--{if $tpl_prev_url != ""}-->
<a href="<!--{$tpl_prev_url|h}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back<!--{$key}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back<!--{$key}-->');">
<img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back<!--{$key}-->" /></a>
<!--{/if}-->
</li>
<li>
<!--{if strlen($tpl_error) == 0}-->
<input type="hidden" name="cartKey" value="<!--{$key}-->" />
<input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg" alt="購入手続きへ" name="confirm" />
<!--{/if}-->
</li>
</ul>
</div>
</form>
</div>
<!--{/foreach}-->
<!--{else}-->
<p class="empty"><span class="attention">※ 現在カート内に商品はございません。</span></p>
<!--{/if}-->
</div>
</div>
<!--▲CONTENTS-->
namahage
投稿日時: 2013/3/25 16:39
対応状況: −−−
長老
登録日: 2013/2/28
居住地: 大阪
投稿: 198
Re: 一部消してしまいました
とりあえず、こちらを一読していただきまして、詳しい情報を教えてください。
http://xoops.ec-cube.net/modules/tinyd0/index.php?id=8


あと、動作に関しても、
デザイン管理>PC>ページ詳細設定のポイントに関する部分では
どのような操作が行われたのか解らないので具体的に教えてください。

貼っているソースの内容を見る限り、おそらくJCCFさんがさわってしまったファイルは、デザイン管理>PC>ページ詳細設定>現在のカゴの中>ページ詳細の編集>一部のソースを削除して更新してしまった。のだと思われます。

その動作であれば変更してしまったファイルはdata\Smarty\templates\default\cart\index.tplというファイルです。
インストールする際にダウンロードして解凍してきたフォルダ内にあるdataフォルダの配下に上記と同じファイルがありますので、そちらを参考に修正されてはいかがでしょうか?
すでにカスタマイズされている場合はデザイン・機能等が初期状態に戻ってしまいますので、お気を付けください。
JCCF
投稿日時: 2013/3/25 18:50
対応状況: −−−
新米
登録日: 2013/3/25
居住地:
投稿: 2
Re: 一部消してしまいました
namahage様

アドバイスありがとうございました。
おっしゃってる通りのミスです。

ではファイルを参考にして修正してみます。

適切なアドバイスありがとうございます。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,971名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
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.