douyinzha5820 2013-09-30 19:19
浏览 66

Woocommerce购物车页面添加了额外的<p>标签

The cart page for woocommerce is generating a ton of extra p tags. Does anyone have a solution to this or know why this is happening? I've disabled the auto p in wordpress and it still doesn't solve the issue.

I saw this same question was asked on here in January but there was no solution mentioned.
Link: Woocommerce cart adding extra <p> tags

Example:

<form method="post" action="http://toughguppyproductions.com/traceymallett/cart/">
<p></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table class="shop_table cart" cellspacing="0">
</form>
  • 写回答

1条回答

  • dongshuo5101 2013-10-01 18:19
    关注

    The only item in the source code between the form and the table tags is this:

    <?php do_action( 'woocommerce_before_cart_table' ); ?>
    

    I couldn't find anything in WooCommerce itself which hooked into this action, but you could try searching for the action name woocommerce_before_cart_table through your theme and plugin code and see if you can find what is being added.

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog