質問編集履歴

3

文法の修正

2018/01/25 03:54

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -18,97 +18,6 @@
18
18
 
19
19
 
20
20
 
21
- 商品詳細ページの 価格が表示されている部分↓
22
-
23
- ```
24
-
25
- <div class="det_kakaku_l">
26
-
27
- <span><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税別): <!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
28
-
29
- <!--{$arrProduct.price01_min|number_format}-->
30
-
31
- <!--{else}-->
32
-
33
- <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}-->
34
-
35
- <!--{/if}--> 円</span>
36
-
37
-
38
-
39
- <!--{$smarty.const.SALE_PRICE_TITLE}-->(税別): <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
40
-
41
-
42
-
43
-
44
-
45
- <!--{$arrProduct.price02_min|number_format}-->
46
-
47
- <!--{else}-->
48
-
49
- <!--{$arrProduct.price02_min|number_format}-->~<!--{$arrProduct.price02_max|number_format}-->
50
-
51
- <!--{/if}-->円<br />
52
-
53
- <!--{if strlen($arrProduct.plg_managecustomerstatus_price_min) > 0 && (($smarty.session.customer.customer_id && $smarty.const.PLG_MANAGECUSTOMER_LOGIN_DISP == 1) || $smarty.const.PLG_MANAGECUSTOMER_LOGIN_DISP == 0)}-->
54
-
55
- <!--{if $smarty.const.MEMBER_RANK_PRICE_TITLE_MODE == 1}--><!--{$arrCustomerRank[$customer_rank_id]}--><!--{/if}--><!--{$smarty.const.MEMBER_RANK_PRICE_TITLE}-->(税別):
56
-
57
- <!--{if $arrProduct.plg_managecustomerstatus_price_min != $arrProduct.plg_managecustomerstatus_price_max && $arrProduct.plg_managecustomerstatus_price_min != 0}-->
58
-
59
- <!--{$arrProduct.plg_managecustomerstatus_price_min|number_format}-->~<!--{$arrProduct.plg_managecustomerstatus_price_max|number_format}-->
60
-
61
- <!--{else}-->
62
-
63
- <!--{$arrProduct.plg_managecustomerstatus_price_max|number_format}-->
64
-
65
- <!--{/if}-->円<br />
66
-
67
- <!--{/if}-->
68
-
69
-
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
-
77
- <!--{if $tpl_stock_find}-->
78
-
79
- <div class="det_kakaku_r">
80
-
81
- <div class="det_kakaku_from">
82
-
83
- <form>
84
-
85
- <div>数量</div>
86
-
87
- <div><input type="image" src="<!--{$TPL_URLPATH}-->img/cart_bt3.jpg" value="-" id="quantitym"></div>
88
-
89
- <div><input type="text" id="quantity" class="hoge2"></div>
90
-
91
- <div><input type="image" src="<!--{$TPL_URLPATH}-->img/cart_bt4.jpg" id="quantityp"></div>
92
-
93
- </form>
94
-
95
- </div>
96
-
97
-
98
-
99
-
100
-
101
- <div class="det_kakaku_rbt" data-id="<!--{$arrProduct.product_id}-->" data-class_id="<!--{$tpl_product_class_id}-->" data-type_id="<!--{$arrProduct.product_type_id}-->" data-price="<!--{$arrProduct.price02_min}-->" data-pic="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" data-title="<!--{$arrProduct.name|h}-->" >
102
-
103
- <a href="#">カートに入れる</a>
104
-
105
- </div>
106
-
107
- </div>
108
-
109
- コード
110
-
111
- ```
112
21
 
113
22
 
114
23
 
@@ -116,91 +25,6 @@
116
25
 
117
26
 
118
27
 
