Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #549682

    Hi is there a way to to integrate a product thumbnail to the grouped customs page?
    At the moment you can just see the product title. An image would be nice?

    Thank you very much. Looking forward to hear from you.

    Kind regards

    #549696

    Hey tobego!

    Can you please post the link to your page so we can be more clear on the changes you would like to make? :)

    Best regards,
    Yigit

    #549731

    The site is in porgress. Have a look at your demo, please. Its the same:
    http://kriesi.at/themes/enfold-shop/product/grouped-custom-product/

    It would be nice to see a small thumbnail image of the specific product next to the product title – Yanolo Business Tie.

    -0+ IMAGE – Yanolo Business Tie – Price :-)

    Kind regards

    #550918

    No options? Does this work?

    add_action( ‘woocommerce_grouped_product_list_before_price’, ‘woocommerce_grouped_product_thumbnail’ );

    function woocommerce_grouped_product_thumbnail( $product ) {
    $image_size = array( 20, 20 ); // array( width, height ) image size in pixel
    $attachment_id = get_post_meta( $product->id, ‘_thumbnail_id’, true );
    ?>
    <td class=”label”>
    <?php echo wp_get_attachment_image( $attachment_id, $image_size ); ?>
    </td>
    <?php
    }

    #553627

    Hey!

    there is currently no theme option for this. So hopefully your code will work for you. Otherwise feel free to make a feature request for Kriesi here: kriesi.at/support/enfold-feature-requests/

    Best regards,
    Andy

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