{"id":473,"date":"2010-07-09T14:59:40","date_gmt":"2010-07-09T18:59:40","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=473"},"modified":"2014-03-01T22:36:06","modified_gmt":"2014-03-02T06:36:06","slug":"product-specific-details","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/product-specific-details\/","title":{"rendered":"&#8220;ProductLinks&#8221; Widget: Product-Specific Content"},"content":{"rendered":"<p>You already know that you can create a &#8220;My Content&#8221; kind of page within WordPress, that will list all products that a user has access to, and then each product will list the content that they currently have access to (content that has already dripped on them).<\/p>\n<p>But this page is a full-summary of all products, all listed on one page.<\/p>\n<p>Instead, if you wished to create product-specific download pages, where you create a separate page for each product, that lists all the content within just that product alone, then that&#8217;s where DAP&#8217;s &#8220;ProductLinks&#8221; Widget comes in handy.<\/p>\n<p>Here&#8217;s how you set it up.<\/p>\n<ol>\n<li>In WordPress admin, go to &#8220;Appearance &gt; Widgets&#8221; and enable the &#8220;DAP ProductLinks&#8221; widget by dragging it onto a widgetized section of your theme&#8217;s sidebar.<br \/>\n<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_widget_setup.png\"><img loading=\"lazy\" title=\"dap_productlinks_widget_setup\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_widget_setup.png\" alt=\"\" width=\"673\" height=\"330\" \/><\/a><\/li>\n<li>As soon as you do that, the DAP ProductLinks widget will show up in your blog&#8217;s side bar.<br \/>\n<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_sidebar.png\"><img loading=\"lazy\" title=\"dap_productlinks_sidebar\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_sidebar.png\" alt=\"\" width=\"424\" height=\"316\" \/><\/a><\/li>\n<li>By default, each of the product names &#8211; like &#8220;Gold Membership&#8221; in the above example &#8211; will link to whatever URL you put into the &#8220;Post-Login URL&#8221; for that particular product (DAP Dashboard &gt; Products &gt; Manage). So the next step is to create a separate page for each product, and then enter the permalink for this new page, into the Post-Login URL of that Product within DAP.<\/li>\n<li>Create a new page in WordPress &#8211; call it, &#8220;<strong>Gold Membership Content<\/strong>&#8221; (for example). In the body of the page, enter the following DAP merge tag:<strong>%%PRODUCT_DETAILS_&lt;id&gt;%%<br \/>\n<\/strong><\/p>\n<p title=\"dap_productlinks_mergetag\">Replace the entire text <strong>&lt;id&gt;<\/strong> with the actual Product id from DAP (Products &gt; Manage)<\/p>\n<p>So, if the product&#8217;s id is 6 in DAP, then the merge code becomes:<\/p>\n<p><strong>%%PRODUCT_DETAILS_6%%<\/strong><\/p>\n<p>Save the page. And if you gave the page the title &#8220;Gold Membership Content&#8221;, then the permalink for this page will be:<br \/>\n<strong>http:\/\/YourSite.com\/gold-membership-content\/<\/strong><\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_mergetag.png\"><img loading=\"lazy\" title=\"dap_productlinks_mergetag\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_mergetag.png\" alt=\"\" width=\"390\" height=\"359\" \/><\/a><\/li>\n<li>Take the above permalink and enter it into the product &#8220;Gold Membership&#8221; in the &#8220;Post-Login URL&#8221; field. That&#8217;s it!<br \/>\n<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_productsettings.png\"><img loading=\"lazy\" title=\"dap_productlinks_productsettings\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/08\/dap_productlinks_productsettings.png\" alt=\"\" width=\"604\" height=\"345\" \/><\/a><\/li>\n<li>Do the above for all products and you&#8217;re done.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>End Result<\/h3>\n<ul>\n<li>For each product that your member buys, the &#8220;Your Products&#8221; widget will show in the side-bar.<\/li>\n<li>It will list all of the products that the member has purchased.<\/li>\n<li>Each of the product names will link to it&#8217;s own specific content page<\/li>\n<li>When member goes to that page, the DAP merge tag you entered for that product will expand into product details and product-specific content links just for that product.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You already know that you can create a &#8220;My Content&#8221; kind of page within WordPress, that will list all products that a user has access to, and then each product will list the content that they currently have access to (content that has already dripped on them). But this page is a full-summary of all [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,16,27,58,39,6,26,73,53],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/473"}],"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=473"}],"version-history":[{"count":11,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":1862,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/473\/revisions\/1862"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}