• Great plugin! Congrats.

    In XML Product Feed, when you get product description, can you please use do_shortcode function?
    Like:
    $_product->description = wp_strip_all_tags( do_shortcode( $product->get_description() ) );

    This is because using Builders like Elementor or Flatsome text, instead of a text description I get all the shortcodes in XML description.
    Check it out:
    <entry>
    <g:id>TOH001316</g:id>
    <g:title>Total Up Híbrida Jack B.</g:title>
    <g:description>[block id=”prod-desc-total-up-hibrida”]</g:description>

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Guilherme Frisoni

    (@frisoni)

    Another one: If the product is a variation, could fetch description from parent as most os variations wont have description or shortdescription.

    Plugin Author CusRev

    (@ivole)

    Thanks for trying our plugin!

    We will have to analyze your suggestion about shortcodes from the security standpoint. Description for variants will be added with the next update.

    Thread Starter Guilherme Frisoni

    (@frisoni)

    Thanks for your reply.
    In time, I’m almost finishing pt-br translation.

    Plugin Author CusRev

    (@ivole)

    Please update the plugin to the version 3.118. It takes description of variation from parents and has a filter ‘cr_gs_product_feed_description’ (in ‘class-cr-google-shopping-prod-feed.php’) that you can use to add ‘do_shortcode’.

    Would you like to become a translation editor for PT-BR?

    Thread Starter Guilherme Frisoni

    (@frisoni)

    Hey, thanks.
    I just apply description filter and it works as expected. Very useful.

    About translation, I don’t know exactly how it works to be a translator editor, but sure you can set my user as an editor.
    I’ve already translated almost everything, it is just waiting for approval.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Google Feed Description’ is closed to new replies.