Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

how to remove product image in woocommerce

Status
Not open for further replies.
Joined
Jun 15, 2005
Posts
7,515
Reaction score
56
Hi Guys

I have a new wordpress site running woocommerce, but I dont want it to display any default pictures just the raw text can anyone help me?
 
The easiest way depending on your theme would be to simply display:none on the product image class if you just want to remove the product images and then restyle to compensate.

Bare in mind that doing so will still load up the images in the background it just wont display them which obviously means there wont be any kind of page load increase, it will purely be cosmetic.

Next solution would be to add a remove action to the functions.php a bit like :

Code:
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );

Source : http://wpsites.net/web-design/remove-woocommerce-single-thumbnail-images-from-product-details-page/

Both instances you will need to do extra styling to compensate for the lack of image, other style elements in your theme may move/break.

Another method would be to manually add customised templates to your theme folder, this method however may break things if WooCommerce do their updates meaning you would need to edit the customised templates if it did.
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom