Remove thumbnail not working
-
I am trying to set up my shopping cart so that thumbnail images of each product do not appear. I have ticked the appropriate box in the settings to select this option. In my shopping cart, although a thumbnail image doesn’t appear a blank box to the left of the product name where the thumbnail would be does. It means that the columns are then offset from the header columns. Any ideas on how I force the removal of the thumbnail from the .php script?
/* need improvement to the next version 4.3.8*/ $wpus_display_thumbnail_in_cart = get_option('wpus_display_thumbnail_in_cart'); $wpus_thumbnail_in_cart_width = get_option('wpus_thumbnail_in_cart_width'); $wpus_thumbnail_in_cart_height = get_option('wpus_thumbnail_in_cart_height'); if( empty( $wpus_thumbnail_in_cart_width ) || empty( $wpus_thumbnail_in_cart_width ) ) { $wpus_thumbnail_in_cart_width = 32; $wpus_thumbnail_in_cart_height = 32; } if(!empty( $wpus_display_link_in_cart )) { /* need improvement to the next version 4.3.8*/ if(empty( $wpus_display_thumbnail_in_cart )) { $product_thumbnail = get_the_post_thumbnail($post->ID, array($wpus_thumbnail_in_cart_width,$wpus_thumbnail_in_cart_height), array('class' => 'marginleft product-thumb') ); } else { $product_thumbnail = ""; }
https://www.ads-software.com/plugins/wp-ultra-simple-paypal-shopping-cart/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove thumbnail not working’ is closed to new replies.