Skip Navigation

[Resolved] 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 18 replies, has 2 voices.

Last updated by Minesh 10 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#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
Supporter

Languages: English (English )

Timezone: 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
Supporter

Languages: English (English )

Timezone: 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.