Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rabbisteve

    (@rabbisteve)

    Hi Guys,

    I have moved forward. Not much time has passed on Sunday Morning.

    When I log into the site and press the my account button, created for woocommerce. I can see my “Orders” and indeed when I click on them I can view the video.

    https://michaelpasikov.milknhoney.co.il/my-account/

    How can a link to the video be included in the “order comnpleted” email ? So they dont need to guess how to watch the stream ?

    BTW – my account by you guys at hoststream is pasikov

    Steve

    Plugin Author hoststreamsell

    (@hoststreamsell)

    Hi Steve,

    Many apologies I did not get any sort of notice about your question.

    To customize the receipt do the following
    – copy everything in woocommerce/templates/emails/ to yourtheme/woocommerce/emails/
    – edit email-order-items.php to have the video name in the email link to the page on the site where this is, by making the following change:
    find this line:
    echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item );
    and replace with:
    echo '<a href="'.get_permalink($_product->id).'">'.apply_filters( 'woocommerce_order_item_name', $item['name'], $item ).'</a>';
    – edit customer-completed-order.php to edit the instructions as follows:
    under the line which has the following text ‘Hi there. Your recent order on’, add the following under this line (with your instructions):
    <p>To view your video, just visit the product page (note that you must be logged in or you will only see the trailer</p>

    Let me know if you run into any problems with this, or have any other questions.

    Gavin

    Thread Starter rabbisteve

    (@rabbisteve)

    Thank You a lot.
    I have another question. I will ask it here, but can open another question if you would rather.
    The thumbnail is tiny. I am including a woocommerce shortcode to a post and would like the thumbnail to the product that your script made. How can I make it bigger. I tried the regular way in the woocommerce admin panel as well as in the wordpress admin.

    Plugin Author hoststreamsell

    (@hoststreamsell)

    Hi Steve,

    A larger version of the thumbnail is used in the video player. If you look at the source code for the product page where the video player is, and search for _big.jpg you will find the URL of the image which you can add to your media library and then insert into a post or page.

    I hope this helps,
    Gavin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Testing the streaming’ is closed to new replies.