119
-
120
-
121
-
122
-
123
- 右から出てくる スライドバー↓
124
-
125
- ```
126
-
127
- <div class="sb-slidebar sb-right sb-style-overlay">
128
-
129
- <aside id="sidebar">
130
-
131
- <div class="basket">
132
-
133
- <div class="basket_list">
134
-
135
- <div class="head">
136
-
137
- <img src="<!--{$TPL_URLPATH}-->img/icon_02c.png" width="30px">
138
-
139
- <span class="count">Quantity</span>
140
-
141
- </div>
142
-
143
- <ul>
144
-
145
- <!--{foreach from=$CartContent.1 item=cartproduct}-->
146
-
147
- <li data-id="<!--{$cartproduct.productsClass.product_id}-->" data-cart_no="<!--{$cartproduct.cart_no}-->" data-class_id="<!--{$cartproduct.productsClass.product_class_id}-->" data-type_id="<!--{$cartproduct.productsClass.product_type_id}-->" >
148
-
149
- <span><img src="/upload/save_image/<!--{$cartproduct.productsClass.main_list_image}-->" alt="" width="30" /></span>
150
-
151
- <span class="name"><!--{$cartproduct.productsClass.name}--><br />
152
-
153
- <!--{if $cartproduct.productsClass.classcategory_name1 != ""}-->
154
-
155
- <!--{$cartproduct.productsClass.class_name1}-->:<!--{$cartproduct.productsClass.classcategory_name1}--><br />
156
-
157
- <!--{/if}-->
158
-
159
- <!--{if $cartproduct.productsClass.classcategory_name2 != ""}-->
160
-
161
- <!--{$cartproduct.productsClass.class_name2}-->:<!--{$cartproduct.productsClass.classcategory_name2}-->
162
-
163
- <!--{/if}--></span>
164
-
165
- <input class="count" value="<!--{$cartproduct.quantity}-->" type="text">
166
-
167
-
168
-
169
- <span class="price" data-price="<!--{$cartproduct.price}-->">¥<!--{$cartproduct.price|number_format}--></span>
170
-
171
-
172
-
173
- <button class="delete">&#10005;</button>
174
-
175
- </li>
176
-
177
- <!--{/foreach}-->
178
-
179
- </ul>
180
-
181
- <div id="total_price_div">
182
-
183
- <span>合計金額(税抜)</span>
184
-
185
- <span id="total_price"></span>
186
-
187
- <br/><a href="<!--{$smarty.const.HTTP_URL}-->cart/">決済する</a>
188
-
189
- </div>
190
-
191
- </div>
192
-
193
- </div>
194
-
195
- </aside>
196
-
197
- </div>
198
-
199
-
200
-
201
- コード
202
-
203
- ```
204
28
 
205
29
 
206
30
 

2

コードの修正

2018/01/25 03:54

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -72,6 +72,40 @@
72
72
 
73
73
  </div>
74
74
 
75
+
76
+
77
+ <!--{if $tpl_stock_find}-->
78
+
79
+ <div class="det_kakaku_r">
80
+
81
+ <div class="det_kakaku_from">
82
+
83
+ <form>
84
+
85
+ <div>数量</div>
86
+
87
+ <div><input type="image" src="<!--{$TPL_URLPATH}-->img/cart_bt3.jpg" value="-" id="quantitym"></div>
88
+
89
+ <div><input type="text" id="quantity" class="hoge2"></div>
90
+
91
+ <div><input type="image" src="<!--{$TPL_URLPATH}-->img/cart_bt4.jpg" id="quantityp"></div>
92
+
93
+ </form>
94
+
95
+ </div>
96
+
97
+
98
+
99
+
100
+
101
+ <div class="det_kakaku_rbt" data-id="<!--{$arrProduct.product_id}-->" data-class_id="<!--{$tpl_product_class_id}-->" data-type_id="<!--{$arrProduct.product_type_id}-->" data-price="<!--{$arrProduct.price02_min}-->" data-pic="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" data-title="<!--{$arrProduct.name|h}-->" >
102
+
103
+ <a href="#">カートに入れる</a>
104
+
105
+ </div>
106
+
107
+ </div>
108
+
75
109
  コード
76
110
 
