Navigation überspringen

[Gelöst] How to create image swap in woocommerce product listing page?

This support ticket is created vor 1 year, 11 months. There's a good chance that you are reading advice that it now obsolete.

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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 18 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 1 year, 11 months.

Assistiert von: Minesh.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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
Unterstützer

Sprachen: Englisch (English )

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