バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

 > フロント機能 > ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
ymmuu
投稿日時: 2016/10/12 16:41
対応状況: −−−
新米
登録日: 2016/10/12
居住地:
投稿: 3
Re: ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー
umebiusさま

さっそく返信ありがとうございます。

custom/cart/index.twigの増減箇所は下記のように記述しております。
デフォルトのテンプレートを流用したので、
svg→テキストになっているだけですが…。


<li>
    {% if CartItem.quantity > 1 %}
        <a id="cart_item_list__down" href="{{ url('cart_down', {'productClassId': ProductClass.id}) }}" {{ csrf_token_for_anchor() }} data-method="put" data-confirm="false">−</a>
    {% else %}
        <span>−</span>
    {% endif %}
</li>
<li>
    <a id="cart_item_list__up" href="{{ url('cart_up', {'productClassId': ProductClass.id}) }}" {{ csrf_token_for_anchor() }} data-method="put" data-confirm="false">+</a>
</li>


ちなみにformの記述は

<form name="form" id="form_cart" method="post" action="{{ url('cart') }}">


になっています。

よろしくおねがいします。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー ymmuu 2016/10/12 15:04
     Re: ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー umebius 2016/10/12 15:08
     » Re: ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー ymmuu 2016/10/12 16:41
         Re: ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー umebius 2016/10/12 19:32
           Re: ショッピングカート内、商品の削除・数量の増減を行うとシステムエラー ymmuu 2016/10/14 9:58

 



ログイン


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

統計情報

総メンバー数は89,000名です
総投稿数は110,020件です

投稿数ランキング

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.