Support » Plugin: WooCommerce » How can I add shortcodes in product excerpts

  • Resolved zo

    (@zotezo)


    Hi,
    I want to add shortcode in product short description in woocommerce page.
    How to achieve that?

    • This topic was modified 2 years, 4 months ago by zo.

    The page I need help with: [log in to see the link]

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

    Are you wanting to include a shortcode in the product shot description and have it show on that product’s page? If so you can just add the shortcode to the product short description. Typically it should appear just below the product name and price.

    If you have something else in mind, let us know.

    Cheers

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you have more questions.

    Thread Starter zo

    (@zotezo)

    Hi,
    I have added some short code in product short description section.But it is not showing.
    It is printing instead.
    Please check the url.


    Thanks

    Hey @zotezo,

    I took a look at that URL and I do see unrendered shortcodes in the text.

    A few questions for you.

    • Do these shortcodes work in other parts of the site, like in a page or post?
    • Have you tried temporarily switching themes to the Storefront or Twenty Twenty-one themes?

    Let us know and we’ll go from there.

    Thanks!

    Thanks for letting us know.

    Have you tried temporarily switching themes to the Storefront or Twenty Twenty-one themes?

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I add shortcodes in product excerpts’ is closed to new replies.