• Resolved audemaleval

    (@audemaleval)


    Hi,

    I’m working on a woocommerce bookstore with Elementor. I need to display the author biography on each product page.

    No problem creating the custom author taxonomy and terms, but now I’m stuck when it comes to displaying the term description on the product page.

    I’m not familiar with coding, so could you help me find a solution that doesn’t involve core files? I hope this is not a premium version as I already had to buy some plugins…

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    This is more or less going to be a custom solution, including coding, as even our premium plugin doesn’t handle this use-case of outputting saved content on WooCommerce products.

    While I have experience with fetching term information in general for posts, the details about things being built with Elementor + WooCommerce puts myself in newer territory.

    I am curious if Elementor has some blocks/widgets/etc that show term information, but I am not sure offhand, and their support would be better equipped for that question.

    Thread Starter audemaleval

    (@audemaleval)

    Yes Elementor has a dedicated widget to display shortcodes and a very useful dynamic content manager (see https://elementor.com/help/dynamic-tags-pro/ , in particular that parameter: Request Parameter – Uses data that was transferred via GET, POST, or Query Vars Requests)

    I think it should be possible to display the taxonomy description using one or another of these GET/POST/QUERY VAR, if only I knew what kind of imput it requests! I allowed Query Var requests on the taxonomy settings, gave it a name (autore_libro) but I’m stuck as before because I don’t know how to use it. My ignorance! Is there any way you could help me? I’m afraid Elementor will just drive me back to their FAQ… thank you!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    That sounds like overkill because that’s more HTTP requests for a detail that I don’t necessarily know has an HTTP endpoint. Closest I can think would be using it to get a specific term or terms, and iterate over those, assuming the return results have the description as part of it.

    Regardless, I’m not sure how to best help with this detail overall. It’s above and beyond what our plugin handles, which is the registration. We don’t do anything for output.

    Thread Starter audemaleval

    (@audemaleval)

    Thanks Michael!

    In case it may interest someone, I resolved thanks to the additional plugin Custom Content Shortcode and added the following shortcode into Elementor widget:

    [for each=my_taxonomy_name current=true]
    [each description]
    [/for]

    Working great with just 1 issue: for some unknown reason it displays html formating ok – except line breaks. Probably easy to fix. Thanks again!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display term description on product page’ is closed to new replies.