Explorar o código

add customfields to card

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

+ 9 - 0
viewcart.tpl

@@ -305,6 +305,15 @@
                                                                     </small>
                                                                 </div>
                                                             {/if}
+                                                            {if $product.customfields}
+                                                                <div class="item-configoption">
+                                                                    <small>
+                                                                        {foreach key=confnum item=customfield from=$product.customfields}
+                                                                            &nbsp;&raquo; {$customfield.name}: {$customfield.value}<br />
+                                                                        {/foreach}
+                                                                    </small>
+                                                                </div>
+                                                            {/if}
                                                         </div>
                                                         {if $showqtyoptions}
                                                             <div class="col-sm-2 item-qty">