• My product descriptions and short descriptions no longer have any line breaks. I’m using the new WordPress blocks for my single product template – specifically the product summary block. The text should have line breaks; instead, it’s all just jammed together in a single line that wraps.

    I tried adding a paragraph tag in, in case that was the problem, but it didn’t help.

    We have thousands of products, so if there’s a fix that doesn’t include editing them individually, that’d be great.

    Additionally, YouTube URLs used to auto-embed as videos, and that’s also no longer working.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator James Huff

    (@macmanx)

    For the WooCommerce issues, I recommend getting in touch with WooCommerce’s support about this via https://woo.com/my-account/contact-support/ if you have any of their paid WooCommerce products or https://wordpress.org/support/plugin/woocommerce/ if you do not.

    As for the YouTube videos, what are some of the URLs you’re unable to embed?

    About the last paragraph: update to WordPress 6.4.1 if you haven’t already.

    About the rest: I recommend getting in touch with Woo’s support about this via https://woo.com/my-account/create-a-ticket/ if you have any of their paid Woo products or https://wordpress.org/support/plugin/woocommerce/ if you do not.

    Thread Starter wp_enthusiast

    (@beeloudglade)

    This isn’t a WooCommerce problem, though? This is an issue with WordPress Blocks not displaying the content correctly.

    My site is totally up-to-date.

    Moderator James Huff

    (@macmanx)

    Unless you have manually typed the product descriptions into WordPress’s Paragraph block, those are controlled by WooCommerce.

    Thread Starter wp_enthusiast

    (@beeloudglade)

    It’s a block inside a query loop, essentially. The last update made me change how my products are displayed, which are now using WordPress blocks. I can no longer reference my single-product.php file and had to do some very fast programming using the shortcode block. So this is WordPress calling WooCommerce information, which was all well and good until WordPress decided it needed to use blocks to display products.

    I’m still not understanding how this is a WooCommerce issue when it’s Gutenberg causing the problem. I’m not using WooCommerce blocks.

    Moderator James Huff

    (@macmanx)

    Specifically, which block is the problem, and how is it call WooCommerce’s information?

    Thread Starter wp_enthusiast

    (@beeloudglade)

    Product Summary is the name of the block. It’s under Theme.

    Moderator James Huff

    (@macmanx)

    Ok, that’s not a core WordPress block, that’s a block provided by WooCommerce.

    So, for support with it, I recommend getting in touch with WooCommerce’s support about this via https://woo.com/my-account/contact-support/ if you have any of their paid WooCommerce products or https://wordpress.org/support/plugin/woocommerce/ if you do not.

    Thread Starter wp_enthusiast

    (@beeloudglade)

    So WooCommerce creates theme blocks for WordPress?

    Yes, there are a lot of block developers. Not only WooCommerce, but also many other plugins provide their own blocks. I have also developed several myself. It is therefore all the more important to contact the right support team if you have any questions about blocks. You have already been given the link to the WooCommerce support team that developed and supports the block you are using several times.

    Thread Starter wp_enthusiast

    (@beeloudglade)

    Cool, cool. And WordPress owns WooCommerce. Has, in fact, since 2015, I think?

    Yet they launched this site-breaking nonsense, and it’s full of bugs, and the main way to get support is from people who keep telling me to point out the bug to a different team of developers. Because this team isn’t the right team.

    No one wants or needs this just before the most significant online shopping season of the year.

    Moderator James Huff

    (@macmanx)

    WordPress does not own WooCommerce, Automattic owns WooCommerce: https://automattic.com

    And, anticipating the next question, Automattic owns WordPress.com (a paid service that uses the WordPress software), it does not own WordPress: https://wordpress.org/documentation/article/difference-between-wordpress-org-and-wordpress-com/

    All we’re trying to do here is direct you to the people who know how to support their product. We don’t own WooCommerce, we don’t work for WooCommerce, we don’t develop WooCommerce, and we don’t support WooCommerce.

    So, again, I recommend getting in touch with WooCommerce’s support about this via https://woo.com/my-account/contact-support/ if you have any of their paid WooCommerce products or https://wordpress.org/support/plugin/woocommerce/ if you do not.

    As far as I can see, the WooCommerce’s Product Summary block is a wrapper for WordPress’s own Post Excerpt block.

    <!– wp:post-excerpt /–>

    All the Product Summary block does is call Post Excerpt and pass a namespace that references the data (as seen via the Code Editor).

    <!– wp:post-excerpt {“__woocommerceNamespace”:”woocommerce/product-query/product-summary”} /–>

    It would be nice if the Post Excerpt block had the option to render the content with <p> tags along with the option to limit the number of words displayed.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Product descriptions not displaying correctly’ is closed to new replies.