Home Forums Basel support forum Issue with thumbnail inside the cart page

Issue with thumbnail inside the cart page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #83616

    Giulio
    Participant

    Hi there, since I updated to last version of Basel I have an issue with thumbnail on the cart page. That it not appears. Could you take a look please? I use SG Optimizer, WP Rocket and your beta lazy load feature. Thank you!

    #83624

    Hello,

    Please find the code in basel/woocommerce/cart/cart.php

    if ( ! $product_permalink ) {
    	echo wp_kses_post( $thumbnail );
    } else {
    	printf( '<a href="%s">%s</a>', esc_url( $product_permalink ), wp_kses_post( $thumbnail ) );
    }

    and replace it with this snippet:

    if ( ! $product_permalink ) {
    	echo $thumbnail;
    } else {
    	printf( '<a href="%s">%s</a>', esc_url( $product_permalink ), $thumbnail );
    }

    Best Regards

    #83630

    Giulio
    Participant

    It works, thank you.

    #83714

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

    #86041

    Giulio
    Participant

    The issue is again there with the new update.

    #86048

    Artem Temos
    Keymaster

    Our last update was a hotfix release that we prepared in a few hours to fix a critical bug. We didn’t include all other fixes and they will be included in our next minor update.

Viewing 6 posts - 1 through 6 (of 6 total)