Saltar navegación

[Resuelto] How to create image swap in woocommerce product listing page?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 18 respuestas, tiene 2 mensajes.

Última actualización por Minesh 1 year, 11 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2706230

Thanks for the explanation.

I have read https://toolset.com/documentation/programmer-reference/adding-custom-code/how-to-create-a-custom-shortcode/, however i don't really understand on where to put the code. is it in the template functions.php and then register in toolset or?

thanks

#2706236

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

#2706250

Thanks a lot, i have able to add custom code along with the shortcode.

Now i'm working on the image swap, i tried applying the css, but it's not working. when i hover the second image is not showing, but it still using the enlarge image function.

is that toolset default action? if yes, how do i change the image hover?

thanks a lot.

#2706280

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I'm not sure yet how you configured your image gallery, image gallery will work only if you are displaying with Toolset shortcode, if you are using custom hooks and PHP to get gallery images I suggest instead you should use any other third-party plugin.

#2706755

Thanks for the help.

I have able to apply the image swap without using third party plugin.