• Resolved charlieve02

    (@charlieve02)


    Hello.

    I have been using this plugin for some time and without issues, however, when I updated from 13.3.8, the feed is suddenly missing the product description.

    The field in (<g:description>), in my products that have variants the description does not appear in the xml file.

    I had to go back to 13.3.8 version.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tanjir Al Mamun

    (@tanjiralmamun)

    Hello @charlieve02,

    Kindly apply this code snippet to see whether your issue is resolved.

    #-- Replace description with parent when empty --#
    function adt_replace_description( $product_data, $feed, $product ) {
    $product_description = $product->get_description();

    if( isset( $product_data['mother_description'] ) && empty( $product_description ) ) {
    $product_data['description'] = $product_data['mother_description'];
    }

    return $product_data;
    }
    add_filter( 'adt_get_product_data', 'adt_replace_description', 10, 3 );

    You need to add the code at the bottom of your child theme’s functions.php file. If you do not have a child theme, you can utilize the WPCode plugin.

    Cheers!

    Thread Starter charlieve02

    (@charlieve02)

    Hi

    I updated to ther latest version of your plugin 13.4.0 and it seems the issue is fixed

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.