• When I deactivate this flip plugin, the product thumb nails disappear when displaying a category and it shows only the title and price with no image. I’m assuming it has disabled the thumb display from the woocommerce plugin and used it’s own flip code and not put woocommerce back the way it was upon deactivation. I’m going to try to re-upload woocommerce to see if it goes back to it’s vanilla state. Stay tuned.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sheff

    (@sheff)

    I found this in the flip plugin readme file…
    “TP Product Image Flipper for Woocommerce use remove_action hook “woocommerce_template_loop_product_thumbnail” to remove the default woocommerce image from shop/category page and insert our image section”
    … This remove_action hook stays active after deactivating the flip plugin and deleting it. How do I get rid of this remove_action hook and put woocommerce back the way it was before installing the flip plugin?

    • This reply was modified 1 year, 6 months ago by sheff.
    Thread Starter sheff

    (@sheff)

    Not sure if this is the correct solution but I commented out this line in my theme’s config.php file and the product images re-appeared on the product category pages. I’m not sure why this works because your plugin did not change the code in this location. I have other sites working properly with this theme where I never installed your flip plugin and I have another site that does use your flip plugin and when I deactivated it there to test it, the images on the category pages disappeared. Your remove_action sticks, even when your plugin is deactivated and deleted.

    add_action( ‘woocommerce_before_shop_loop_item_title’, ‘avia_woocommerce_thumbnail’, 10 );
    /** sheff-20230516
    remove_action( ‘woocommerce_before_shop_loop_item_title’, ‘woocommerce_template_loop_product_thumbnail’, 10 );
    **/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘deactivation drops category thumbnails’ is closed to new replies.