Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor MariusG

    (@marius_codeinwp)

    Hello fabian,

    We’re aware of this issue and already fixed it in our latest version, but it’s not live yet. If you need it sooner, I can send you the fix.

    Kind regards,
    Marius

    Thread Starter fabian00

    (@fabian00)

    Send me info on [email protected]

    Thanks

    Plugin Contributor MariusG

    (@marius_codeinwp)

    Hello fabian,

    In wp-product-review.php edit these lines 130-139 to look like this:

    if(isset($product_image)) {
    
                if ($imgurl =="image")
                    $feat_image = wp_get_attachment_url( get_post_thumbnail_id($id) );
                $lightbox = 'data-lightbox="'.$feat_image.'"';
                if (!isset($feat_image) || $feat_image=="") {
                    $feat_image = get_post_meta($id, "cwp_product_affiliate_link", true);
                    $lightbox = "";
                }
                if (empty($product_image)) $product_image = $feat_image;

    This is it, let me know if you managed to do it.

    Kind regards,
    Marius

    Thread Starter fabian00

    (@fabian00)

    it works, thank for help marius ??

    Plugin Contributor MariusG

    (@marius_codeinwp)

    No problem, glad to be of help ??

    If i do this fix, i get an error message saying

    Parse error: syntax error, unexpected ‘}’ in URL-censored/wp-product-review.php on line 441

    Could you upload the file or do a paste-bin, anything like this?

    Plugin Contributor MariusG

    (@marius_codeinwp)

    Here’s the file that I edited when I fixed the issue: https://www.dropbox.com/s/19vo7yur7wmls3q/wp-product-review.php?dl=1

    However, I believe I did it while we were using an older version, there might be some other changes that were made in the meantime.

    I will take a look this evening and check if there are any other differences between the file I gave you and the latest one.

    Best regards,
    Marius

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No featured image’ is closed to new replies.