• Resolved ms100

    (@ms100)


    Hi support,

    Could you please explain why some of our products have:

    <div class="woocommerce-product-details__short-description">
    
    This is our short product description.
    
    </div>

    And others have:

    This is our short product description.

    Should this HTML markup be at all products, or should they be removed?

    I am not aware I have added this markup to some of our products (I might have copied it accidently).

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @ms100,

    Please share a link to your website and a screenshot of the issue so that we can understand it better. You can upload the screenshot on?https://snipboard.io?tool and share the URL here.

    Thread Starter ms100

    (@ms100)

    Hi @kaavyaiyer

    These are short product description examples to show the difference:

    The one with code: https://snipboard.io/UQh9Ir.jpg
    To visit the page: https://www.temporary-url.com/ACDBBC

    The one without code: https://snipboard.io/IastM9.jpg
    To visit the page: https://www.temporary-url.com/A6033

    One has the code, the other one does not have the code. I did not add the code as far as I am aware. So I wonder why is the difference, and what is the best?

    Thanks again ??

    (Kind request to not place a direct hyperlink to our website in this topic.)

    HI @ms100

    Thanks for reaching out!

    I understand that you are seeing the HTML code <div class="woocommerce-product-details__short-description"> under the Product Short Description for some products, while others do not have, correct?

    Can you please share how products were added to your site? Is it thru Products > Add New or thru importing?

    It seems that the code was added to the Product Description field when you created/imported the product to your site.

    Nevertheless, the only difference I am seeing here is that the product with the code does not display the description on front-end.

    Unlike to the product without the code, the description is displayed as it is.

    However, copying the code on my personal site, regardless if it was added or not, I can still see the description on front-end.

    You could try to delete this code on your product description if you are bothered with it and see if it makes any difference.

    Hope this helps!

    Thread Starter ms100

    (@ms100)

    Hi @xue28

    Yes, I do see that code for some products, but other products do not have that code.

    All products are made like Products > Add New.
    No products have been imported.

    The product description text has been updated yesterday, so that is why the text has changed. Sorry for that inconvenience.

    When I remove the code, I do not see any difference on the front end. But I would like to know why some products have that code, while other products do not have that code? By default Woocommerce does not add that (class=”woocommerce-product-details__short-description”) code to the short product description right?

    I tested changing between Storefront and Astra theme, to see if maybe a theme adds that code, but I did not see any theme add the code. If I don’t need the code, than I will remove the code from the products manually. But I do not want to regret later, because the code was needed for anything that I am not aware of at this moment.

    I would expect the code to be there consistent, or to not be there consistent. At the moment, it is not consistent, so that is why I get confused, what it should be.

    Thanks again very much for your support.

    Hi @ms100

    When I remove the code, I do not see any difference on the front end. But I would like to know why some products have that code, while other products do not have that code? By default Woocommerce does not add that (class=”woocommerce-product-details__short-description”) code to the short product description right?

    Yes, you are correct here. By default, that code is not being added by WooCommerce when you add a product description.

    I tested changing between Storefront and Astra theme, to see if maybe a theme adds that code, but I did not see any theme add the code. If I don’t need the code, than I will remove the code from the products manually. But I do not want to regret later, because the code was needed for anything that I am not aware of at this moment.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if the code was removed?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Let us know how it goes!

    Hi @ms100

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘div class=”woocommerce-product-details__short-description”’ is closed to new replies.