dongyunqin7307 2016-04-07 17:18
浏览 22
已采纳

如何在prestashop 1.6中拆分主页选项卡?(热门“和”新到货“)

How to Split home tabs in prestashop 1.6 ?(Popular” and “New arrivals” ) Split them into independent rows. enter image description here

Can anybody help me?Iwould save my days. Thanks

  • 写回答

1条回答 默认 最新

  • duanshang9426 2016-04-08 07:52
    关注

    Assuming you are using the default bootstrap theme, look at the index.tpl file as well as, for instance, the blocknewproducts.php and see how these "tabs" are implemented.

    PS is using the bootstrap tabs and the modules you are talking about are hooked into {$HOOK_HOME_TAB} and {$HOOK_HOME_TAB_CONTENT}. I would for example copy that block from index.tpl, create new hooks, rename the html classes and override one of the modules so it hooks into that new row. Explaining exactly how that is done goes beyond the scope of SO answers.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?