dtdd25012 2016-08-02 19:35
浏览 59
已采纳

当它在opencart中为空时,我无法调整购物车页面

I started to learn opencart 3-4 days ago. Anyway My problem is I can't adjust cart page when the basket is empty.

I mean I have no problem to İf I throw one product in a basket. But if I didn't throw and İf I click complete shopping, the problem is here. I can't find the html this section. So I can't edit here.

İf I throw one product and click complete shopping, it's okay I can adjust here.

first picture

But İf I didn't throw any product and click complete shopping. How can I adjust here. I can't find any tpl files in this section. I deleted everyone but this picture never changed. I haven't a good english. I hope, I can tell :). Thank you for helping..

enter image description here

  • 写回答

1条回答 默认 最新

  • dongtanjian9310 2016-08-03 12:39
    关注

    Go to catalog/view/theme/your theme/template/common/footer.tpl , add below code it will show Information List.

    <ul class="list-unstyled">
          <?php foreach ($informations as $information) { ?>
          <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
          <?php } ?>
        </ul>
    

    If you only want to add About us link, add below code in catalog/view/theme/your theme/template/common/footer.tpl

      <ul class="list-unstyled">
          <?php foreach ($informations as $information) { if($information['title']=="About Us") { ?>
          <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
          <?php } } ?>
        </ul>
    

    Hope this helps you!

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

报告相同问题?

悬赏问题

  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作