Support

Account

Home Forums Front-end Issues Show custom field below images Gallery

Solving

Show custom field below images Gallery

  • Hi there.
    I just tried the plugin which is great.
    I want to create a custom field which is an additional video for any product.
    It works fine but I failed to show the embed video anywhere on the product page.
    If I add the code
    [acf field="video"] in short description, it shows in short description.
    But how could I be able to show that video just below the woocommerce product images gallery ?
    Thanks for any help.

  • Thank you @andrewmarker .
    What do you mean?
    I can’t show the video just below the woocommerce product images gallery ?
    The shortcode is an error ?
    No solution ? Nothing can be show below the woocommerce product images gallery ?

  • I tried with custom code un functions.php but it didn’t work either.

    
    add_action( 'woocommerce_product_thumbnails', 'my_function', 20 );
      
    function my_function() {
      echo '<b>Video:</b> ' . get_field('video');
    };

    Any idea ? Thanks !

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.