<bdo id='JxEiL'></bdo><ul id='JxEiL'></ul>

<i id='JxEiL'><tr id='JxEiL'><dt id='JxEiL'><q id='JxEiL'><span id='JxEiL'><b id='JxEiL'><form id='JxEiL'><ins id='JxEiL'></ins><ul id='JxEiL'></ul><sub id='JxEiL'></sub></form><legend id='JxEiL'></legend><bdo id='JxEiL'><pre id='JxEiL'><center id='JxEiL'></center></pre></bdo></b><th id='JxEiL'></th></span></q></dt></tr></i><div id='JxEiL'><tfoot id='JxEiL'></tfoot><dl id='JxEiL'><fieldset id='JxEiL'></fieldset></dl></div>

    1. <tfoot id='JxEiL'></tfoot>
      1. <small id='JxEiL'></small><noframes id='JxEiL'>

        <legend id='JxEiL'><style id='JxEiL'><dir id='JxEiL'><q id='JxEiL'></q></dir></style></legend>

      2. OpenCart:下拉标题购物车信息的 div 在哪里?

        时间:2023-10-03
        • <tfoot id='fM04s'></tfoot>

            1. <i id='fM04s'><tr id='fM04s'><dt id='fM04s'><q id='fM04s'><span id='fM04s'><b id='fM04s'><form id='fM04s'><ins id='fM04s'></ins><ul id='fM04s'></ul><sub id='fM04s'></sub></form><legend id='fM04s'></legend><bdo id='fM04s'><pre id='fM04s'><center id='fM04s'></center></pre></bdo></b><th id='fM04s'></th></span></q></dt></tr></i><div id='fM04s'><tfoot id='fM04s'></tfoot><dl id='fM04s'><fieldset id='fM04s'></fieldset></dl></div>
              <legend id='fM04s'><style id='fM04s'><dir id='fM04s'><q id='fM04s'></q></dir></style></legend>
                <tbody id='fM04s'></tbody>

                <bdo id='fM04s'></bdo><ul id='fM04s'></ul>
              • <small id='fM04s'></small><noframes id='fM04s'>

                  本文介绍了OpenCart:下拉标题购物车信息的 div 在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在尝试设置 OpenCart 的样式,但是我很难找到哪个 TPL 文件包含当您单击标题中的购物车图标时出现的 div(向下滑动的迷你购物车" - 它允许您查看您的购物车而不去购物车页面).

                  有谁知道我在哪里可以找到包含这个 div 的 .tpl 文件(在默认结构模板中)?谢谢

                  解决方案

                  为什么人们不给你投票?

                  #content DIV 位于 #cart DIV 中 - 您应该搜索过这个.

                  打开/catalog/view/theme/default/template/common/header.tpl

                  购物车标题在 echo

                  查看代码视图/catalog/view/theme/default/template/module/cart.tpl(v1.5.3.1版本)

                  该部分位于 .mini-cart-info 类的顶部.以下部分代码片段的示例:

                  <div class="heading"><h4><?php echo $heading_title;?></h4><a><span id="cart-total"><?php echo $text_items;?></span></a></div><div class="内容"><?php if ($products || $vouchers) { ?><div class="mini-cart-info"><表格><?php foreach ($products as $product) { ?><tr><td class="image"><?php if ($product['thumb']) { ?><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>"alt="<?php echo $product['name']; ?>"title="<?php echo $product['name']; ?>"/></a><?php } ?></td><td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name'];?></a><div>

                  I am trying to style OpenCart but am having difficulty finding which TPL file holds the div that appears when you click the Shopping Cart icon in the header (the 'mini cart' that slides down - it allows you to view what's in your cart without going to the cart page).

                  Does anyone know where I can find the .tpl file that has this div (in the default structure template)? Thanks

                  解决方案

                  Why did people downvote you?

                  The #content DIV sits within the #cart DIV - you should have searched this.

                  Open /catalog/view/theme/default/template/common/header.tpl

                  The cart header is in the echo

                  <?php echo $cart; ?>
                  

                  To see the code view /catalog/view/theme/default/template/module/cart.tpl (in version v1.5.3.1)

                  The section is in the top within .mini-cart-info class. Example from some of the code snippet below:

                  <div id="cart">
                    <div class="heading">
                      <h4><?php echo $heading_title; ?></h4>
                      <a><span id="cart-total"><?php echo $text_items; ?></span></a></div>
                    <div class="content">
                      <?php if ($products || $vouchers) { ?>
                      <div class="mini-cart-info">
                        <table>
                          <?php foreach ($products as $product) { ?>
                          <tr>
                            <td class="image"><?php if ($product['thumb']) { ?>
                              <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a>
                              <?php } ?></td>
                            <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
                              <div>
                  

                  这篇关于OpenCart:下拉标题购物车信息的 div 在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:codeigniter - 依赖于 jquery 和 ajax post 的下拉列表 下一篇:将十六进制转换为 ascii 字符

                  相关文章

                  最新文章

                  <tfoot id='KU931'></tfoot>

                    <small id='KU931'></small><noframes id='KU931'>

                    <legend id='KU931'><style id='KU931'><dir id='KU931'><q id='KU931'></q></dir></style></legend>

                      • <bdo id='KU931'></bdo><ul id='KU931'></ul>
                    1. <i id='KU931'><tr id='KU931'><dt id='KU931'><q id='KU931'><span id='KU931'><b id='KU931'><form id='KU931'><ins id='KU931'></ins><ul id='KU931'></ul><sub id='KU931'></sub></form><legend id='KU931'></legend><bdo id='KU931'><pre id='KU931'><center id='KU931'></center></pre></bdo></b><th id='KU931'></th></span></q></dt></tr></i><div id='KU931'><tfoot id='KU931'></tfoot><dl id='KU931'><fieldset id='KU931'></fieldset></dl></div>