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

当它在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 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化