Explorar o código

add customfields to card

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

+ 1 - 1
viewcart.tpl

@@ -308,7 +308,7 @@
                                                             {if $product.customfields}
                                                             {if $product.customfields}
                                                                 <div>
                                                                 <div>
                                                                     <small>
                                                                     <small>
-                                                                        &nbsp;&raquo; {$customfields[1]->name}: {$customfields[1]->value}<br />
+                                                                        &nbsp;&raquo; {$customfields|@print_r}<br />
                                                                     </small>
                                                                     </small>
                                                                 </div>
                                                                 </div>
                                                             {/if}
                                                             {/if}