- This topic has 7 replies, 5 voices, and was last updated 12 years, 6 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › WP eStore – Turn off lightbox in product display thumbnail?
Tagged: images, lightbox, thumbnails
I am using the “stylish” display <?php echo eStore_print_all_products_stylish(); ?> and I want to turn off the lightbox feature on the thumbnail images. I just want plain images, no border, not clickable, no lightbox. How can I do this?
[http://theicedteaguy.com/our-products?product_page=1]
In the eStore settings menu look for the following option which can be unchecked to turn off lightbox:
Enable Lightbox effect on Images
Thanks. Is there a way to completely remove the link to the original image from product images? I just want the image with the square border…no link to anything. Thanks!
[http://theicedteaguy.com/our-products]
You will have to tweak the code to do that. Open the “eStore_button_display_helper.php” file and look for the following line:
$output .= '<a href="'.$ret_product->thumbnail_url.'" rel="lightbox" title="'.$ret_product->name.'"><img class="thumb-image" src="'.$thumb_img.'" alt="'.$ret_product->name.'" /></a>';
Just take the link out so it is just a plain image. Basically make the above line look like the following:
$output .= '<img class="thumb-image" src="'.$thumb_img.'" alt="'.$ret_product->name.'" />';
Could I edit something there to remove the entire image field altogether?
There is a shortcode that can display the product using fancy1 without the thumbnail image. Simply use the shortcode. you can find all the shortcodes here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Is there a way to have the image open the payment page in paypal, so if someone clicks it acts like the buynow button?
Regarding making an image thumbnail act like a buy now button, see the following:
https://support.tipsandtricks-hq.com/forums/topic/how-do-you-make-the-fancy-thumbnail-link-to-paypal