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!

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

报告相同问题?

悬赏问题

  • ¥15 解决一个加好友限制问题 或者有好的方案
  • ¥15 关于#java#的问题,请各位专家解答!
  • ¥15 急matlab编程仿真二阶震荡系统
  • ¥20 TEC-9的数据通路实验
  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥30 求解达问题(有红包)