网奇论坛网奇产品区网奇Eshop商城购物系统 如何去掉精品推荐和最新商品

1  /  1  页   1 跳转 查看:1903

如何去掉精品推荐和最新商品

如何去掉精品推荐和最新商品

我用的是商城5。0版,我不想要精品推荐、最新商品、电子数码、时尚服饰、这几栏目,应该怎么弄
最后编辑sunkyong 最后编辑于 2007-08-06 10:41:41
 

回复:如何去掉精品推荐和最新商品

您打开Template\freemodelv**\Default.aspx文件(*号表示您的模板号,比如freemodelv9)
然后分别找到
<uc1:NewProduct id="NewProduct1" runat="server"></uc1:NewProduct>
<uc1:CommendProduct id="CommendProduct1" runat="server"></uc1:CommendProduct>
把它改成
<div style="display:none"><uc1:NewProduct id="NewProduct1" runat="server"></uc1:NewProduct></div>
<div style="display:none"><uc1:CommendProduct id="CommendProduct1" runat="server"></uc1:CommendProduct>
</uc1:NewProduct></div>

这样精品推荐、最新商品就没有了
但是您需要告诉我您用的是那一套模板我才能跟您讲电子数码和时尚服饰具体要怎么改
未知的旋律又响起...
 

回复:如何去掉精品推荐和最新商品

我用的是freemodelv12这个模板,请问怎么去掉电子数码、时尚服饰. 谢谢
 

回复:如何去掉精品推荐和最新商品

打开Template\freemodelv12\Default.aspx文件夹
然后找到这一句删除就可以了

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="box" style="margin-top:4px">
  <tr valign="top">
    <td width="309">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="tl"><div class="tt"><%=GetResourceString("Electron")%></div></td>
    <td class="tm" align="right"><a href="/"><img src="Template/freemodelv12/Images/news.gif" border="0" /></a></td>
    <td class="tr"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="mm" bgcolor="#F6F6F6"><%=wqshop.WebUtils.GetNews(3,5,22,"bullet.gif","","")%></td>
  </tr>
</table>

</td>
    <td width="6"></td>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="tl"><div class="tt"><%=GetResourceString("Fashion")%></div></td>
    <td class="tm" align="right"><a href="/"><img src="Template/freemodelv12/Images/news.gif" border="0" /></a></td>
    <td class="tr"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="mm" bgcolor="#F6F6F6"><%=wqshop.WebUtils.GetNews(4,5,22,"bullet.gif","","")%></td>
  </tr>
</table></td>
  </tr>
</table>
未知的旋律又响起...
 

回复:如何去掉精品推荐和最新商品

试了一下还是不行,只是里面的商品不显示,可是栏目还是有
 

回复:如何去掉精品推荐和最新商品

<table width="623" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="30"><img src="Template/freemodelv12/Images/Sw_l.gif" width="30" height="29" /></td>
    <td  width="111"><div id="news_lbl_0" onMouseOver="SetLbl('news',0,0,2,'lblOn','lblOff');" class="lblOn"><div><%=GetResourceString("CommendProducts")%></div></div></td>
    <td background="Template/freemodelv12/Images/Sw_m.gif" width="14"> </td> 
    <td  width="111"><div id="news_lbl_1" onMouseOver="SetLbl('news',1,0,2,'lblOn','lblOff');" class="lblOff"><div><%=GetResourceString("NewProducts")%></div></div></td>
    <td background="Template/freemodelv12/Images/Sw_m.gif"> </td>
     <td width="6"><img src="Template/freemodelv12/Images/Sw_r.gif" /></td>
  </tr>
</table>
<table width="623" border="0" cellspacing="0" cellpadding="0" id="news_con_0" class="lblmm">
  <tr>
    <td>
    <!--推荐商品列表开始-->
      <uc1:CommendProduct id="CommendProduct1" runat="server"></uc1:CommendProduct>
    <!--推荐商品列表结束-->
    </td>
  </tr>
</table>
<table width="623" border="0" cellspacing="0" cellpadding="0" id="news_con_1" style="display:none;" class="lblmm">
  <tr>
    <td>
    <!--最新商品开始-->
    <uc1:NewProduct id="NewProduct1" runat="server"></uc1:NewProduct> 
    <!--最新商品结束-->
    </td>
  </tr>
</table>
    </td>
  </tr>
</table>

那么您就把这一段代码改成下边这一段
<div style="display:none">
<table width="623" border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td width="30"><img src="Template/freemodelv12/Images/Sw_l.gif" width="30" height="29" /></td>
    <td  width="111"><div id="news_lbl_0" onMouseOver="SetLbl('news',0,0,2,'lblOn','lblOff');" class="lblOn"><div><%=GetResourceString("CommendProducts")%></div></div></td>
    <td background="Template/freemodelv12/Images/Sw_m.gif" width="14"> </td> 
    <td  width="111"><div id="news_lbl_1" onMouseOver="SetLbl('news',1,0,2,'lblOn','lblOff');" class="lblOff"><div><%=GetResourceString("NewProducts")%></div></div></td>
    <td background="Template/freemodelv12/Images/Sw_m.gif"> </td>
     <td width="6"><img src="Template/freemodelv12/Images/Sw_r.gif" /></td>
  </tr>
</table>
<table width="623" border="0" cellspacing="0" cellpadding="0" id="news_con_0" class="lblmm">
  <tr>
    <td>
    <!--推荐商品列表开始-->
      <uc1:CommendProduct id="CommendProduct1" runat="server"></uc1:CommendProduct>
    <!--推荐商品列表结束-->
    </td>
  </tr>
</table>
<table width="623" border="0" cellspacing="0" cellpadding="0" id="news_con_1" style="display:none;" class="lblmm">
  <tr>
    <td>
    <!--最新商品开始-->
    <uc1:NewProduct id="NewProduct1" runat="server"></uc1:NewProduct> 
    <!--最新商品结束-->
    </td>
  </tr>
</table>
    </td>
  </tr>
</table>
</div>
未知的旋律又响起...
 
1  /  1  页   1 跳转

版权所有 网奇论坛   Sitemap

Powered by Discuz!NT 2.1.202    Copyright © 2001-2009 Comsenz Inc.
Processed in 0.078125 second(s) , 4 queries.
返顶部