Joke Collection Website - Public benefit messages - How does ECSHOP add the specification parameters of goods in the background? The prospect is as urgent as the shopping mall in JD.COM.

How does ECSHOP add the specification parameters of goods in the background? The prospect is as urgent as the shopping mall in JD.COM.

In fact, the default ecshop can be displayed. Find the appropriate location where you want to put it, and then paste the following code.

& lttable width = " 100% " border = " 0 " cell padding = " 3 " cell spacing = " 1 " bgcolor = " # dddddd " >。

& lt! -{ foreach from = $ properties item = property _ group key = key }-& gt;

& lttr & gt

& ltth colspan="2" bgcolor="#FFFFFF " >{ $ key | escape } & lt/th & gt;

& lt/tr & gt;

& lt! -{ foreach from = $ property _ group item = property }-& gt;

& lttr & gt

& ltTD bgcolor = " # FFFFFF " align = " left " width = " 30% " class = " f 1 " >。 [{ $ property . name | escape:html }]& lt; /TD & gt;

& ltTD bgcolor = " # FFFFFF " align = " left " width = " 70% " & gt。 { $ property.value } & lt/TD & gt;

& lt/tr & gt;

& lt! -{/foreach }-& gt;

& lt! -{/foreach }-& gt;

& lt/table & gt;

The foreground display results are as follows: