• Could somebody help me in explaining why WooCommerce outputs a empty div between the markup.

    You can find this div right below the WooCommerce breadcrumb markup when you view the source.

    <nav class="woocommerce-breadcrumb"> ... </nav>
       this one --> <div class="woocommerce"></div> <-- this one
        ...rest of markup...

    You can find this div on the Storefront Demo site as well, when you view the source.

    The only reference I could find in the WC source code is in class-wc-shortcodes.php on lines 733 and 744. Here it is used to get the current buffer contents and delete the current output buffer.

    I guess that I am definitly missing something here. Any help in explaining this to me is much appreciated.

Viewing 1 replies (of 1 total)
  • @droidism if you have questions on woocommerce implementation or want to report a bug, visit the github project for woocommerce. Otherwise the div isn’t doing any harm.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce outputs (unused) div in markup’ is closed to new replies.