Another newbie WooCommerce question I haven't been able to track down online. I am accessing what displays by default in the Description tab on single product pages in WooCommerce and placing that markup elsewhere on the page. But where that markup is being generated and how to change the output is not clear to me. Here's a truncated example of what is output from the template single-product/tabs/description.php
:
<div class="single-product-content">
Lorem ipsum blah blah blah...
<div class="row ksps">...</div>
<div class="related products">...</div>
</div>
What I'm trying to do is remove that "Lorem ipsum" text (which I'm assuming is the long description for the product) that immediately follows the parent div with the class single-product-content
. I've tried CSS hacks like making single-product-content
have a visibility of "collapse" and then make the child divs "visible". That displays them but, of course, leaves a sizable gap before the div with the classes row ksps
. Besides, that's a hack -- I should be able to access whatever is constructing that Description output. In the template single-product/tabs/description.php
, there's simply this otherwise mysterious final line:
<?php the_content(); ?>
What is driving that and how can I tease out the text from being added before the child divs? Thanks for your help here.