• Resolved winniebao

    (@winniebao)


    Hi there,it doesn’t work on my woocommerce product page.. please help..thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author primisdigital

    (@primisdigital)

    add the following code in the below file :
    Plugins >> simple-featured-video >>simple-featured-video.php
    At the bottom add following code:
    add_action( ‘woocommerce_before_add_to_cart_form’, ‘add_text_after_excerpt_single_product’, 25 );
    function add_text_after_excerpt_single_product(){
    global $product;
    // Output your custom text
    echo do_shortcode(‘[sfv_video_show]’);
    }
    then it will be displayed automatically on your product page
    We will update the plugin soon

    Plugin Author primisdigital

    (@primisdigital)

    To add below image gallery section use the following code :

    add_action( ‘woocommerce_before_single_product_summary’, ‘add_text_after_excerpt_single_product’,9);
    function add_text_after_excerpt_single_product(){
    global $product;
    echo ‘<div class=”woocommerce-product-video” style=”margin-top:20px;”>’;
    echo ‘<div style=”clear:both”>’.do_shortcode(‘[sfv_video_show]’).'</div>’;
    echo “</div>”;
    }

    Thread Starter winniebao

    (@winniebao)

    Thanks, it works like charming!I really appreciate your patience, time and effort you put into.

    Plugin Author primisdigital

    (@primisdigital)

    Thank a lot. Please feel free to share your feedback and we will work on the improvement

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘it doesn’t work on my woocommerce product page’ is closed to new replies.