{"id":492,"date":"2016-06-13T19:16:39","date_gmt":"2016-06-13T17:16:39","guid":{"rendered":"http:\/\/www.cesoftware.net\/en\/pago-por-vision-prestashop\/"},"modified":"2016-06-13T20:11:56","modified_gmt":"2016-06-13T18:11:56","slug":"pay-per-view-prestashop","status":"publish","type":"page","link":"https:\/\/www.cesoftware.net\/en\/pay-per-view-prestashop\/","title":{"rendered":"Pay per view &#8211; Prestashop"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column width=&#8221;1\/1&#8243;][vc_single_image image=&#8221;419&#8243; alignment=&#8221;center&#8221; style=&#8221;vc_box_shadow_3d&#8221; border_color=&#8221;grey&#8221; img_link_large=&#8221;&#8221; img_link_target=&#8221;_self&#8221; css_animation=&#8221;top-to-bottom&#8221; img_size=&#8221;large&#8221;][vc_column_text]<\/p>\n<div class=\"portfolio_short_content\">\n<h2>Viewing payment\u00a0videos on Prestashop<\/h2>\n<p><span class=\"lable\">Description:\u00a0 <\/span><\/p>\n<p><span class=\"lable\">Development of functionality regarding the user&#8217;s order history, and adding\u00a0a new product, intended to <strong>show videos that the user has purchased<\/strong> on the same platform through <strong>vimeo integration<\/strong> over his user&#8217;s\u00a0account.<\/span><\/p>\n<p>Example: The client\u00a0has set up his own <strong>Prestashop<\/strong> online store dedicated to magic, therefore sells, among other things, <strong>explaining videos<\/strong> like &#8220;How to do a magic trick.&#8221;<\/p>\n<p>On the other hand, the client has created a <strong>private account in vimeo<\/strong>, where he set up\u00a0<strong>restricted access videos<\/strong>, allowing only view them if requests are made from a specific URL (the domain of its online store in this case).<\/p>\n<p>To achieve the goal programming is modified to override Prestashop, creating a new field when adding a new\u00a0product, where the <strong>link to vimeo video<\/strong>\u00a0is introduced \u00a0in case of this type of product. This link is stored in the database at any time is accessible to the final users.<\/p>\n<p>New order controller classes are created as well, and customer order history template view is modified. Thus it is achieved that <strong>only from Prestashop online shop<\/strong>, customer\u00a0who has made a purchase from a video can access to his account in order to <strong>watch\u00a0the video as many times as desired<\/strong>.\u00a0For each order (references, date, total amount), all videos purchased are shown, having a collection or video library on the user&#8217;s\u00a0account.<\/p>\n<p>It is noteworthy that programming was under a security check where is forced to see the video only from the user&#8217;s account within the domain of the online store, to avoid to send links to others or share on social networks, taking care of the\u00a0business integrity.<\/p>\n<p>Functionality:<\/p>\n<ul>\n<li>From <strong>backend<\/strong>: When adding a new product, the admin can insert the vimeo private link for the video watching.<\/li>\n<li>From <strong>User&#8217;s account<\/strong>:\u00a0Once the user has made a purchase of a virtual product video format, using the traditional purchasing method from\u00a0Prestashop, he\u00a0can access his\u00a0account and go to &#8220;Orders History&#8221;.<\/li>\n<li>In &#8220;<strong>Orders History<\/strong>&#8221; at user&#8217;s account: All orders are shown sorted by date, when user click over one order&#8217;s reference, all v\u00eddeos purchased from this order are shown.<\/li>\n<\/ul>\n<p>Available for Prestashop version 1.6 (also possible for version 1.5)<\/p>\n<p>Guarantees:<\/p>\n<ul>\n<li>Free upgrades (subject to availability)<\/li>\n<li>Support for 6 months (from date of purchase)<\/li>\n<\/ul>\n<\/div>\n<p>[\/vc_column_text][vc_raw_html]<\/p>\n<p>JTNDYnV0dG9uJTIwY2xhc3MlM0QlMjJwcmVzdXB1ZXN0byUyMiUyMG9uY2xpY2slM0QlMjJsb2NhdGlvbi5ocmVmJTNEJTI3JTJGY29udGFjdG8lMjclMjIlM0VSZXF1ZXN0JTIwYSUyMHF1b3RlJTNDJTJGYnV0dG9uJTNF<\/p>\n<p>[\/vc_raw_html][rev_slider_vc alias=&#8221;pago_vision&#8221;]<div class=\"infobox\" ><h3>Used Technologies<\/h3><div class=\"infobox_wrapper\"><\/p>\n<ul>\n<li>Prestashop<\/li>\n<li>Override Module development<\/li>\n<li>Vimeo integration<\/li>\n<li>smarty php, html5, css3, javascript,<\/li>\n<li>Responsive<\/li>\n<li>Php + MySQL<\/li>\n<li>BackEnd<\/li>\n<li>Eclipse<\/li>\n<\/ul>\n<p><\/div><\/div>\n[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column width=&#8221;1\/1&#8243;][vc_single_image image=&#8221;419&#8243; alignment=&#8221;center&#8221; style=&#8221;vc_box_shadow_3d&#8221; border_color=&#8221;grey&#8221; img_link_large=&#8221;&#8221; img_link_target=&#8221;_self&#8221; css_animation=&#8221;top-to-bottom&#8221; img_size=&#8221;large&#8221;][vc_column_text] Viewing payment\u00a0videos on Prestashop Description:\u00a0 Development of functionality regarding the user&#8217;s order history, and adding\u00a0a new product, intended to show videos that the user has purchased on the same platform through vimeo integration over his user&#8217;s\u00a0account. Example: The client\u00a0has set<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":419,"parent":0,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-492","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/pages\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":0,"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/pages\/492\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cesoftware.net\/en\/wp-json\/wp\/v2\/media?parent=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}