{"id":271,"date":"2010-02-15T02:54:10","date_gmt":"2010-02-15T06:54:10","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=271"},"modified":"2014-03-01T22:36:23","modified_gmt":"2014-03-02T06:36:23","slug":"one-time-offers-oto","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/one-time-offers-oto\/","title":{"rendered":"One-Time Offers (OTO)"},"content":{"rendered":"<p>OTO&#8217;s are now part of DAP. And they&#8217;re <strong>available for free<\/strong> to all DAP users.<\/p>\n<p><strong>This OTO script can also be used for making Upsells and Downsells too! <\/strong><\/p>\n<p>Only thing you have to remember is, that these <strong>won&#8217;t be<\/strong> 1-Click Upsells or 1-Click Downsells.\u00a0 If you want <a href=\"http:\/\/DigitalAccessPass.com\/upselltree.php\" target=\"_blank\">true 1-Click Upsells, then do check out our plugin, Upsell-Tree<\/a>, which allows you to do exactly that.<\/p>\n<h2>The Basics<\/h2>\n<ol>\n<li>There is a file in your <strong>dap<\/strong> folder, called <strong>continue.php . <\/strong>This<strong> <\/strong>is the OTO script.<strong><br \/>\n<\/strong><\/li>\n<li>Create and upload as many upsell and downsell pages &#8211; named, say, upsell1.html, downsell1.html, upsell2.html, downsell2.html &#8211; etc and store them in your root folder &#8211; the folder where your home page is (not in the <strong>dap<\/strong> folder).<\/li>\n<\/ol>\n<h2>Setting up continue.php<\/h2>\n<p>When you set up your buy button, after the sale, configure the &#8220;return url&#8221; to be:<\/p>\n<blockquote>\n<h3>http:\/\/YourSite.com\/dap\/continue.php?url=\/upsell1.html<\/h3>\n<\/blockquote>\n<p>Of course, you should have already created a page called <strong>upsell1.html<\/strong> and uploaded it to the root of your web site (where your home page is).<\/p>\n<p>So after your buyer has purchased your product, and arrive at this first upsell page, the URL they see in their browser will actually look like&#8230;<\/p>\n<blockquote>\n<h3>http:\/\/YourSite.com\/dap\/continue.php<\/h3>\n<\/blockquote>\n<p>They will not see the text &#8220;<strong>\/upsell1.html<\/strong>&#8221; in the url, because continue.php would have already stripped out the file name from the end of the link.<\/p>\n<p>So even if they bookmark it or share it with others, the URL they see will just be http:\/\/YourSite.com\/dap\/continue.php &#8211; which means they can&#8217;t get back to that page, and neither will the people they have shared the link with.<\/p>\n<p>On each upsell page, you can make any offer you want. Let&#8217;s say you put the buy button on this upsell page to buy a different product. Now when you create the buy button for this new upsell product, make sure the &#8220;return url&#8221; for that button, is now&#8230;<\/p>\n<blockquote>\n<h3>http:\/\/YourSite.com\/dap\/continue.php?url=\/upsell2.html<\/h3>\n<\/blockquote>\n<p>And you can also put a &#8220;No Thanks&#8221; button on each of these upsell pages, which could in turn take them either to a downsell page, or to an order completion page (where you thank them for your purchase).<\/p>\n<h2>Button Code For &#8220;No Thanks&#8221;<\/h2>\n<p>If your &#8220;No Thanks&#8221; button is going to lead to a downsell page, then here&#8217;s the code:<\/p>\n<blockquote><p>&lt;form action=<strong>&#8220;http:\/\/YourSite.com\/dap\/continue.php?url=\/downsell1.html<\/strong>&#8221; method=&#8221;post&#8221; &gt;<br \/>\n&lt;input type=&#8221;submit&#8221; value=&#8221;No, Thanks. I&#8217;ll skip this special offer&#8221; \/&gt;<br \/>\n&lt;\/form&gt;<\/p><\/blockquote>\n<p>If your &#8220;No Thanks&#8221; button is going to lead to a final thank you page, where there are no more upsells or downsells, and where you simply thank your buyer for the purchase, then the code for that is:<\/p>\n<blockquote><p>&lt;form action=<strong>&#8220;http:\/\/YourSite.com\/dap\/continue.php?url=\/thankyou.html<\/strong>&#8221; method=&#8221;post&#8221; &gt;<br \/>\n&lt;input type=&#8221;submit&#8221; value=&#8221;No, Thanks. I&#8217;ll skip this special offer&#8221; \/&gt;<br \/>\n&lt;\/form&gt;<\/p><\/blockquote>\n<p>Yes, you do need to be <em>just a little bit<\/em> technical for this. So, if you absolutely did not understand <em>anything <\/em>written above, then you should <em>probably<\/em> not be attempting to be doing OTO&#8217;s.<\/p>\n<p>But if you simply have questions about how to use this for what you&#8217;re thinking to do, please feel free to ask them in the comments below.<\/p>\n<p>&#8211; Ravi Jayagopal<\/p>\n<div id=\"_mcePaste\" style=\"overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;\"><a href=\"http:\/\/digitalaccesspass.com\/download\/OTO.zip\">One-Time Offers &#8211; OTO.zip<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>OTO&#8217;s are now part of DAP. And they&#8217;re available for free to all DAP users. This OTO script can also be used for making Upsells and Downsells too! Only thing you have to remember is, that these won&#8217;t be 1-Click Upsells or 1-Click Downsells.\u00a0 If you want true 1-Click Upsells, then do check out our [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[56,57],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/271"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":7,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":4334,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/271\/revisions\/4334"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}