Home Forums WoodMart support forum Product preview does not render shortcodes

Product preview does not render shortcodes

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #47638

    alexminza
    Participant

    See attached screenshot and links provided in the Private Content area.

    Attachments:
    You must be logged in to view attached files.
    #47686

    Hello,

    Please try to check the problem switching to the default theme to be sure the problem caused by our theme. Actually, this is the WooCommerce option. If the problem is only on our theme, please contact us with credentials.

    Best Regards

    #47899

    alexminza
    Participant

    Hello Elise! What is the WooCommerce option and how/where can it be enabled? Thank you!

    #47900

    Artem Temos
    Keymaster

    Do you mean that you want to disable WooCommerce reviews?

    #47913

    alexminza
    Participant

    The issue mentioned in this topic is not related to WooCommerce product reviews.

    #47943

    Artem Temos
    Keymaster

    But the name of the topic says Product preview does not render shortcodes. Maybe we understand you wrong. Have we missed something?

    #47959

    alexminza
    Participant

    Product PREVIEW not review 🙂 when you hover over a product in the list/search results and the description, add to cart and quick view buttons appear. Have a look at the screenshot fragment attached in the first message.

    #47961

    alexminza
    Participant

    See also attached screenshot.

    Attachments:
    You must be logged in to view attached files.
    #47960

    Artem Temos
    Keymaster

    Sorry for that, our mistake. The screenshot was not clear for us.
    But as we can see, there are too much text in your short description for products. We can give you an instruction how to enable shortcodes there. But it will not look well because of too much content there.

    #47963

    alexminza
    Participant

    But the product description in the preview is by default abbreviated anyway so this should not be a problem.

    In any case – displaying shortcodes to the visitors in the product preview also gives the impression that something is broken on the website.

    #48010

    Eric Watson
    Participant

    Hello,

    Try go to woodmart/woocommerce/content-product-base.php and replace this line

    the_excerpt();

    with this one

    echo do_shortcode( get_the_excerpt() );

    Regards

Viewing 11 posts - 1 through 11 (of 11 total)