فهرست منبع

add customfields to card

andre 4 سال پیش
والد
کامیت
926bf498cc
1فایلهای تغییر یافته به همراه11 افزوده شده و 9 حذف شده
  1. 11 9
      viewcart.tpl

+ 11 - 9
viewcart.tpl

@@ -296,6 +296,17 @@
                                                                     <i>{$product.domain}</i>
                                                                 </span>
                                                             {/if}
+                                                            {if $product.customfields}
+                                                                <div>
+                                                                    <small>
+                                                                        {if $product.productinfo.gid === 5 || $product.productinfo.gid === 7}
+                                                                            &nbsp;&raquo; {$product.customfields.0.value}<br />
+                                                                        {else if $product.productinfo.gid === 1 || $product.productinfo.gid === 8}
+                                                                            {debug}
+                                                                        {/if}
+                                                                    </small>
+                                                                </div>
+                                                            {/if}
                                                             {if $product.configoptions}
                                                                 <div class="item-configoption">
                                                                     <small>
@@ -305,15 +316,6 @@
                                                                     </small>
                                                                 </div>
                                                             {/if}
-                                                            {if $product.customfields}
-                                                                <div>
-                                                                    <small>
-                                                                        {if $product.productinfo.gid === 5}
-                                                                            &nbsp;&raquo; {$product.customfields.0.value}<br />
-                                                                        {/if}
-                                                                    </small>
-                                                                </div>
-                                                            {/if}
                                                         </div>
                                                         {if $showqtyoptions}
                                                             <div class="col-sm-2 item-qty">