Explorar o código

add customfields to card

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
9cc91670d0
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      viewcart.tpl

+ 1 - 3
viewcart.tpl

@@ -308,9 +308,7 @@
                                                             {if $product.customfields}
                                                             {if $product.customfields}
                                                                 <div>
                                                                 <div>
                                                                     <small>
                                                                     <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>
                                                                     </small>
                                                                 </div>
                                                                 </div>
                                                             {/if}
                                                             {/if}