Public Ticket #2603043
Product Gallery Video Support


  • willtonkin started the conversation

    The theme seems to include a "Product video" field in the WooCommerce product editor page, however this does not seem to produce a video on the product customer facing page.

    I tracked this down to a bug in the fashion-core plugin that seems to have the names for the video related fields misnamed. Please see diff below.

    Once the above issue was fixed the video is inserted into the page but not visible. I wanted to check if this feature was ever supported by the theme?



    diff --git a/wp-content/plugins/fashion-core/inc/vendors/woocommerce/woocommerce-template-functions.php b/wp-content/plugins/fashion-core/inc/vendors/woocommerce/woocommerce-template-functions.php
    index 0437ebc..95b5b14 100644
    --- a/wp-content/plugins/fashion-core/inc/vendors/woocommerce/woocommerce-template-functions.php
    +++ b/wp-content/plugins/fashion-core/inc/vendors/woocommerce/woocommerce-template-functions.php
    @@ -849,11 +849,11 @@ if (!function_exists('osf_active_filters')) {
     function osf_single_product_video() {
         global $product;
    -    $video = get_post_meta($product->get_id(), 'otf_products_video', true);
    +    $video = get_post_meta($product->get_id(), 'osf_products_video', true);
         if (!$video) {
    -    $video_thumbnail = get_post_meta($product->get_id(), 'otf_products_video_thumbnail_id', true);
    +    $video_thumbnail = get_post_meta($product->get_id(), 'osf_products_video_thumbnail', true);
         if ($video_thumbnail) {
             $video_thumbnail = wp_get_attachment_image_url($video_thumbnail, 'thumbnail');
         } else {

  •  2,127
    Opal replied

    Dear mate,

    Unfortunately, Our template doesn't support it.


    WpOpal Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours in weekdays. In some rare cases the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote :
    To vote go to http://themeforest.net/downloads then follow that link : Here

    Thanks and have a nice day

    Website: http://wpopal.com/ | Follow to Get Our Promotion Themes