Any idea why the woocommerce gallery pics are at the bottom and clickable to a separate page rather than true gallery items that load where the main product image is? I’m having this problem on this site but not another site using the same X theme with woo.
Thank you for writing in, please do a testing for a plugin conflict. You can do this by deactivating all third-party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
If that does not work, pleased downgrade your Woocommerce to the latest supported version (3.4.2). You can download Woocommerce previous version here (see at the bottom).
Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after the downgrade. This will help you to avoid any potential errors.
It seems that you have resolved the issue. When I check the product page, I can click the image and the lightbox is showing up. This is what I am seeing:
I’m sorry, but it’s not fixed. There are still lots of issues here:
The reason it looks the way it does (in your screen shot above) is b/c I took all of the meta data out except for the picture title. If meta is present, it appears under the thumbnail image, which is not attractive at all.
I don’t want this to open as a lightbox. I want this picture to load where the main picture is. In other words, I want the main image area to act as a slider like it used to do.
When you click on the next arrow on the lightbox, it only shows that one image. While that is the only image in the gallery, it’s not the only image I loaded. Why doesn’t the main image go though that lightbox?
I would prefer it to look this way instead, as seen on the site I did for preferred pump:
You might have added a custom code that removes the product gallery slider and the product gallery lightbox. What code did you add in your child theme’s functions.php file? Could you please post the contents of your functions.php file in your next replay?
And if possible, please provide us access to your site so that we can investigate further.
The login credentials are wrong, and nothing in your functions.php. Please provide the correct login then for the meantime, please disable the responsive lightbox plugin and test it again.
Then please install a child theme and activate it, then add this code to the child theme’s functions.php
I’m sorry. I gave you the wrong password. I revised the secure note above with the correct password. Also, I’m not using a child theme.
When I try to deactivate that plugin, I get an error message:
Fatal error: Out of memory (allocated 106168320) (tried to allocate 903603 bytes) in /home1/pulstar90/pumphoists.com/wp-includes/functions.php on line 351
Then when I go back to the plugins, it still shows as active.
Also, I’m using that lightbox plugin elsewhere on the site, so deactivating it will cause an issue when viewing the smaller pictures in the middle of pages like this: http://pumphoists.com/p8-pump-hoist/
Please contact your host to increase your allocated memory or do it yourself by adding this code in your wp-config.php file located at the root directory of your site.
I wanted to give an update on this. I’m sure your suggestion would work. Y’all have been great so far, so there’s no reason to think otherwise. I’m using the woocommerce function as a gallery and, after some thought, the client decided he didn’t want multiple pictures there… for now.
If he changes his mind, I know exactly what to do.
You haven’t install a child theme yet. Because what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After the child theme is set up, as responded by @Rad, please add the following code in your child theme’s functions.php file