Kaynağa Gözat

add customfields to card

andre 4 yıl önce
ebeveyn
işleme
9cc91670d0
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      viewcart.tpl

+ 1 - 3
viewcart.tpl

@@ -308,9 +308,7 @@
                                                             {if $product.customfields}
                                                                 <div>
                                                                     <small>
-                                                                        {foreach key=confnum item=customfield from=$product.customfields}
-                                                                            &nbsp;&raquo; {$customfield.name}: {$customfield.value}<br />
-                                                                        {/foreach}
+                                                                        &nbsp;&raquo; {$customfield.0.name}: {$customfield.0.value}<br />
                                                                     </small>
                                                                 </div>
                                                             {/if}