AI Verified

Name

Remove WooCommerce Lightbox Zoom

About

Remove the zoom and lightbox features from the WooCommerce product gallery.

Language

PHP

Rating

Voted: 1 by 1 user(s)

Codevault

FP---Codevault

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.1

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

Website/ Profile URL:

https://frankpurcell.co.za

History

Last modified:

06/07/2024

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Remove WooCommerce Lightbox Zoom

 
                    
1function remove_image_zoom_support() {
2 remove_theme_support( 'wc-product-gallery-zoom' );
3 remove_theme_support( 'wc-product-gallery-lightbox' );
4}
5add_action( 'wp', 'remove_image_zoom_support', 100 );

1

Related Snippets

Please see some snippets below related to this snippet..

WooCommerce

AI Verified

1

WooCommerce Show Products Ordered In My Account Orders Table

Added: 1 year ago

Last Updated: 1 day ago

This snippets allows you to add a custom column to the Orders table under My Account which will be populated with products from the order. Implementing this snippet allows your customers see from a to...

WooCommerce

AI Verified

1

WooCommerce Stock Status Progress Bar for Variations

Added: 1 year ago

Last Updated: 1 day ago

An expanded on version of ecommercehints.com's WooCommerce Stock Status Progress Bar This snippet inserts a progress bar on both single products and variable products' pages, allowing customers t...

WooCommerce

AI Verified

1

WooCommerce Checkout Confirm Email Address

Added: 1 year ago

Last Updated: 1 day ago

This guide shows you how you can introduce a new required checkout billing field which asks the user to confirm their email address. This sort of solution prevents confirmation emails not being receiv...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

WooCommerce

AI Verified

1

Remove WooCommerce Lightbox Zoom

Added: 1 year ago

Last Updated: 1 day ago

Remove the zoom and lightbox features from the WooCommerce product gallery.

WooCommerce

AI Verified

0

WooCommerce Shipping Method Button

Added: 1 year ago

Last Updated: 1 year ago

WooCommerce

AI Verified

0

WooCommerce - My Account - Edit Address - Fix

Added: 1 year ago

Last Updated: 1 year ago

Fixes the issue with the "Edit Address" text missing from the user's My Account menu. This happens due to a language conflict when using English (South African/US), however using English (UK) also res...