【问题标题】:How to remove VirtueMart Featured Products from category browsing page如何从类别浏览页面中删除 VirtueMart 特色产品
【发布时间】:2011-09-01 16:58:20
【问题描述】:

我已经使用joomla和deadmart构建了一个购物车在下面的链接enter link description here

我的问题是:

  1. 如何去除该分类浏览页面中的特色产品?
  2. 如何在单独的菜单项的单独页面中显示特色产品?

谢谢。

【问题讨论】:

    标签: joomla virtuemart


    【解决方案1】:

    或者您可以转到 VirtueMart 组件产品>特殊产品(这将显示对放置为“特色”的产品的检查。单击这些产品,转到其产品状态选项卡,然后取消选中该框上面写着“特别”

    【讨论】:

      【解决方案2】:

      1) 可以通过注释掉该行来从您的浏览(类别)页面中删除特色产品

      //echo $ps_product->featuredProducts(true,10,true);
      

      在以下文件中(哪个文件取决于您使用的布局)

      /components/com_virtuemart/themes/default/templates/browse/includes/
      
      browse_layouttable.tpl.php
      browse_listtable.tpl.php
      browse_notables.tpl.php
      

      2) 我建议使用 VirtueMart 特色产品模块 (mod_virtuemart_featureprod) 和 loading the module into an article

      【讨论】:

        猜你喜欢
        • 2011-08-08
        • 1970-01-01
        • 1970-01-01
        • 2014-04-06
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-06-21
        • 1970-01-01
        相关资源
        最近更新 更多