Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi Mark,
    and thank you for writing in!
    We see you are using Ubertheme.

    You should replace in uberstore-wp/woocommerce/content-product.php file, the line 66:
    $image_html = wp_get_attachment_image( get_post_thumbnail_id(), 'shop_catalog' );
    with:

    $image_html = wp_get_attachment_image( get_post_thumbnail_id(), 'shop_catalog' );
    $image_html = apply_filters('post_thumbnail_html', $image_html, $post->ID);

    and the line 86:
    echo '<div class="product-image">'.wp_get_attachment_image( $attachment_id, 'shop_catalog' ).'</div>';
    with:
    echo '<div class="product-image">'.apply_filters('post_thumbnail_html',wp_get_attachment_image( $attachment_id, 'shop_catalog' ), $post->ID).'</div>';

    In uberstore-wp/woocommerce/single-product/product-image.php
    you should replace the line 52:
    <ul class="slides" rel="gallery">
    with:

    <?php ob_start(); ?>
    <ul class="slides" rel="gallery">

    and the line 104:
    </ul>
    with:

    </ul>
    <?php echo apply_filters('post_thumbnail_html', ob_get_clean(), $post->ID); ?>

    Then you should add the following code snippet in your theme Custom CSS:

    .container-image-and-badge {
        position: static !important;
    }

    Please try this solution and let us know if everything works fine!

    Best Regards
    YITH Support

    Thread Starter PrutsFM

    (@prutsfm)

    Wow! That’s alot, but I’m going to try that. Thanks, I let you know if it is the solution.

    Thanks!

    Thread Starter PrutsFM

    (@prutsfm)

    Many thanks! You realy made my day! It worked fine.

    Many thanks!

    Plugin Author YITHEMES

    (@yithemes)

    You are welcome!

    If you like the plugin and our support, please, support us with a 5-star review. It takes just a minute.
    Thank you!

    Best Regards
    YITH Support

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Badge not showing on the site’ is closed to new replies.