Home Forums Themes Support Gecko Image caption in Product detail view

Topic Resolution: Resolved
Viewing 18 reply threads
  • Author
    Posts
    • #3875

      Hi,

      I want to show the image caption in the product detail view, how do I do this?

      Thanks in forward,

      Thijs Kempers

       

    • #3896

      Hi,

      Sorry for late reply.

      On new version of WooCommerce 3.0.x they change the way to display caption of image on product detail lightbox. We are finding solution and improve in our theme soon.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3899

      Okay, and if I want to show the caption underneath the product detail lightbox, how does that work?

      Thanks in forward.

    • #3904

      Yes, we will implement caption under image on light box.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3907

      No I mean that I need it now. The site has to go live in a week.

      Can’t we do something like this screenshot?

      And how do I do that?

       

    • #3908

      I’m sorry WooCommere don’t support show caption like your screen shot.

      In past WooCommerce support show caption below image when open in light box

      https://monosnap.com/file/KND3xIDluAIIhvhabbh28Qwg2dcANP#

      On new version WooCommerce 3.0.x they change this function, we finding the way to make it appear again.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3928

      Is there no option to show the caption somewhere?

    • #3929

      Yes, no option to display caption some where.

      best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3932

      Ah okay, where can I find the code of the selected product image? The selected picture of the gallery.

      Can you tell me the path? I assume it is’nt the one in:  plugins/woocommerce/templates/single-product/product-image.php

       

    • #3933

      Can’t I display the description?

    • #3937

      Hi,

      The code for the selected product image is plugins/woocommerce/templates/single-product/product-image.php

      If you want edit this we recommend copy file to path gecko-child > /woocommerce/single-product/product-image.php.

      Now WooCommerce move the caption to js file

      https://github.com/woocommerce/woocommerce/issues/14218.

      It hard to control like code in /woocommerce/templates/single-product/product-image.php like prev version 2.6.x

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3949

      And there is no possible way to at some text to the short description of the product that’s connected with the image? So I can link the selected image to the text. I only have to show the color code of the product, that’s manually filled in.

    • #3952

      Which JS file do I need to look for? What I see is that they can put the description in a title on hover, so it’s possible to tweak that function in a way to show the description under the image in fullscreen?

    • #3953

      You can find js code in WooCommerce > Assets > js > PhotoSwipe > photoswipe-ui-default.js.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #3954

      Is there a way to show any attribute of the selected image? I don’t care if it’s the description, alt text, caption or title. I just NEED to show a variable linked to the image entered in the backend of the wordpress.

    • #3955

      Is there a way to show any attribute of the selected image? I don’t care if it’s the description, alt text, caption or title. I just NEED to show a variable linked to the image entered in the backend of the wordpress.

      See image

       

      • This reply was modified 7 years, 8 months ago by ThijsKempers.
    • #3971

      Hi Thijs Kempers,

      I have just updated the lightbox script of WC 3.x on your site, the image will be show title of image on below, please check

       

      Cheers,

      Foster

    • #3978

      Hi Thijs Kempers, I have just updated the lightbox script of WC 3.x on your site, the image will be show title of image on below, please check Cheers, Foster

      I don’t see it? Or am i looking wrong?

      • This reply was modified 7 years, 8 months ago by ThijsKempers.
    • #3981

      Ah got it, thanks!

Viewing 18 reply threads

You must be logged in to reply to this topic.