77
111
  ```
@@ -184,138 +218,110 @@
184
218
 
185
219
 
186
220
 
187
- <table summary="商品情報">
188
-
189
- <col width="10%" />
190
-
191
- <col width="15%" />
192
-
193
- <col width="30%" />
194
-
195
- <col width="15%" />
196
-
197
- <col width="15%" />
198
-
199
- <col width="15%" />
221
+
222
+
223
+ <!--{foreach from=$cartItems[$key] item=item}-->
224
+
225
+ <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
226
+
227
+ <td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a>
228
+
229
+ </td>
230
+
231
+ <td class="alignC">
232
+
233
+ <a class="expansion" target="_blank"
234
+
235
+ <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
236
+
237
+ <!--{/if}-->
238
+
239
+ >
240
+
241
+ <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" />
242
+
243
+ </a>
244
+
245
+ </td>
246
+
247
+ <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
248
+
249
+ <!--{if $item.productsClass.classcategory_name1 != ""}-->
250
+
251
+ <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
252
+
253
+ <!--{/if}-->
254
+
255
+ <!--{if $item.productsClass.classcategory_name2 != ""}-->
256
+
257
+ <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
258
+
259
+ <!--{/if}-->
260
+
261
+ </td>
262
+
263
+ <td class="alignR">
264
+
265
+ <!--{$item.price|sfCalcIncTax|number_format}-->円
266
+
267
+ </td>
268
+
269
+ <td class="alignC"><!--{$item.quantity}-->
270
+
271
+ <ul id="quantity_level">
272
+
273
+ <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>
274
+
275
+ <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>
276
+
277
+ </ul>
278
+
279
+ </td>
280
+
281
+ <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
282
+
283
+ </tr>
284
+
285
+ <!--{/foreach}-->
200
286
 
201
287
  <tr>
202
288
 
203
- <th class="alignC">削除</th>
204
-
205
- <th class="alignC">商品写真</th>
206
-
207
- <th class="alignC">商品名</th>
208
-
209
- <th class="alignC">単価</th>
210
-
211
- <th class="alignC">数量</th>
212
-
213
- <th class="alignC">小計</th>
289
+ <th colspan="5" class="alignR">小計</th>
290
+
291
+ <td class="alignR"><!--{$tpl_total_inctax[$key]|number_format}-->円</td>
214
292
 
215
293
  </tr>
216
294
 
217
- <!--{foreach from=$cartItems[$key] item=item}-->
218
-
219
- <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
220
-
221
- <td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a>
222
-
223
- </td>
224
-
225
- <td class="alignC">
226
-
227
- <a class="expansion" target="_blank"
228
-
229
- <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
230
-
231
- <!--{/if}-->
232
-
233
- >
234
-
235
- <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" />
236
-
237
- </a>
238
-
239
- </td>
240
-
241
- <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
242
-
243
- <!--{if $item.productsClass.classcategory_name1 != ""}-->
244
-
245
- <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
246
-
247
- <!--{/if}-->
248
-
249
- <!--{if $item.productsClass.classcategory_name2 != ""}-->
250
-
251
- <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
252
-
253
- <!--{/if}-->
254
-
255
- </td>
256
-
257
- <td class="alignR">
258
-
259
- <!--{$item.price|sfCalcIncTax|number_format}-->円
260
-
261
- </td>
262
-
263
- <td class="alignC"><!--{$item.quantity}-->
264
-
265
- <ul id="quantity_level">
266
-
267
- <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>
268
-
269
- <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>
270
-
271
- </ul>
272
-
273
- </td>
274
-
275
- <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
295
+ <tr>
296
+
297
+ <th colspan="5" class="alignR">合計</th>
298
+
299
+ <td class="alignR"><span class="price"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円</span></td>
300
+
301
+ </tr>
302
+
303
+ <!--{if $smarty.const.USE_POINT !== false}-->
304
+
305
+ <!--{if $arrData[$key].birth_point > 0}-->
306
+
307
+ <tr>
308
+
309
+ <th colspan="5" class="alignR">お誕生月ポイント</th>
310
+
311
+ <td class="alignR"><!--{$arrData[$key].birth_point|number_format}-->pt</td>
312
+
313
+ </tr>
314
+
315
+ <!--{/if}-->
316
+
317
+ <tr>
318
+
319
+ <th colspan="5" class="alignR">今回加算ポイント</th>
320
+
321
+ <td class="alignR"><!--{$arrData[$key].add_point|number_format}-->pt</td>
276
322
 
277
323
  </tr>
278
324
 
279
- <!--{/foreach}-->
280
-
281
- <tr>
282
-
283
- <th colspan="5" class="alignR">小計</th>
284
-
285
- <td class="alignR"><!--{$tpl_total_inctax[$key]|number_format}-->円</td>
286
-
287
- </tr>
288
-
289
- <tr>
290
-
291
- <th colspan="5" class="alignR">合計</th>
292
-
293
- <td class="alignR"><span class="price"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円</span></td>
294
-
295
- </tr>
296
-
297
- <!--{if $smarty.const.USE_POINT !== false}-->
298
-
299
- <!--{if $arrData[$key].birth_point > 0}-->
300
-
301
- <tr>
302
-
303
- <th colspan="5" class="alignR">お誕生月ポイント</th>
304
-
305
- <td class="alignR"><!--{$arrData[$key].birth_point|number_format}-->pt</td>
306
-
307
- </tr>
308
-
309
- <!--{/if}-->
310
-
311
- <tr>
312
-
313
- <th colspan="5" class="alignR">今回加算ポイント</th>
314
-
315
- <td class="alignR"><!--{$arrData[$key].add_point|number_format}-->pt</td>
316
-
317
- </tr>
318
-
319
325
  <!--{/if}-->
320
326
 
321
327
  </table>

1

文法の修正

2018/01/18 05:01

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -18,9 +18,9 @@
18
18
 
19
19
 
20
20
 
21
-
22
-
23
- ```<!-- 商品詳細ページの 価格が表示されている部分 -->
21
+ 商品詳細ページの 価格が表示されている部分
22
+
23
+ ```
24
24
 
25
25
  <div class="det_kakaku_l">
26
26
 
@@ -86,9 +86,9 @@
86
86
 
87
87
 
88
88
 
89
-
90
-
91
- ```<!-- 右から出てくる スライドバー-->
89
+ 右から出てくる スライドバー
90
+
91
+ ```
92
92
 
93
93
  <div class="sb-slidebar sb-right sb-style-overlay">
94
94
 
@@ -162,7 +162,7 @@
162
162
 
163
163
  </div>
164
164
 
165
- <!-- 右から出てくる スライドバー-->
165
+
166
166
 
167
167
  コード
168
168
 
@@ -170,9 +170,9 @@
170
170
 
171
171
 
172
172
 
173
-
174
-
175
- ```<!-- 現在のカゴの中身ページ (デフォルトのものを使用しています)-->
173
+ 現在のカゴの中身ページ (デフォルトのものを使用しています)
174
+
175
+ ```
176
176
 
177
177
 
178
178