Return product description

If you want to get the product description instead of product terms descriptions you can do this.

protected function GetDescription ($ProductID) {
    return get_post_field('post_content', $ProductID);
}

This will return the content field by the id, if no content exists it will return an empty string.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)