Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    First which is it, product page or the admin dashboard ?

    Also what error do you get. Please be clear. Screenshots may help.

    Thread Starter Zorem

    (@zorem)

    Hi, I will try to be more clear on that issue.
    I use this extension and when I manually insert videos to products in admin, it works fine. when I try to populate the video tab field with the CSV inport suite extension. it gives me the error:

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/woocommerce-video-product-tab/woocommerce-video-tab.php on line 227

    I guess that it’s something with the formatting of values when Inserting them to the DB.

    Please advice, I have hundreds of products and it’s a time weist to go to each one to add the video embed..

    Thanks.

    Plugin Author Sébastien Dumont

    (@sebd86)

    This sounds more of a problem with CSV import suite as that line you are getting an error on is fine.

    If my plugin works and does the job error free then it’s not my plugin that is causing the error.

    It is more likely that the CSV import suite plugin needs to support my plugin for it to work. Please contact the author of that plugin and let them know the situation.

    P.S. Unfortunately I don’t have this CSV import suite plugin to test with, but as I said if my plugin is error free when used they way it’s designed to be used then it’s the import plugin that needs to support it.

    Thread Starter Zorem

    (@zorem)

    I can contact them but they told me to contact you..
    It’s a metter of how you insert the values to the DB, is there anything special that you do? what is the format of the field you use?
    Also, if I can check the values directly in the DB (php my admin) to see the difference), which field should I check for?

    Plugin Author Sébastien Dumont

    (@sebd86)

    It’s a single post meta entry with a all the data in array form.

    Look for post meta key ‘woo_video_product_tab’

    // save the data to the database
    $tab_data[] = array('title' => $tab_title, 'hide_title' => $hide_title, 'id' => $tab_id, 'video' => $tab_video);
    update_post_meta($post_id, 'woo_video_product_tab', $tab_data);

    Hope this helps.

    Thread Starter Zorem

    (@zorem)

    Got it, so you do not store the video frame data in that field.you store it as Array, this is the cause of the issue, the import extension import/export values not arrays…

    I got around it taking the field data/array from the DB and to import it in bulk to the DB but you should work in away that will integrate with other extensions that are the most important when managing a large store

    Plugin Author Sébastien Dumont

    (@sebd86)

    I will see what I can do about improving it to support other plugins.

    Thank you for noticing this problem and I will apply a fix soon.

    Hello, any fix for this error? I am having the same problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Video Tab Woocommerce Import Suite’ is closed to new replies.