Browse Source

add customfields to card

andre 4 years ago
parent
commit
69367655ad
1 changed files with 9 additions and 0 deletions
  1. 9 0
      viewcart.tpl

+ 9 - 0
viewcart.tpl

@@ -305,6 +305,15 @@
                                                                     </small>
                                                                     </small>
                                                                 </div>
                                                                 </div>
                                                             {/if}
                                                             {/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>
                                                         </div>
                                                         {if $showqtyoptions}
                                                         {if $showqtyoptions}
                                                             <div class="col-sm-2 item-qty">
                                                             <div class="col-sm-2 item-qty">